diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-04 09:06:38 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-04 09:06:38 (GMT) |
commit | 60ba709c2f47cc2c7b877aef1b0f297b097853e5 (patch) | |
tree | c722b0dacce3c7c0b1df7bf6ccb2b322bc819f6b /src/FbTk/MenuTheme.hh | |
parent | b20b243b48683d209f8134b46c6dcea4df94b6cc (diff) | |
download | fluxbox-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.hh | 8 |
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 | ||
34 | namespace FbTk { | 34 | namespace FbTk { |
35 | 35 | ||
36 | class MenuTheme:public Theme { | 36 | class MenuTheme: public Theme, public ThemeProxy<MenuTheme> { |
37 | public: | 37 | public: |
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 | |||
143 | private: | 149 | private: |
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; |