diff options
author | rathnor <rathnor> | 2004-09-12 14:56:20 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-09-12 14:56:20 (GMT) |
commit | 42c1fd3ae3dd058e146b7350c65b74386123c25c (patch) | |
tree | cc549c2c7b12c87f8c33198f5b30f00d9dd30bc6 /src/ArrowButton.cc | |
parent | c39234195a46cece2bdb18dfdde6c91c7a190dc4 (diff) | |
download | fluxbox_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.cc | 4 |
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 | ||
53 | void ArrowButton::clear() { | 53 | void ArrowButton::clear() { |
54 | FbTk::Button::clear(); | 54 | FbTk::Button::clear(); |
55 | updateTransparent(); | ||
55 | drawArrow(); | 56 | drawArrow(); |
56 | } | 57 | } |
57 | 58 | ||
58 | void ArrowButton::exposeEvent(XExposeEvent &event) { | 59 | void 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 | ||