]> Dogcows Code - chaz/openbox/blobdiff - render/theme.h
api cleanups for render/theme.h
[chaz/openbox] / render / theme.h
index e52b16c4faa5beca8c9b4c32dd18f2ec6d367131..5b7b932ad88fc266439a9f206f5f6683727c80f5 100644 (file)
@@ -21,6 +21,7 @@ struct _RrTheme {
     gint cbwidth;
     gint label_height;
     gint title_height;
+    gint menu_title_height;
     gint button_size;
     gint grip_width;
     gint menu_overlap;
@@ -47,13 +48,16 @@ struct _RrTheme {
     RrColor *menu_selected_color;
 
     /* style settings - fonts */
-    gint winfont_height;
-    RrFont *winfont_focused;
-    RrFont *winfont_unfocused;
-    gint mtitlefont_height;
-    RrFont *mtitlefont;
-    gint mfont_height;
-    RrFont *mfont;
+    gint win_font_height;
+    RrFont *win_font_focused;
+    RrFont *win_font_unfocused;
+    gint menu_title_font_height;
+    RrFont *menu_title_font;
+    gint menu_font_height;
+    RrFont *menu_font;
+
+    /* style settings - pics */
+    RrPixel32 *def_win_icon; /* 48x48 RGBA */
 
     /* style settings - masks */
     RrPixmapMask *max_mask;
@@ -155,12 +159,14 @@ struct _RrTheme {
 
     RrAppearance *app_hilite_bg;
     RrAppearance *app_unhilite_bg;
-    RrAppearance *app_hilite_label;
-    RrAppearance *app_unhilite_label;
+    RrAppearance *app_hilite_fg; /* never parent relative */
+    RrAppearance *app_unhilite_fg; /* never parent relative */
+    RrAppearance *app_hilite_label; /* can be parent relative */
+    RrAppearance *app_unhilite_label; /* can be parent relative */
 
 };
 
-RrTheme *RrThemeNew(const RrInstance *inst, gchar *theme);
+RrThemeRrThemeNew(const RrInstance *inst, gchar *theme);
 void RrThemeFree(RrTheme *theme);
 
 #endif
This page took 0.02356 seconds and 4 git commands to generate.