aboutsummaryrefslogtreecommitdiff
path: root/src/WinButton.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-02-02 19:10:58 (GMT)
committermarkt <markt>2007-02-02 19:10:58 (GMT)
commit2f4d0f6cdea116e203daddffae4ab2be802b024f (patch)
tree3241b9fba150d8410ea3401aa6e31abc2887bf03 /src/WinButton.hh
parent2b25b05b27a0d4735ace950d667510bb4cf309b7 (diff)
downloadfluxbox_pavel-2f4d0f6cdea116e203daddffae4ab2be802b024f.zip
fluxbox_pavel-2f4d0f6cdea116e203daddffae4ab2be802b024f.tar.bz2
revert svn 4684, transparency in window buttons
Diffstat (limited to 'src/WinButton.hh')
-rw-r--r--src/WinButton.hh10
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);
56private: 57private:
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};