diff options
author | Victor Kareh <[email protected]> | 2018-04-02 22:02:39 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-04-05 09:09:50 +0200 |
commit | dade92d4f1edb6f47933e77229801971cb458ef1 (patch) | |
tree | db2545721a093328979a305a2c92e428ad65e230 /eel/eel-graphic-effects.h | |
parent | 556663ac4b8eb03b86fa70eeb6b959e1d27281e2 (diff) | |
download | caja-dade92d4f1edb6f47933e77229801971cb458ef1.tar.bz2 caja-dade92d4f1edb6f47933e77229801971cb458ef1.tar.xz |
HiDPI: Convert Pixbufs to Cairo Surfaces
This allows icons in most places to scale up properly for HiDPI
displays.
Diffstat (limited to 'eel/eel-graphic-effects.h')
-rw-r--r-- | eel/eel-graphic-effects.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eel/eel-graphic-effects.h b/eel/eel-graphic-effects.h index 3a9027fe..d71fffcb 100644 --- a/eel/eel-graphic-effects.h +++ b/eel/eel-graphic-effects.h @@ -32,6 +32,9 @@ /* return a lightened pixbuf for pre-lighting */ GdkPixbuf *eel_create_spotlight_pixbuf (GdkPixbuf *source_pixbuf); +/* return a lightened surface for pre-lighting */ +cairo_surface_t *eel_create_spotlight_surface (cairo_surface_t *source_surface, + int scale); /* return a darkened pixbuf for selection hiliting */ GdkPixbuf *eel_create_darkened_pixbuf (GdkPixbuf *source_pixbuf, |