diff options
Diffstat (limited to 'src/WinButton.hh')
-rw-r--r-- | src/WinButton.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/WinButton.hh b/src/WinButton.hh index 91fb4e1..d1e57f3 100644 --- a/src/WinButton.hh +++ b/src/WinButton.hh | |||
@@ -44,17 +44,17 @@ public: | |||
44 | /// override for drawing | 44 | /// override for drawing |
45 | void exposeEvent(XExposeEvent &event); | 45 | void exposeEvent(XExposeEvent &event); |
46 | void buttonReleaseEvent(XButtonEvent &event); | 46 | void buttonReleaseEvent(XButtonEvent &event); |
47 | void buttonPressEvent(XButtonEvent &event); | ||
48 | void setBackgroundPixmap(Pixmap pm); | 47 | void setBackgroundPixmap(Pixmap pm); |
49 | void setPressedPixmap(Pixmap pm); | 48 | void setPressedPixmap(Pixmap pm); |
50 | void setBackgroundColor(const FbTk::Color &color); | 49 | void setBackgroundColor(const FbTk::Color &color); |
51 | void setPressedColor(const FbTk::Color &color); | 50 | void setPressedColor(const FbTk::Color &color); |
52 | 51 | ||
52 | Pixmap getBackgroundPixmap() const; | ||
53 | Pixmap getPressedPixmap() const; | ||
53 | /// override for redrawing | 54 | /// override for redrawing |
54 | void clear(); | 55 | void clear(); |
55 | void update(FbTk::Subject *subj); | 56 | void update(FbTk::Subject *subj); |
56 | private: | 57 | private: |
57 | void drawIcon(FbTk::FbPixmap icon, FbTk::FbPixmap mask); | ||
58 | void drawType(); | 58 | void drawType(); |
59 | Type m_type; ///< the button type | 59 | Type m_type; ///< the button type |
60 | const FluxboxWindow &m_listen_to; | 60 | const FluxboxWindow &m_listen_to; |
@@ -62,6 +62,6 @@ private: | |||
62 | 62 | ||
63 | FbTk::FbPixmap m_icon_pixmap; | 63 | FbTk::FbPixmap m_icon_pixmap; |
64 | FbTk::FbPixmap m_icon_mask; | 64 | FbTk::FbPixmap m_icon_mask; |
65 | 65 | ||
66 | bool m_override_bg; | 66 | bool overrode_bg, overrode_pressed; |
67 | }; | 67 | }; |