]> Dogcows Code - chaz/openbox/blobdiff - render/theme.h
moving shadow information out of the themes, and into the Text textures.
[chaz/openbox] / render / theme.h
index 41f83e2c895f15d323a58926926110291690d70f..22bf7e10b162727610405e1bb7d879dbbbd148a2 100644 (file)
@@ -1,6 +1,7 @@
 /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
 
    theme.h for the Openbox window manager
+   Copyright (c) 2006        Mikael Magnusson
    Copyright (c) 2003        Ben Jansens
 
    This program is free software; you can redistribute it and/or modify
@@ -131,7 +132,6 @@ struct _RrTheme {
     RrAppearance *a_hover_focused_desk;
     RrAppearance *a_hover_unfocused_desk;
     RrAppearance *a_toggled_focused_desk;
-    RrAppearance *a_toggled_focused_pressed_desk;
     RrAppearance *a_toggled_unfocused_desk;
     RrAppearance *a_focused_unpressed_desk;
     RrAppearance *a_focused_pressed_desk;
@@ -142,7 +142,6 @@ struct _RrTheme {
     RrAppearance *a_hover_focused_shade;
     RrAppearance *a_hover_unfocused_shade;
     RrAppearance *a_toggled_focused_shade;
-    RrAppearance *a_toggled_focused_pressed_shade;
     RrAppearance *a_toggled_unfocused_shade;
     RrAppearance *a_focused_unpressed_shade;
     RrAppearance *a_focused_pressed_shade;
@@ -188,7 +187,11 @@ struct _RrTheme {
 
 };
 
-RrTheme* RrThemeNew(const RrInstance *inst, gchar *theme);
+/*! The font values are all optional. If a NULL is used for any of them, then
+  the default font will be used. */
+RrTheme* RrThemeNew(const RrInstance *inst, gchar *theme,
+                    RrFont *active_window_font, RrFont *inactive_window_font,
+                    RrFont *menu_title_font, RrFont *menu_item_font);
 void RrThemeFree(RrTheme *theme);
 
 G_END_DECLS
This page took 0.021036 seconds and 4 git commands to generate.