diff options
author | Victor Kareh <[email protected]> | 2021-06-23 07:24:20 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2023-03-07 14:24:09 -0500 |
commit | c99c8523877fd72cf53035d63c5fe0f75be7657c (patch) | |
tree | 0cd268860765e13e837765048e2c0e145b0ec965 /src/ui/theme.h | |
parent | 32f1967142a078ecdb4222c05d62c75710fb74fa (diff) | |
download | marco-alt-tab-icons-hidpi.tar.bz2 marco-alt-tab-icons-hidpi.tar.xz |
window: Convert all icons to cairo surfacesalt-tab-icons-hidpi
Diffstat (limited to 'src/ui/theme.h')
-rw-r--r-- | src/ui/theme.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ui/theme.h b/src/ui/theme.h index b32690f1..4bf098a9 100644 --- a/src/ui/theme.h +++ b/src/ui/theme.h @@ -296,8 +296,8 @@ struct _MetaAlphaGradientSpec struct _MetaDrawInfo { - GdkPixbuf *mini_icon; - GdkPixbuf *icon; + cairo_surface_t *mini_icon; + cairo_surface_t *icon; PangoLayout *title_layout; int title_layout_width; int title_layout_height; @@ -979,8 +979,8 @@ void meta_frame_style_draw (MetaFrameStyle *style, PangoLayout *title_layout, int text_height, MetaButtonState button_states[META_BUTTON_TYPE_LAST], - GdkPixbuf *mini_icon, - GdkPixbuf *icon); + cairo_surface_t *mini_icon, + cairo_surface_t *icon); void meta_frame_style_draw_with_style (MetaFrameStyle *style, GtkStyleContext *style_gtk, @@ -991,8 +991,8 @@ void meta_frame_style_draw_with_style (MetaFrameStyle *style, PangoLayout *title_layout, int text_height, MetaButtonState button_states[META_BUTTON_TYPE_LAST], - GdkPixbuf *mini_icon, - GdkPixbuf *icon); + cairo_surface_t *mini_icon, + cairo_surface_t *icon); gboolean meta_frame_style_validate (MetaFrameStyle *style, guint current_theme_version, @@ -1037,8 +1037,8 @@ void meta_theme_draw_frame (MetaTheme *theme, int text_height, const MetaButtonLayout *button_layout, MetaButtonState button_states[META_BUTTON_TYPE_LAST], - GdkPixbuf *mini_icon, - GdkPixbuf *icon); + cairo_surface_t *mini_icon, + cairo_surface_t *icon); void meta_theme_draw_frame_by_name (MetaTheme *theme, GtkWidget *widget, @@ -1051,8 +1051,8 @@ void meta_theme_draw_frame_by_name (MetaTheme *theme, int text_height, const MetaButtonLayout *button_layout, MetaButtonState button_states[META_BUTTON_TYPE_LAST], - GdkPixbuf *mini_icon, - GdkPixbuf *icon); + cairo_surface_t *mini_icon, + cairo_surface_t *icon); void meta_theme_get_frame_borders (MetaTheme *theme, MetaFrameType type, |