X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkstylecontextprivate.h;h=0db71e99355849b35d710d32eb9e1f05dc92ba92;hb=32aa7f0582febb614c41e4130ad34ac44ef6efd2;hp=69d619330a20341f30a7f5af620cf175aeff5e03;hpb=457665300674a1df80b3c8f5cfa690c3a37a828e;p=~andy%2Fgtk diff --git a/gtk/gtkstylecontextprivate.h b/gtk/gtkstylecontextprivate.h index 69d619330..0db71e993 100644 --- a/gtk/gtkstylecontextprivate.h +++ b/gtk/gtkstylecontextprivate.h @@ -12,45 +12,47 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ #ifndef __GTK_STYLE_CONTEXT_PRIVATE_H__ #define __GTK_STYLE_CONTEXT_PRIVATE_H__ #include "gtkstylecontext.h" -#include "gtksymboliccolor.h" +#include "gtkstyleproviderprivate.h" +#include "gtkbitmaskprivate.h" +#include "gtkcssvalueprivate.h" G_BEGIN_DECLS -typedef struct _GtkStylePropertyContext GtkStylePropertyContext; -struct _GtkStylePropertyContext -{ - int width; - int height; -}; - -void _gtk_style_context_get_valist (GtkStyleContext *context, - GtkStateFlags state, - GtkStylePropertyContext *property_context, - va_list args); +void _gtk_style_context_set_widget (GtkStyleContext *context, + GtkWidget *widget); +const GtkBitmask * + _gtk_style_context_get_changes (GtkStyleContext *context); + +GtkCssValue * _gtk_style_context_peek_property (GtkStyleContext *context, + guint property_id); const GValue * _gtk_style_context_peek_style_property (GtkStyleContext *context, GType widget_type, GtkStateFlags state, GParamSpec *pspec); -void _gtk_style_context_invalidate_animation_areas (GtkStyleContext *context); -void _gtk_style_context_coalesce_animation_areas (GtkStyleContext *context, - GtkWidget *widget); +void _gtk_style_context_validate (GtkStyleContext *context, + gint64 timestamp, + GtkCssChange change, + const GtkBitmask*parent_changes); +void _gtk_style_context_queue_invalidate (GtkStyleContext *context, + GtkCssChange change); gboolean _gtk_style_context_check_region_name (const gchar *str); -gboolean _gtk_style_context_resolve_color (GtkStyleContext *context, - GtkSymbolicColor *color, - GdkRGBA *result); -void _gtk_style_context_get_cursor_color (GtkStyleContext *context, - GdkRGBA *primary_color, - GdkRGBA *secondary_color); +gboolean _gtk_style_context_resolve_color (GtkStyleContext *context, + GtkCssValue *color, + GdkRGBA *result, + GtkCssDependencies *dependencies); +void _gtk_style_context_get_cursor_color (GtkStyleContext *context, + GdkRGBA *primary_color, + GdkRGBA *secondary_color); + +void _gtk_style_context_update_animating (GtkStyleContext *context); G_END_DECLS