]> Pileus Git - ~andy/gtk/blob - gtk/gtkthemingengineprivate.h
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkthemingengineprivate.h
1 /* GTK - The GIMP Toolkit
2  * Copyright (C) 2010 Carlos Garnacho <carlosg@gnome.org>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16  */
17
18 #ifndef __GTK_THEMING_ENGINE_PRIVATE_H__
19 #define __GTK_THEMING_ENGINE_PRIVATE_H__
20
21 #include <gdk/gdk.h>
22 #include "gtk/gtkthemingengine.h"
23 #include "gtk/gtkcssvalueprivate.h"
24
25 void _gtk_theming_engine_paint_spinner (cairo_t       *cr,
26                                         gdouble        radius,
27                                         gdouble        progress,
28                                         const GdkRGBA *color);
29
30 GtkCssValue  *_gtk_theming_engine_peek_property (GtkThemingEngine *engine,
31                                                  guint             property_id);
32 void          _gtk_theming_engine_set_context   (GtkThemingEngine *engine,
33                                                  GtkStyleContext  *context);
34 GtkStyleContext *_gtk_theming_engine_get_context   (GtkThemingEngine *engine);
35
36 #endif /* __GTK_THEMING_ENGINE_PRIVATE_H__ */