diff options
Diffstat (limited to 'src/WinButton.hh')
-rw-r--r-- | src/WinButton.hh | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/WinButton.hh b/src/WinButton.hh index 3912a1a..f64342e 100644 --- a/src/WinButton.hh +++ b/src/WinButton.hh | |||
@@ -38,7 +38,17 @@ template <class T> class ThemeProxy; | |||
38 | class WinButton:public FbTk::Button, public FbTk::SignalTracker { | 38 | class WinButton:public FbTk::Button, public FbTk::SignalTracker { |
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 { |
42 | MAXIMIZE, | ||
43 | MINIMIZE, | ||
44 | SHADE, | ||
45 | STICK, | ||
46 | CLOSE, | ||
47 | MENUICON, | ||
48 | LEFT_HALF, | ||
49 | RIGHT_HALF | ||
50 | }; | ||
51 | |||
42 | WinButton(FluxboxWindow &listen_to, | 52 | WinButton(FluxboxWindow &listen_to, |
43 | FbTk::ThemeProxy<WinButtonTheme> &theme, | 53 | FbTk::ThemeProxy<WinButtonTheme> &theme, |
44 | FbTk::ThemeProxy<WinButtonTheme> &pressed, | 54 | FbTk::ThemeProxy<WinButtonTheme> &pressed, |
@@ -66,7 +76,7 @@ private: | |||
66 | 76 | ||
67 | FbTk::FbPixmap m_icon_pixmap; | 77 | FbTk::FbPixmap m_icon_pixmap; |
68 | FbTk::FbPixmap m_icon_mask; | 78 | FbTk::FbPixmap m_icon_mask; |
69 | 79 | ||
70 | bool overrode_bg, overrode_pressed; | 80 | bool overrode_bg, overrode_pressed; |
71 | }; | 81 | }; |
72 | 82 | ||