aboutsummaryrefslogtreecommitdiff
path: root/src/ArrowButton.cc
diff options
context:
space:
mode:
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