summaryrefslogtreecommitdiff
path: root/gtk/gtkcssenumvalueprivate.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2014-08-28 12:50:49 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2014-08-28 13:41:40 +0100
commit5ad60caa3c35f86c11545b53052acdb6b9f7a76f (patch)
tree5f325bfcd9fbb3a73c456fd6d119dd33b0a21c39 /gtk/gtkcssenumvalueprivate.h
parentf05e9d26120824fac8f952fd6fb34aecfe7b96e4 (diff)
downloadgtk+-5ad60caa3c35f86c11545b53052acdb6b9f7a76f.tar.gz
css: Implement font-stretch
The font-stretch CSS property is defined in the Level 3 CSS Fonts module, available at: http://dev.w3.org/csswg/css-fonts/#propdef-font-stretch It allows defining a normal, condensed, or expanded face to the font description. Pango already supports it, so this is literally just the CSS parser machinery needed to bridge our CSS to the FontDescription API. https://bugzilla.gnome.org/show_bug.cgi?id=735593
Diffstat (limited to 'gtk/gtkcssenumvalueprivate.h')
-rw-r--r--gtk/gtkcssenumvalueprivate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkcssenumvalueprivate.h b/gtk/gtkcssenumvalueprivate.h
index d0a5d3fd20..ad09adbb97 100644
--- a/gtk/gtkcssenumvalueprivate.h
+++ b/gtk/gtkcssenumvalueprivate.h
@@ -48,6 +48,10 @@ GtkCssValue * _gtk_css_font_weight_value_new (PangoWeight weight
GtkCssValue * _gtk_css_font_weight_value_try_parse (GtkCssParser *parser);
PangoWeight _gtk_css_font_weight_value_get (const GtkCssValue *value);
+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);
+
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);