diff options
author | Thomas Thurman <tthurman@gnome.org> | 2009-10-23 14:02:06 -0400 |
---|---|---|
committer | Thomas Thurman <tthurman@gnome.org> | 2009-10-23 14:02:06 -0400 |
commit | a13fc22e3e1e7d3854c8f7a05b5301466000c5b5 (patch) | |
tree | ffdf1815f16de86f68a514ca99fd4e5c23cdcc7e | |
parent | 93ec92d6f532c45f9aa2f1a6a69616179d29d00d (diff) | |
download | metacity-a13fc22e3e1e7d3854c8f7a05b5301466000c5b5.tar.gz |
human names array
-rw-r--r-- | src/ui/theme.c | 36 |
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; |