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 <gtk/css/gtkcss.h> |
25 | #include "gtk/css/gtkcsstokenizerprivate.h" |
26 | #include "gtk/css/gtkcssparserprivate.h" |
27 | #include "gtkcsstypesprivate.h" |
28 | #include "gtkcssvalueprivate.h" |
29 | |
30 | G_BEGIN_DECLS |
31 | |
32 | GtkCssValue * _gtk_css_blend_mode_value_new (GskBlendMode blend_mode); |
33 | GtkCssValue * _gtk_css_blend_mode_value_try_parse (GtkCssParser *parser); |
34 | GskBlendMode _gtk_css_blend_mode_value_get (const GtkCssValue *value); |
35 | |
36 | GtkCssValue * _gtk_css_border_style_value_new (GtkBorderStyle border_style); |
37 | GtkCssValue * _gtk_css_border_style_value_try_parse (GtkCssParser *parser); |
38 | GtkBorderStyle _gtk_css_border_style_value_get (const GtkCssValue *value); |
39 | |
40 | GtkCssValue * _gtk_css_font_size_value_new (GtkCssFontSize size); |
41 | GtkCssValue * _gtk_css_font_size_value_try_parse (GtkCssParser *parser); |
42 | GtkCssFontSize _gtk_css_font_size_value_get (const GtkCssValue *value); |
43 | double gtk_css_font_size_get_default_px (GtkStyleProvider *provider, |
44 | GtkCssStyle *style); |
45 | |
46 | GtkCssValue * _gtk_css_font_style_value_new (PangoStyle style); |
47 | GtkCssValue * _gtk_css_font_style_value_try_parse (GtkCssParser *parser); |
48 | PangoStyle _gtk_css_font_style_value_get (const GtkCssValue *value); |
49 | |
50 | GtkCssValue * gtk_css_font_weight_value_try_parse (GtkCssParser *parser); |
51 | PangoWeight gtk_css_font_weight_value_get (const GtkCssValue *value); |
52 | |
53 | GtkCssValue * _gtk_css_font_stretch_value_new (PangoStretch stretch); |
54 | GtkCssValue * _gtk_css_font_stretch_value_try_parse (GtkCssParser *parser); |
55 | PangoStretch _gtk_css_font_stretch_value_get (const GtkCssValue *value); |
56 | |
57 | GtkCssValue * _gtk_css_text_decoration_line_value_new (GtkTextDecorationLine line); |
58 | GtkTextDecorationLine _gtk_css_text_decoration_line_try_parse_one (GtkCssParser *parser, |
59 | GtkTextDecorationLine base); |
60 | GtkTextDecorationLine _gtk_css_text_decoration_line_value_get (const GtkCssValue *value); |
61 | |
62 | GtkCssValue * _gtk_css_text_decoration_style_value_new (GtkTextDecorationStyle style); |
63 | GtkCssValue * _gtk_css_text_decoration_style_value_try_parse (GtkCssParser *parser); |
64 | GtkTextDecorationStyle _gtk_css_text_decoration_style_value_get (const GtkCssValue *value); |
65 | |
66 | GtkCssValue * _gtk_css_area_value_new (GtkCssArea area); |
67 | GtkCssValue * _gtk_css_area_value_try_parse (GtkCssParser *parser); |
68 | GtkCssArea _gtk_css_area_value_get (const GtkCssValue *value); |
69 | |
70 | GtkCssValue * _gtk_css_direction_value_new (GtkCssDirection direction); |
71 | GtkCssValue * _gtk_css_direction_value_try_parse (GtkCssParser *parser); |
72 | GtkCssDirection _gtk_css_direction_value_get (const GtkCssValue *value); |
73 | |
74 | GtkCssValue * _gtk_css_play_state_value_new (GtkCssPlayState play_state); |
75 | GtkCssValue * _gtk_css_play_state_value_try_parse (GtkCssParser *parser); |
76 | GtkCssPlayState _gtk_css_play_state_value_get (const GtkCssValue *value); |
77 | |
78 | GtkCssValue * _gtk_css_fill_mode_value_new (GtkCssFillMode fill_mode); |
79 | GtkCssValue * _gtk_css_fill_mode_value_try_parse (GtkCssParser *parser); |
80 | GtkCssFillMode _gtk_css_fill_mode_value_get (const GtkCssValue *value); |
81 | |
82 | GtkCssValue * _gtk_css_icon_style_value_new (GtkCssIconStyle icon_style); |
83 | GtkCssValue * _gtk_css_icon_style_value_try_parse (GtkCssParser *parser); |
84 | GtkCssIconStyle _gtk_css_icon_style_value_get (const GtkCssValue *value); |
85 | |
86 | GtkCssValue * _gtk_css_font_kerning_value_new (GtkCssFontKerning kerning); |
87 | GtkCssValue * _gtk_css_font_kerning_value_try_parse (GtkCssParser *parser); |
88 | GtkCssFontKerning _gtk_css_font_kerning_value_get (const GtkCssValue *value); |
89 | |
90 | GtkCssValue * _gtk_css_font_variant_position_value_new (GtkCssFontVariantPosition position); |
91 | GtkCssValue * _gtk_css_font_variant_position_value_try_parse (GtkCssParser *parser); |
92 | GtkCssFontVariantPosition _gtk_css_font_variant_position_value_get (const GtkCssValue *value); |
93 | |
94 | GtkCssValue * _gtk_css_font_variant_caps_value_new (GtkCssFontVariantCaps caps); |
95 | GtkCssValue * _gtk_css_font_variant_caps_value_try_parse (GtkCssParser *parser); |
96 | GtkCssFontVariantCaps _gtk_css_font_variant_caps_value_get (const GtkCssValue *value); |
97 | |
98 | GtkCssValue * _gtk_css_font_variant_alternate_value_new (GtkCssFontVariantAlternate alternates); |
99 | GtkCssValue * _gtk_css_font_variant_alternate_value_try_parse (GtkCssParser *parser); |
100 | GtkCssFontVariantAlternate _gtk_css_font_variant_alternate_value_get (const GtkCssValue *value); |
101 | |
102 | GtkCssValue * _gtk_css_font_variant_ligature_value_new (GtkCssFontVariantLigature ligatures); |
103 | GtkCssFontVariantLigature _gtk_css_font_variant_ligature_try_parse_one (GtkCssParser *parser, |
104 | GtkCssFontVariantLigature base); |
105 | GtkCssFontVariantLigature _gtk_css_font_variant_ligature_value_get (const GtkCssValue *value); |
106 | |
107 | GtkCssValue * _gtk_css_font_variant_numeric_value_new (GtkCssFontVariantNumeric numeric); |
108 | GtkCssFontVariantNumeric _gtk_css_font_variant_numeric_try_parse_one (GtkCssParser *parser, |
109 | GtkCssFontVariantNumeric base); |
110 | GtkCssFontVariantNumeric _gtk_css_font_variant_numeric_value_get (const GtkCssValue *value); |
111 | |
112 | |
113 | GtkCssValue * _gtk_css_font_variant_east_asian_value_new (GtkCssFontVariantEastAsian east_asian); |
114 | GtkCssFontVariantEastAsian _gtk_css_font_variant_east_asian_try_parse_one (GtkCssParser *parser, |
115 | GtkCssFontVariantEastAsian base); |
116 | GtkCssFontVariantEastAsian _gtk_css_font_variant_east_asian_value_get (const GtkCssValue *value); |
117 | |
118 | GtkCssValue * _gtk_css_text_transform_value_new (GtkTextTransform transform); |
119 | GtkCssValue * _gtk_css_text_transform_value_try_parse (GtkCssParser *parser); |
120 | GtkTextTransform _gtk_css_text_transform_value_get (const GtkCssValue *value); |
121 | G_END_DECLS |
122 | |
123 | #endif /* __GTK_CSS_ENUM_VALUE_PRIVATE_H__ */ |
124 |