diff options
author | rathnor <rathnor> | 2003-12-09 08:48:08 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-12-09 08:48:08 (GMT) |
commit | 15b41a3c35992c61abba76a21cf3731b066a898e (patch) | |
tree | 4426c9830c7627b07dbe2599acb6d7fbdaa5b424 /src/FbWinFrameTheme.hh | |
parent | d84054ec5d1678f055bb90f2bf21d5709b385fdd (diff) | |
download | fluxbox_pavel-15b41a3c35992c61abba76a21cf3731b066a898e.zip fluxbox_pavel-15b41a3c35992c61abba76a21cf3731b066a898e.tar.bz2 |
add window.label.active theme items
Diffstat (limited to 'src/FbWinFrameTheme.hh')
-rw-r--r-- | src/FbWinFrameTheme.hh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/FbWinFrameTheme.hh b/src/FbWinFrameTheme.hh index 712f4be..bc567f8 100644 --- a/src/FbWinFrameTheme.hh +++ b/src/FbWinFrameTheme.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbWinFrameTheme.hh,v 1.12 2003/09/29 12:53:58 rathnor Exp $ | 22 | // $Id: FbWinFrameTheme.hh,v 1.13 2003/12/09 08:48:08 rathnor Exp $ |
23 | 23 | ||
24 | #ifndef FBWINFRAMETHEME_HH | 24 | #ifndef FBWINFRAMETHEME_HH |
25 | #define FBWINFRAMETHEME_HH | 25 | #define FBWINFRAMETHEME_HH |
@@ -45,6 +45,7 @@ public: | |||
45 | //@{ | 45 | //@{ |
46 | const FbTk::Texture &labelFocusTexture() const { return *m_label_focus; } | 46 | const FbTk::Texture &labelFocusTexture() const { return *m_label_focus; } |
47 | const FbTk::Texture &labelUnfocusTexture() const { return *m_label_unfocus; } | 47 | const FbTk::Texture &labelUnfocusTexture() const { return *m_label_unfocus; } |
48 | const FbTk::Texture &labelActiveTexture() const { return *m_label_active; } | ||
48 | 49 | ||
49 | const FbTk::Texture &titleFocusTexture() const { return *m_title_focus; } | 50 | const FbTk::Texture &titleFocusTexture() const { return *m_title_focus; } |
50 | const FbTk::Texture &titleUnfocusTexture() const { return *m_title_unfocus; } | 51 | const FbTk::Texture &titleUnfocusTexture() const { return *m_title_unfocus; } |
@@ -66,6 +67,8 @@ public: | |||
66 | //@{ | 67 | //@{ |
67 | const FbTk::Color &labelFocusColor() const { return *m_label_focus_color; } | 68 | const FbTk::Color &labelFocusColor() const { return *m_label_focus_color; } |
68 | const FbTk::Color &labelUnfocusColor() const { return *m_label_unfocus_color; } | 69 | const FbTk::Color &labelUnfocusColor() const { return *m_label_unfocus_color; } |
70 | const FbTk::Color &labelActiveColor() const { return *m_label_active_color; } | ||
71 | |||
69 | const FbTk::Color &frameFocuscolor() const { return *m_frame_focus_color; } | 72 | const FbTk::Color &frameFocuscolor() const { return *m_frame_focus_color; } |
70 | const FbTk::Color &frameUnfocuscolor() const { return *m_frame_unfocus_color; } | 73 | const FbTk::Color &frameUnfocuscolor() const { return *m_frame_unfocus_color; } |
71 | const FbTk::Color &buttonFocuscolor() const { return *m_button_focus_color; } | 74 | const FbTk::Color &buttonFocuscolor() const { return *m_button_focus_color; } |
@@ -78,6 +81,7 @@ public: | |||
78 | 81 | ||
79 | GC labelTextFocusGC() const { return m_label_text_focus_gc.gc(); } | 82 | GC labelTextFocusGC() const { return m_label_text_focus_gc.gc(); } |
80 | GC labelTextUnfocusGC() const { return m_label_text_unfocus_gc.gc(); } | 83 | GC labelTextUnfocusGC() const { return m_label_text_unfocus_gc.gc(); } |
84 | GC labelTextActiveGC() const { return m_label_text_active_gc.gc(); } | ||
81 | GC buttonPicFocusGC() const { return m_button_pic_focus_gc.gc(); } | 85 | GC buttonPicFocusGC() const { return m_button_pic_focus_gc.gc(); } |
82 | GC buttonPicUnfocusGC() const { return m_button_pic_unfocus_gc.gc(); } | 86 | GC buttonPicUnfocusGC() const { return m_button_pic_unfocus_gc.gc(); } |
83 | 87 | ||
@@ -102,13 +106,13 @@ public: | |||
102 | unsigned int handleWidth() const { return *m_handle_width; } | 106 | unsigned int handleWidth() const { return *m_handle_width; } |
103 | 107 | ||
104 | private: | 108 | private: |
105 | FbTk::ThemeItem<FbTk::Texture> m_label_focus, m_label_unfocus; | 109 | FbTk::ThemeItem<FbTk::Texture> m_label_focus, m_label_unfocus, m_label_active; |
106 | FbTk::ThemeItem<FbTk::Texture> m_title_focus, m_title_unfocus; | 110 | FbTk::ThemeItem<FbTk::Texture> m_title_focus, m_title_unfocus; |
107 | FbTk::ThemeItem<FbTk::Texture> m_handle_focus, m_handle_unfocus; | 111 | FbTk::ThemeItem<FbTk::Texture> m_handle_focus, m_handle_unfocus; |
108 | FbTk::ThemeItem<FbTk::Texture> m_button_focus, m_button_unfocus, m_button_pressed; | 112 | FbTk::ThemeItem<FbTk::Texture> m_button_focus, m_button_unfocus, m_button_pressed; |
109 | FbTk::ThemeItem<FbTk::Texture> m_grip_focus, m_grip_unfocus; | 113 | FbTk::ThemeItem<FbTk::Texture> m_grip_focus, m_grip_unfocus; |
110 | 114 | ||
111 | FbTk::ThemeItem<FbTk::Color> m_label_focus_color, m_label_unfocus_color; | 115 | FbTk::ThemeItem<FbTk::Color> m_label_focus_color, m_label_unfocus_color, m_label_active_color; |
112 | FbTk::ThemeItem<FbTk::Color> m_frame_focus_color, m_frame_unfocus_color; | 116 | FbTk::ThemeItem<FbTk::Color> m_frame_focus_color, m_frame_unfocus_color; |
113 | FbTk::ThemeItem<FbTk::Color> m_button_focus_color, m_button_unfocus_color; | 117 | FbTk::ThemeItem<FbTk::Color> m_button_focus_color, m_button_unfocus_color; |
114 | 118 | ||
@@ -119,7 +123,7 @@ private: | |||
119 | FbTk::ThemeItem<int> m_alpha, m_title_height, m_bevel_width, m_handle_width; | 123 | FbTk::ThemeItem<int> m_alpha, m_title_height, m_bevel_width, m_handle_width; |
120 | BorderTheme m_border; | 124 | BorderTheme m_border; |
121 | 125 | ||
122 | FbTk::GContext m_label_text_focus_gc, m_label_text_unfocus_gc; | 126 | FbTk::GContext m_label_text_focus_gc, m_label_text_unfocus_gc, m_label_text_active_gc; |
123 | FbTk::GContext m_button_pic_focus_gc, m_button_pic_unfocus_gc; | 127 | FbTk::GContext m_button_pic_focus_gc, m_button_pic_unfocus_gc; |
124 | 128 | ||
125 | FbTk::Subject m_theme_change; | 129 | FbTk::Subject m_theme_change; |