[gtk+] stylecontext: add a define for an OSD style class
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] stylecontext: add a define for an OSD style class
- Date: Thu, 19 Apr 2012 20:43:51 +0000 (UTC)
commit a94f4a43878a0eb15f14b396a628ee4fe3581e28
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Apr 19 15:01:04 2012 -0400
stylecontext: add a define for an OSD style class
docs/reference/gtk/gtk3-sections.txt | 1 +
gtk/gtkstylecontext.h | 8 ++++++++
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index beb2090..b6a47ac 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -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
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index ff1e7f5..1a1f73e 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -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 */
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]