aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MenuTheme.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-04 09:06:38 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-04 09:06:38 (GMT)
commit60ba709c2f47cc2c7b877aef1b0f297b097853e5 (patch)
treec722b0dacce3c7c0b1df7bf6ccb2b322bc819f6b /src/FbTk/MenuTheme.hh
parentb20b243b48683d209f8134b46c6dcea4df94b6cc (diff)
downloadfluxbox-60ba709c2f47cc2c7b877aef1b0f297b097853e5.zip
fluxbox-60ba709c2f47cc2c7b877aef1b0f297b097853e5.tar.bz2
add a level of indirection to themes
Diffstat (limited to 'src/FbTk/MenuTheme.hh')
-rw-r--r--src/FbTk/MenuTheme.hh8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/FbTk/MenuTheme.hh b/src/FbTk/MenuTheme.hh
index d496f1e..017e4f3 100644
--- a/src/FbTk/MenuTheme.hh
+++ b/src/FbTk/MenuTheme.hh
@@ -33,7 +33,7 @@
33 33
34namespace FbTk { 34namespace FbTk {
35 35
36class MenuTheme:public Theme { 36class MenuTheme: public Theme, public ThemeProxy<MenuTheme> {
37public: 37public:
38 //!! TODO 38 //!! TODO
39 // this isn't actually used with a theme item 39 // this isn't actually used with a theme item
@@ -140,6 +140,12 @@ public:
140 m_hl_selected_pixmap->pixmap().dontFree(); 140 m_hl_selected_pixmap->pixmap().dontFree();
141 } 141 }
142 142
143 virtual Subject &reconfigSig() { return Theme::reconfigSig(); }
144 virtual const Subject &reconfigSig() const { return Theme::reconfigSig(); }
145
146 virtual MenuTheme *operator ->() { return this; }
147 virtual const MenuTheme *operator ->() const { return this; }
148
143private: 149private:
144 ThemeItem<Color> t_text, f_text, h_text, d_text, u_text; 150 ThemeItem<Color> t_text, f_text, h_text, d_text, u_text;
145 ThemeItem<Texture> title, frame, hilite; 151 ThemeItem<Texture> title, frame, hilite;