aboutsummaryrefslogtreecommitdiff
path: root/src/ArrowButton.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-09-12 14:56:20 (GMT)
committerrathnor <rathnor>2004-09-12 14:56:20 (GMT)
commit42c1fd3ae3dd058e146b7350c65b74386123c25c (patch)
treecc549c2c7b12c87f8c33198f5b30f00d9dd30bc6 /src/ArrowButton.cc
parentc39234195a46cece2bdb18dfdde6c91c7a190dc4 (diff)
downloadfluxbox_pavel-42c1fd3ae3dd058e146b7350c65b74386123c25c.zip
fluxbox_pavel-42c1fd3ae3dd058e146b7350c65b74386123c25c.tar.bz2
preliminary support for composite/compositing manager. Also general work
for consistency with transparency resources
Diffstat (limited to 'src/ArrowButton.cc')
-rw-r--r--src/ArrowButton.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ArrowButton.cc b/src/ArrowButton.cc
index 724562f..4e93a02 100644
--- a/src/ArrowButton.cc
+++ b/src/ArrowButton.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: ArrowButton.cc,v 1.8 2004/08/26 15:09:33 rathnor Exp $ 22// $Id: ArrowButton.cc,v 1.9 2004/09/12 14:56:18 rathnor Exp $
23 23
24#include "ArrowButton.hh" 24#include "ArrowButton.hh"
25#include "ButtonTheme.hh" 25#include "ButtonTheme.hh"
@@ -52,11 +52,13 @@ ArrowButton::ArrowButton(ArrowButton::Type arrow_type,
52 52
53void ArrowButton::clear() { 53void ArrowButton::clear() {
54 FbTk::Button::clear(); 54 FbTk::Button::clear();
55 updateTransparent();
55 drawArrow(); 56 drawArrow();
56} 57}
57 58
58void ArrowButton::exposeEvent(XExposeEvent &event) { 59void ArrowButton::exposeEvent(XExposeEvent &event) {
59 FbTk::Button::exposeEvent(event); 60 FbTk::Button::exposeEvent(event);
61 updateTransparent(event.x, event.y, event.width, event.height);
60 drawArrow(); 62 drawArrow();
61} 63}
62 64