]> Pileus Git - ~andy/gtk/commitdiff
stylecontext: add a define for an OSD style class
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 19 Apr 2012 19:01:04 +0000 (15:01 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 19 Apr 2012 19:10:52 +0000 (15:10 -0400)
docs/reference/gtk/gtk3-sections.txt
gtk/gtkstylecontext.h

index beb2090ff69eff371a282392d5a29449a8d01066..b6a47ac9a567f46061a09b5c123625e736b569ba 100644 (file)
@@ -5678,6 +5678,7 @@ GTK_STYLE_CLASS_LEFT
 GTK_STYLE_CLASS_RIGHT
 GTK_STYLE_CLASS_LINKED
 GTK_STYLE_CLASS_ARROW
+GTK_STYLE_CLASS_OSD
 GTK_STYLE_REGION_COLUMN
 GTK_STYLE_REGION_COLUMN_HEADER
 GTK_STYLE_REGION_ROW
index ff1e7f57cf22442d65f5ed96fc28ed0c176e4b3e..1a1f73ee19f0a15e71ba75c481b0939a384b4eb4 100644 (file)
@@ -673,6 +673,14 @@ struct _GtkStyleContextClass
  */
 #define GTK_STYLE_CLASS_ARROW "arrow"
 
+/**
+ * GTK_STYLE_CLASS_OSD:
+ *
+ * A CSS class used when rendering an OSD (On Screen Display) element,
+ * on top of another container.
+ */
+#define GTK_STYLE_CLASS_OSD "osd"
+
 /* Predefined set of widget regions */
 
 /**