summaryrefslogtreecommitdiff
path: root/gtk/gtkcsstypesprivate.h
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2015-07-06 20:03:54 +0200
committerPaolo Borelli <pborelli@gnome.org>2015-07-06 20:06:20 +0200
commit1eb1481bdf998383bf3fc58886aff50e2e164d54 (patch)
treeadfc07490e4316f8aa89463d7e8817870fe96add /gtk/gtkcsstypesprivate.h
parent09273d91f3a8b2e8bcbbaf5f8f81e91ff7ca1ea6 (diff)
downloadgtk+-1eb1481bdf998383bf3fc58886aff50e2e164d54.tar.gz
css: support text-decoration-style
The support is limited to underline single, double and wavy, which is what pango has today.
Diffstat (limited to 'gtk/gtkcsstypesprivate.h')
-rw-r--r--gtk/gtkcsstypesprivate.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkcsstypesprivate.h b/gtk/gtkcsstypesprivate.h
index 5466269084..b3754297ce 100644
--- a/gtk/gtkcsstypesprivate.h
+++ b/gtk/gtkcsstypesprivate.h
@@ -148,6 +148,7 @@ enum { /*< skip >*/
GTK_CSS_PROPERTY_LETTER_SPACING,
GTK_CSS_PROPERTY_TEXT_DECORATION_LINE,
GTK_CSS_PROPERTY_TEXT_DECORATION_COLOR,
+ GTK_CSS_PROPERTY_TEXT_DECORATION_STYLE,
GTK_CSS_PROPERTY_TEXT_SHADOW,
GTK_CSS_PROPERTY_BOX_SHADOW,
GTK_CSS_PROPERTY_MARGIN_TOP,
@@ -273,6 +274,12 @@ typedef enum /*< skip >*/ {
GTK_CSS_TEXT_DECORATION_LINE_LINE_THROUGH
} GtkTextDecorationLine;
+typedef enum /*< skip >*/ {
+ GTK_CSS_TEXT_DECORATION_STYLE_SOLID,
+ GTK_CSS_TEXT_DECORATION_STYLE_DOUBLE,
+ GTK_CSS_TEXT_DECORATION_STYLE_WAVY
+} GtkTextDecorationStyle;
+
/* for the order in arrays */
typedef enum /*< skip >*/ {
GTK_CSS_TOP,