diff options
Diffstat (limited to 'src/IconButton.hh')
-rw-r--r-- | src/IconButton.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/IconButton.hh b/src/IconButton.hh index 54dae1d..b724084 100644 --- a/src/IconButton.hh +++ b/src/IconButton.hh | |||
@@ -30,10 +30,11 @@ | |||
30 | #include "FbTk/TextButton.hh" | 30 | #include "FbTk/TextButton.hh" |
31 | 31 | ||
32 | class Focusable; | 32 | class Focusable; |
33 | class IconbarTheme; | ||
33 | 34 | ||
34 | class IconButton: public FbTk::TextButton, public FbTk::Observer { | 35 | class IconButton: public FbTk::TextButton, public FbTk::Observer { |
35 | public: | 36 | public: |
36 | IconButton(const FbTk::FbWindow &parent, FbTk::Font &font, | 37 | IconButton(const FbTk::FbWindow &parent, IconbarTheme &theme, |
37 | Focusable &window); | 38 | Focusable &window); |
38 | virtual ~IconButton(); | 39 | virtual ~IconButton(); |
39 | 40 | ||
@@ -64,6 +65,8 @@ private: | |||
64 | FbTk::FbPixmap m_icon_pixmap; | 65 | FbTk::FbPixmap m_icon_pixmap; |
65 | FbTk::FbPixmap m_icon_mask; | 66 | FbTk::FbPixmap m_icon_mask; |
66 | bool m_use_pixmap; | 67 | bool m_use_pixmap; |
68 | |||
69 | IconbarTheme &m_theme; | ||
67 | }; | 70 | }; |
68 | 71 | ||
69 | #endif // ICONBUTTON_HH | 72 | #endif // ICONBUTTON_HH |