]> Pileus Git - ~andy/gtk/blob - gtk/gtkcssshadowsvalueprivate.h
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkcssshadowsvalueprivate.h
1 /* GTK - The GIMP Toolkit
2  * Copyright (C) 2011 Red Hat, Inc.
3  *
4  * Author: Cosimo Cecchi <cosimoc@gnome.org>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
18  */
19
20 #ifndef __GTK_CSS_SHADOWS_VALUE_H__
21 #define __GTK_CSS_SHADOWS_VALUE_H__
22
23 #include <cairo.h>
24 #include <pango/pango.h>
25
26 #include "gtktypes.h"
27 #include "gtkcssparserprivate.h"
28 #include "gtkcssvalueprivate.h"
29 #include "gtkroundedboxprivate.h"
30
31 G_BEGIN_DECLS
32
33 GtkCssValue *   _gtk_css_shadows_value_new_none       (void);
34 GtkCssValue *   _gtk_css_shadows_value_parse          (GtkCssParser             *parser);
35
36 void            _gtk_css_shadows_value_paint_layout   (const GtkCssValue        *shadows,
37                                                        cairo_t                  *cr,
38                                                        PangoLayout              *layout);
39
40 void            _gtk_css_shadows_value_paint_icon     (const GtkCssValue        *shadows,
41                                                        cairo_t                  *cr);
42
43 void            _gtk_css_shadows_value_paint_spinner  (const GtkCssValue        *shadows,
44                                                        cairo_t                  *cr,
45                                                        gdouble                   radius,
46                                                        gdouble                   progress);
47 void            _gtk_css_shadows_value_paint_box      (const GtkCssValue        *shadows,
48                                                        cairo_t                  *cr,
49                                                        const GtkRoundedBox      *padding_box);
50
51 G_END_DECLS
52
53 #endif /* __GTK_CSS_SHADOWS_VALUE_H__ */