aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Button.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2005-04-13 14:39:25 (GMT)
committersimonb <simonb>2005-04-13 14:39:25 (GMT)
commitddcecec37e0ea559c9292423a257b47c423ddb9e (patch)
tree650ca599e242e31193c298b3bceac4b3f43ac949 /src/FbTk/Button.cc
parent88c66f0687d2a9e2018f22407b2587dc4d87d012 (diff)
downloadfluxbox_pavel-ddcecec37e0ea559c9292423a257b47c423ddb9e.zip
fluxbox_pavel-ddcecec37e0ea559c9292423a257b47c423ddb9e.tar.bz2
fix a few small bugs from recent big patch
Diffstat (limited to 'src/FbTk/Button.cc')
-rw-r--r--src/FbTk/Button.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FbTk/Button.cc b/src/FbTk/Button.cc
index 414979b..cc515f8 100644
--- a/src/FbTk/Button.cc
+++ b/src/FbTk/Button.cc
@@ -92,10 +92,10 @@ void Button::buttonPressEvent(XButtonEvent &event) {
92 bool update = false; 92 bool update = false;
93 if (m_pressed_pm != 0) { 93 if (m_pressed_pm != 0) {
94 update = true; 94 update = true;
95 FbWindow::setBackgroundPixmap(m_pressed_pm); 95 FbTk::FbWindow::setBackgroundPixmap(m_pressed_pm);
96 } else if (m_pressed_color.isAllocated()) { 96 } else if (m_pressed_color.isAllocated()) {
97 update = true; 97 update = true;
98 FbWindow::setBackgroundColor(m_pressed_color); 98 FbTk::FbWindow::setBackgroundColor(m_pressed_color);
99 } 99 }
100 100
101 m_pressed = true; 101 m_pressed = true;
@@ -110,11 +110,11 @@ void Button::buttonReleaseEvent(XButtonEvent &event) {
110 if (m_background_pm) { 110 if (m_background_pm) {
111 if (m_pressed_pm != 0) { 111 if (m_pressed_pm != 0) {
112 update = true; 112 update = true;
113 FbTk::FbWindow::setBackgroundPixmap(m_background_pm); 113 setBackgroundPixmap(m_background_pm);
114 } 114 }
115 } else if (m_pressed_color.isAllocated()) { 115 } else if (m_pressed_color.isAllocated()) {
116 update = true; 116 update = true;
117 FbTk::FbWindow::setBackgroundColor(m_background_color); 117 setBackgroundColor(m_background_color);
118 } 118 }
119 119
120 if (update) 120 if (update)