diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-30 19:24:14 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-30 19:24:14 (GMT) |
commit | fd0389d2e1c28e7dcd1507f76ed37eb8366c4af0 (patch) | |
tree | 59db037a8317f498ab93ad8dc122847256d5f43c /src/WinButton.hh | |
parent | 920cb81caf2b3b86ad91f9a7290f7383af7ec0d7 (diff) | |
download | fluxbox_pavel-fd0389d2e1c28e7dcd1507f76ed37eb8366c4af0.zip fluxbox_pavel-fd0389d2e1c28e7dcd1507f76ed37eb8366c4af0.tar.bz2 |
more fun with global variables
Diffstat (limited to 'src/WinButton.hh')
-rw-r--r-- | src/WinButton.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WinButton.hh b/src/WinButton.hh index db2fdf9..7f40f1a 100644 --- a/src/WinButton.hh +++ b/src/WinButton.hh | |||
@@ -39,7 +39,7 @@ class WinButton:public FbTk::Button, public FbTk::Observer { | |||
39 | public: | 39 | public: |
40 | /// draw type for the button | 40 | /// draw type for the button |
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(FluxboxWindow &listen_to, |
43 | FbTk::ThemeProxy<WinButtonTheme> &theme, | 43 | FbTk::ThemeProxy<WinButtonTheme> &theme, |
44 | FbTk::ThemeProxy<WinButtonTheme> &pressed, | 44 | FbTk::ThemeProxy<WinButtonTheme> &pressed, |
45 | Type buttontype, const FbTk::FbWindow &parent, int x, int y, | 45 | Type buttontype, const FbTk::FbWindow &parent, int x, int y, |
@@ -60,7 +60,7 @@ public: | |||
60 | private: | 60 | private: |
61 | void drawType(); | 61 | void drawType(); |
62 | Type m_type; ///< the button type | 62 | Type m_type; ///< the button type |
63 | const FluxboxWindow &m_listen_to; | 63 | FluxboxWindow &m_listen_to; |
64 | FbTk::ThemeProxy<WinButtonTheme> &m_theme, &m_pressed_theme; | 64 | FbTk::ThemeProxy<WinButtonTheme> &m_theme, &m_pressed_theme; |
65 | 65 | ||
66 | FbTk::FbPixmap m_icon_pixmap; | 66 | FbTk::FbPixmap m_icon_pixmap; |