From dade92d4f1edb6f47933e77229801971cb458ef1 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Mon, 2 Apr 2018 22:02:39 -0400 Subject: HiDPI: Convert Pixbufs to Cairo Surfaces This allows icons in most places to scale up properly for HiDPI displays. --- eel/eel-graphic-effects.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'eel/eel-graphic-effects.h') 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, -- cgit v1.2.1