2 * Copyright © 2012 Red Hat Inc.
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.
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.
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/>.
17 * Authors: Alexander Larsson <alexl@gnome.org>
20 #ifndef __GTK_CSS_ENUM_VALUE_PRIVATE_H__
21 #define __GTK_CSS_ENUM_VALUE_PRIVATE_H__
24 #include "gtkcssparserprivate.h"
25 #include "gtkcsstypesprivate.h"
26 #include "gtkcssvalueprivate.h"
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);
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);
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);
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);
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);
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);
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);
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);
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);
69 #endif /* __GTK_CSS_ENUM_VALUE_PRIVATE_H__ */