diff options
Diffstat (limited to 'libcaja-private/caja-icon-private.h')
-rw-r--r-- | libcaja-private/caja-icon-private.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libcaja-private/caja-icon-private.h b/libcaja-private/caja-icon-private.h index cf7ef592..0c36188f 100644 --- a/libcaja-private/caja-icon-private.h +++ b/libcaja-private/caja-icon-private.h @@ -211,6 +211,17 @@ struct CajaIconContainerDetails int font_size_table[CAJA_ZOOM_LEVEL_LARGEST + 1]; /* pixbuf and color for label highlighting */ +#if GTK_CHECK_VERSION(3,0,0) + GdkRGBA highlight_color_rgba; + GdkRGBA active_color_rgba; + GdkRGBA normal_color_rgba; + GdkRGBA prelight_color_rgba; + GdkRGBA prelight_icon_color_rgba; + GdkRGBA normal_icon_color_rgba; + + /* colors for text labels */ + GdkRGBA label_colors [LAST_LABEL_COLOR]; +#else guint32 highlight_color_rgba; guint32 active_color_rgba; guint32 normal_color_rgba; @@ -220,6 +231,7 @@ struct CajaIconContainerDetails /* colors for text labels */ GdkColor label_colors [LAST_LABEL_COLOR]; +#endif /* State used so arrow keys don't wander if icons aren't lined up. */ @@ -327,7 +339,11 @@ void caja_icon_container_update_scroll_region (CajaIconContainer /* label color for items */ void caja_icon_container_get_label_color (CajaIconContainer *container, +#if GTK_CHECK_VERSION(3,0,0) + GdkRGBA *color, +#else GdkColor **color, +#endif gboolean first_line, gboolean needs_highlight, gboolean is_prelit); |