summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2009-10-23 14:02:06 -0400
committerThomas Thurman <tthurman@gnome.org>2009-10-23 14:02:06 -0400
commita13fc22e3e1e7d3854c8f7a05b5301466000c5b5 (patch)
treeffdf1815f16de86f68a514ca99fd4e5c23cdcc7e
parent93ec92d6f532c45f9aa2f1a6a69616179d29d00d (diff)
downloadmetacity-a13fc22e3e1e7d3854c8f7a05b5301466000c5b5.tar.gz
human names array
-rw-r--r--src/ui/theme.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 18365faf..8c27a918 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -58,6 +58,11 @@ typedef enum _CopperClasses {
CC_LAST
} CopperClasses;
+/**
+ * The element names of each CopperClass.
+ *
+ * \bug For heaven's sake change the identifier
+ */
char *names[] =
{
"frame",
@@ -71,6 +76,10 @@ char *names[] =
"last"
};
+/**
+ * The parent class of each CopperClass, or
+ * CC_LAST if it has none.
+ */
CopperClasses parents[] =
{
CC_LAST,
@@ -83,6 +92,10 @@ CopperClasses parents[] =
CC_LAST
};
+/**
+ * The class (in the CSS sense) of each
+ * CopperClass, or NULL if it has none.
+ */
char *cowbell_classnames[] =
{
NULL,
@@ -96,6 +109,29 @@ char *cowbell_classnames[] =
NULL
};
+/**
+ * Names of each CopperClass, for debugging.
+ */
+char *cowbell_human_names[] =
+ {
+ "Frame",
+ "Content area",
+ "Titlebar",
+ "Title",
+ "Menu button",
+ "Min",
+ "Max",
+ "Close",
+ "Shade",
+ "Above",
+ "Stick",
+ "Unshade",
+ "Unabove",
+ "Unstick",
+ "Filler",
+ NULL
+ };
+
typedef struct
{
ccss_node_t basic;