]> Dogcows Code - chaz/openbox/blobdiff - render/theme.h
correctly show pressed state when pressing toggled buttons, bug #2311
[chaz/openbox] / render / theme.h
index 5b7b932ad88fc266439a9f206f5f6683727c80f5..41f83e2c895f15d323a58926926110291690d70f 100644 (file)
@@ -1,8 +1,28 @@
+/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
+
+   theme.h for the Openbox window manager
+   Copyright (c) 2003        Ben Jansens
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   See the COPYING file for a copy of the GNU General Public License.
+*/
+
 #ifndef __theme_h
 #define __theme_h
 
 #include "render.h"
 
+G_BEGIN_DECLS
+
 typedef struct _RrTheme RrTheme;
 
 struct _RrTheme {
@@ -111,6 +131,7 @@ 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;
@@ -121,6 +142,7 @@ 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;
@@ -169,4 +191,6 @@ struct _RrTheme {
 RrTheme* RrThemeNew(const RrInstance *inst, gchar *theme);
 void RrThemeFree(RrTheme *theme);
 
+G_END_DECLS
+
 #endif
This page took 0.021732 seconds and 4 git commands to generate.