2012-03-28 06:19:53 +00:00
|
|
|
/*
|
|
|
|
* Copyright © 2012 Red Hat Inc.
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
* Authors: Alexander Larsson <alexl@gnome.org>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GTK_CSS_ENUM_VALUE_PRIVATE_H__
|
|
|
|
#define __GTK_CSS_ENUM_VALUE_PRIVATE_H__
|
|
|
|
|
|
|
|
#include "gtkenums.h"
|
2020-10-03 02:28:17 +00:00
|
|
|
#include <gtk/css/gtkcss.h>
|
|
|
|
#include "gtk/css/gtkcsstokenizerprivate.h"
|
|
|
|
#include "gtk/css/gtkcssparserprivate.h"
|
2012-03-30 00:19:39 +00:00
|
|
|
#include "gtkcsstypesprivate.h"
|
2012-03-28 06:19:53 +00:00
|
|
|
#include "gtkcssvalueprivate.h"
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2016-12-15 03:20:35 +00:00
|
|
|
GtkCssValue * _gtk_css_blend_mode_value_new (GskBlendMode blend_mode);
|
2016-07-01 12:54:23 +00:00
|
|
|
GtkCssValue * _gtk_css_blend_mode_value_try_parse (GtkCssParser *parser);
|
2016-12-15 03:20:35 +00:00
|
|
|
GskBlendMode _gtk_css_blend_mode_value_get (const GtkCssValue *value);
|
2016-07-01 12:54:23 +00:00
|
|
|
|
2012-03-28 06:19:53 +00:00
|
|
|
GtkCssValue * _gtk_css_border_style_value_new (GtkBorderStyle border_style);
|
|
|
|
GtkCssValue * _gtk_css_border_style_value_try_parse (GtkCssParser *parser);
|
|
|
|
GtkBorderStyle _gtk_css_border_style_value_get (const GtkCssValue *value);
|
|
|
|
|
2012-12-01 13:00:24 +00:00
|
|
|
GtkCssValue * _gtk_css_font_size_value_new (GtkCssFontSize size);
|
|
|
|
GtkCssValue * _gtk_css_font_size_value_try_parse (GtkCssParser *parser);
|
|
|
|
GtkCssFontSize _gtk_css_font_size_value_get (const GtkCssValue *value);
|
2017-10-31 03:31:46 +00:00
|
|
|
double gtk_css_font_size_get_default_px (GtkStyleProvider *provider,
|
|
|
|
GtkCssStyle *style);
|
2012-12-01 13:00:24 +00:00
|
|
|
|
2012-03-28 07:04:54 +00:00
|
|
|
GtkCssValue * _gtk_css_font_style_value_new (PangoStyle style);
|
|
|
|
GtkCssValue * _gtk_css_font_style_value_try_parse (GtkCssParser *parser);
|
|
|
|
PangoStyle _gtk_css_font_style_value_get (const GtkCssValue *value);
|
|
|
|
|
2019-03-31 18:05:12 +00:00
|
|
|
GtkCssValue * gtk_css_font_weight_value_try_parse (GtkCssParser *parser);
|
|
|
|
PangoWeight gtk_css_font_weight_value_get (const GtkCssValue *value);
|
2012-03-28 07:04:54 +00:00
|
|
|
|
2014-08-28 11:50:49 +00:00
|
|
|
GtkCssValue * _gtk_css_font_stretch_value_new (PangoStretch stretch);
|
|
|
|
GtkCssValue * _gtk_css_font_stretch_value_try_parse (GtkCssParser *parser);
|
|
|
|
PangoStretch _gtk_css_font_stretch_value_get (const GtkCssValue *value);
|
|
|
|
|
2021-01-26 22:40:34 +00:00
|
|
|
GtkCssValue * _gtk_css_text_decoration_line_value_new (GtkTextDecorationLine line);
|
|
|
|
GtkTextDecorationLine _gtk_css_text_decoration_line_try_parse_one (GtkCssParser *parser,
|
|
|
|
GtkTextDecorationLine base);
|
|
|
|
GtkTextDecorationLine _gtk_css_text_decoration_line_value_get (const GtkCssValue *value);
|
2015-07-05 16:59:27 +00:00
|
|
|
|
2021-01-26 22:40:34 +00:00
|
|
|
GtkCssValue * _gtk_css_text_decoration_style_value_new (GtkTextDecorationStyle style);
|
2015-07-06 18:03:54 +00:00
|
|
|
GtkCssValue * _gtk_css_text_decoration_style_value_try_parse (GtkCssParser *parser);
|
|
|
|
GtkTextDecorationStyle _gtk_css_text_decoration_style_value_get (const GtkCssValue *value);
|
|
|
|
|
2012-03-30 00:19:39 +00:00
|
|
|
GtkCssValue * _gtk_css_area_value_new (GtkCssArea area);
|
|
|
|
GtkCssValue * _gtk_css_area_value_try_parse (GtkCssParser *parser);
|
|
|
|
GtkCssArea _gtk_css_area_value_get (const GtkCssValue *value);
|
2012-03-28 06:19:53 +00:00
|
|
|
|
2012-04-19 12:50:05 +00:00
|
|
|
GtkCssValue * _gtk_css_direction_value_new (GtkCssDirection direction);
|
|
|
|
GtkCssValue * _gtk_css_direction_value_try_parse (GtkCssParser *parser);
|
|
|
|
GtkCssDirection _gtk_css_direction_value_get (const GtkCssValue *value);
|
|
|
|
|
|
|
|
GtkCssValue * _gtk_css_play_state_value_new (GtkCssPlayState play_state);
|
|
|
|
GtkCssValue * _gtk_css_play_state_value_try_parse (GtkCssParser *parser);
|
|
|
|
GtkCssPlayState _gtk_css_play_state_value_get (const GtkCssValue *value);
|
|
|
|
|
|
|
|
GtkCssValue * _gtk_css_fill_mode_value_new (GtkCssFillMode fill_mode);
|
|
|
|
GtkCssValue * _gtk_css_fill_mode_value_try_parse (GtkCssParser *parser);
|
|
|
|
GtkCssFillMode _gtk_css_fill_mode_value_get (const GtkCssValue *value);
|
|
|
|
|
2014-05-06 14:06:33 +00:00
|
|
|
GtkCssValue * _gtk_css_icon_style_value_new (GtkCssIconStyle icon_style);
|
|
|
|
GtkCssValue * _gtk_css_icon_style_value_try_parse (GtkCssParser *parser);
|
|
|
|
GtkCssIconStyle _gtk_css_icon_style_value_get (const GtkCssValue *value);
|
|
|
|
|
2017-09-18 22:38:16 +00:00
|
|
|
GtkCssValue * _gtk_css_font_kerning_value_new (GtkCssFontKerning kerning);
|
|
|
|
GtkCssValue * _gtk_css_font_kerning_value_try_parse (GtkCssParser *parser);
|
|
|
|
GtkCssFontKerning _gtk_css_font_kerning_value_get (const GtkCssValue *value);
|
|
|
|
|
|
|
|
GtkCssValue * _gtk_css_font_variant_position_value_new (GtkCssFontVariantPosition position);
|
|
|
|
GtkCssValue * _gtk_css_font_variant_position_value_try_parse (GtkCssParser *parser);
|
|
|
|
GtkCssFontVariantPosition _gtk_css_font_variant_position_value_get (const GtkCssValue *value);
|
|
|
|
|
|
|
|
GtkCssValue * _gtk_css_font_variant_caps_value_new (GtkCssFontVariantCaps caps);
|
|
|
|
GtkCssValue * _gtk_css_font_variant_caps_value_try_parse (GtkCssParser *parser);
|
|
|
|
GtkCssFontVariantCaps _gtk_css_font_variant_caps_value_get (const GtkCssValue *value);
|
|
|
|
|
|
|
|
GtkCssValue * _gtk_css_font_variant_alternate_value_new (GtkCssFontVariantAlternate alternates);
|
|
|
|
GtkCssValue * _gtk_css_font_variant_alternate_value_try_parse (GtkCssParser *parser);
|
|
|
|
GtkCssFontVariantAlternate _gtk_css_font_variant_alternate_value_get (const GtkCssValue *value);
|
|
|
|
|
|
|
|
GtkCssValue * _gtk_css_font_variant_ligature_value_new (GtkCssFontVariantLigature ligatures);
|
|
|
|
GtkCssFontVariantLigature _gtk_css_font_variant_ligature_try_parse_one (GtkCssParser *parser,
|
|
|
|
GtkCssFontVariantLigature base);
|
|
|
|
GtkCssFontVariantLigature _gtk_css_font_variant_ligature_value_get (const GtkCssValue *value);
|
|
|
|
|
|
|
|
GtkCssValue * _gtk_css_font_variant_numeric_value_new (GtkCssFontVariantNumeric numeric);
|
|
|
|
GtkCssFontVariantNumeric _gtk_css_font_variant_numeric_try_parse_one (GtkCssParser *parser,
|
|
|
|
GtkCssFontVariantNumeric base);
|
|
|
|
GtkCssFontVariantNumeric _gtk_css_font_variant_numeric_value_get (const GtkCssValue *value);
|
|
|
|
|
|
|
|
|
|
|
|
GtkCssValue * _gtk_css_font_variant_east_asian_value_new (GtkCssFontVariantEastAsian east_asian);
|
|
|
|
GtkCssFontVariantEastAsian _gtk_css_font_variant_east_asian_try_parse_one (GtkCssParser *parser,
|
|
|
|
GtkCssFontVariantEastAsian base);
|
|
|
|
GtkCssFontVariantEastAsian _gtk_css_font_variant_east_asian_value_get (const GtkCssValue *value);
|
|
|
|
|
2012-03-28 06:19:53 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GTK_CSS_ENUM_VALUE_PRIVATE_H__ */
|