aboutsummaryrefslogtreecommitdiff
path: root/src/WinButton.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-08 08:50:58 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-08 08:50:58 (GMT)
commit1f01d84c080d607a91eb417efcaf5e500b5f1d7e (patch)
tree979c14aa12abfa6d0fe1aa936a9b1e9effd86a32 /src/WinButton.hh
parentec3125aeb95a06f08cd4895c5b7c3a8911c1b368 (diff)
downloadfluxbox_pavel-1f01d84c080d607a91eb417efcaf5e500b5f1d7e.zip
fluxbox_pavel-1f01d84c080d607a91eb417efcaf5e500b5f1d7e.tar.bz2
split WinButtonTheme into multiple themes
Diffstat (limited to 'src/WinButton.hh')
-rw-r--r--src/WinButton.hh3
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;