]> Pileus Git - ~andy/gtk/blob - gtk/gtkcssenumvalueprivate.h
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkcssenumvalueprivate.h
1 /*
2  * Copyright © 2012 Red Hat Inc.
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.1 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  * Authors: Alexander Larsson <alexl@gnome.org>
18  */
19
20 #ifndef __GTK_CSS_ENUM_VALUE_PRIVATE_H__
21 #define __GTK_CSS_ENUM_VALUE_PRIVATE_H__
22
23 #include "gtkenums.h"
24 #include "gtkcssparserprivate.h"
25 #include "gtkcsstypesprivate.h"
26 #include "gtkcssvalueprivate.h"
27
28 G_BEGIN_DECLS
29
30 GtkCssValue *   _gtk_css_border_style_value_new       (GtkBorderStyle     border_style);
31 GtkCssValue *   _gtk_css_border_style_value_try_parse (GtkCssParser      *parser);
32 GtkBorderStyle  _gtk_css_border_style_value_get       (const GtkCssValue *value);
33
34 GtkCssValue *   _gtk_css_font_size_value_new          (GtkCssFontSize     size);
35 GtkCssValue *   _gtk_css_font_size_value_try_parse    (GtkCssParser      *parser);
36 GtkCssFontSize  _gtk_css_font_size_value_get          (const GtkCssValue *value);
37 double          _gtk_css_font_size_get_default        (GtkStyleProviderPrivate *provider);
38
39 GtkCssValue *   _gtk_css_font_style_value_new         (PangoStyle         style);
40 GtkCssValue *   _gtk_css_font_style_value_try_parse   (GtkCssParser      *parser);
41 PangoStyle      _gtk_css_font_style_value_get         (const GtkCssValue *value);
42
43 GtkCssValue *   _gtk_css_font_variant_value_new       (PangoVariant       variant);
44 GtkCssValue *   _gtk_css_font_variant_value_try_parse (GtkCssParser      *parser);
45 PangoVariant    _gtk_css_font_variant_value_get       (const GtkCssValue *value);
46
47 GtkCssValue *   _gtk_css_font_weight_value_new        (PangoWeight        weight);
48 GtkCssValue *   _gtk_css_font_weight_value_try_parse  (GtkCssParser      *parser);
49 PangoWeight     _gtk_css_font_weight_value_get        (const GtkCssValue *value);
50
51 GtkCssValue *   _gtk_css_area_value_new               (GtkCssArea         area);
52 GtkCssValue *   _gtk_css_area_value_try_parse         (GtkCssParser      *parser);
53 GtkCssArea      _gtk_css_area_value_get               (const GtkCssValue *value);
54
55 GtkCssValue *   _gtk_css_direction_value_new          (GtkCssDirection    direction);
56 GtkCssValue *   _gtk_css_direction_value_try_parse    (GtkCssParser      *parser);
57 GtkCssDirection _gtk_css_direction_value_get          (const GtkCssValue *value);
58
59 GtkCssValue *   _gtk_css_play_state_value_new         (GtkCssPlayState    play_state);
60 GtkCssValue *   _gtk_css_play_state_value_try_parse   (GtkCssParser      *parser);
61 GtkCssPlayState _gtk_css_play_state_value_get         (const GtkCssValue *value);
62
63 GtkCssValue *   _gtk_css_fill_mode_value_new          (GtkCssFillMode     fill_mode);
64 GtkCssValue *   _gtk_css_fill_mode_value_try_parse    (GtkCssParser      *parser);
65 GtkCssFillMode  _gtk_css_fill_mode_value_get          (const GtkCssValue *value);
66
67 G_END_DECLS
68
69 #endif /* __GTK_CSS_ENUM_VALUE_PRIVATE_H__ */