summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontextprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-08-27 17:27:06 +0200
committerBenjamin Otte <otte@redhat.com>2012-08-28 15:42:24 +0200
commit11d0f9e408eaa403fd56715188d0f1b78bbaa1a4 (patch)
treee9315d7e601841f3cb15576719d6302148bf35bb /gtk/gtkstylecontextprivate.h
parent27fd3fdf818541948ec9077143cebf32b71f801f (diff)
downloadgtk+-11d0f9e408eaa403fd56715188d0f1b78bbaa1a4.tar.gz
css: Make color lookup handle dependencies
Diffstat (limited to 'gtk/gtkstylecontextprivate.h')
-rw-r--r--gtk/gtkstylecontextprivate.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/gtk/gtkstylecontextprivate.h b/gtk/gtkstylecontextprivate.h
index 9642793923..1c950b9147 100644
--- a/gtk/gtkstylecontextprivate.h
+++ b/gtk/gtkstylecontextprivate.h
@@ -44,17 +44,20 @@ void _gtk_style_context_queue_invalidate (GtkStyleContext *c
GtkCssChange change);
gboolean _gtk_style_context_check_region_name (const gchar *str);
-gboolean _gtk_style_context_resolve_color (GtkStyleContext *context,
- GtkSymbolicColor *color,
- GdkRGBA *result);
-GtkCssValue * _gtk_style_context_resolve_color_value (GtkStyleContext *context,
- GtkCssValue *current,
- GtkCssValue *color);
-void _gtk_style_context_get_cursor_color (GtkStyleContext *context,
- GdkRGBA *primary_color,
- GdkRGBA *secondary_color);
-
-void _gtk_style_context_stop_animations (GtkStyleContext *context);
+gboolean _gtk_style_context_resolve_color (GtkStyleContext *context,
+ GtkSymbolicColor *color,
+ GdkRGBA *result,
+ GtkCssDependencies *dependencies);
+GtkCssValue * _gtk_style_context_resolve_color_value (GtkStyleContext *context,
+ GtkCssValue *current,
+ GtkCssDependencies current_deps,
+ GtkCssValue *color,
+ GtkCssDependencies *dependencies);
+void _gtk_style_context_get_cursor_color (GtkStyleContext *context,
+ GdkRGBA *primary_color,
+ GdkRGBA *secondary_color);
+
+void _gtk_style_context_stop_animations (GtkStyleContext *context);
G_END_DECLS