]> Pileus Git - ~andy/gtk/blob - gtk/gtkcssshadowvalueprivate.h
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkcssshadowvalueprivate.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_SHADOW_H__
21 #define __GTK_SHADOW_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_shadow_value_new_for_transition (GtkCssValue           *target);
34
35 GtkCssValue *   _gtk_css_shadow_value_parse           (GtkCssParser             *parser);
36
37 void            _gtk_css_shadow_value_paint_layout    (const GtkCssValue        *shadow,
38                                                        cairo_t                  *cr,
39                                                        PangoLayout              *layout);
40
41 void            _gtk_css_shadow_value_paint_icon      (const GtkCssValue        *shadow,
42                                                        cairo_t                  *cr);
43
44 void            _gtk_css_shadow_value_paint_spinner   (const GtkCssValue        *shadow,
45                                                        cairo_t                  *cr,
46                                                        gdouble                   radius,
47                                                        gdouble                   progress);
48 void            _gtk_css_shadow_value_paint_box       (const GtkCssValue        *shadow,
49                                                        cairo_t                  *cr,
50                                                        const GtkRoundedBox      *padding_box);
51
52 G_END_DECLS
53
54 #endif /* __GTK_SHADOW_H__ */