diff options
Diffstat (limited to 'src/WinButton.hh')
-rw-r--r-- | src/WinButton.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/WinButton.hh b/src/WinButton.hh index c493491..db2fdf9 100644 --- a/src/WinButton.hh +++ b/src/WinButton.hh | |||
@@ -41,6 +41,7 @@ public: | |||
41 | enum Type {MAXIMIZE, MINIMIZE, SHADE, STICK, CLOSE, MENUICON}; | 41 | enum Type {MAXIMIZE, MINIMIZE, SHADE, STICK, CLOSE, MENUICON}; |
42 | WinButton(const FluxboxWindow &listen_to, | 42 | WinButton(const FluxboxWindow &listen_to, |
43 | FbTk::ThemeProxy<WinButtonTheme> &theme, | 43 | FbTk::ThemeProxy<WinButtonTheme> &theme, |
44 | FbTk::ThemeProxy<WinButtonTheme> &pressed, | ||
44 | Type buttontype, const FbTk::FbWindow &parent, int x, int y, | 45 | Type buttontype, const FbTk::FbWindow &parent, int x, int y, |
45 | unsigned int width, unsigned int height); | 46 | unsigned int width, unsigned int height); |
46 | /// override for drawing | 47 | /// override for drawing |
@@ -60,7 +61,7 @@ private: | |||
60 | void drawType(); | 61 | void drawType(); |
61 | Type m_type; ///< the button type | 62 | Type m_type; ///< the button type |
62 | const FluxboxWindow &m_listen_to; | 63 | const FluxboxWindow &m_listen_to; |
63 | FbTk::ThemeProxy<WinButtonTheme> &m_theme; | 64 | FbTk::ThemeProxy<WinButtonTheme> &m_theme, &m_pressed_theme; |
64 | 65 | ||
65 | FbTk::FbPixmap m_icon_pixmap; | 66 | FbTk::FbPixmap m_icon_pixmap; |
66 | FbTk::FbPixmap m_icon_mask; | 67 | FbTk::FbPixmap m_icon_mask; |