summaryrefslogtreecommitdiff
path: root/src/ui.cc
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-01-02 14:22:49 +0100
committerjcid <devnull@localhost>2008-01-02 14:22:49 +0100
commit5ca49ae150a68fd45fdfefc853005e9ef08a6982 (patch)
tree272eeb10995a63c7892f06eb384b80c80f91741e /src/ui.cc
parentb33e0ab7a06ab6b2e7da7e0b7ece4b39d2ce0a3f (diff)
- Added a redraw(DAMAGE_HIGHLIGHT) call to Back, Forw and Stop buttons.
Diffstat (limited to 'src/ui.cc')
-rw-r--r--src/ui.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui.cc b/src/ui.cc
index d0157ceb..aa4c794f 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -21,6 +21,7 @@
#include <fltk/Input.h>
#include <fltk/Output.h>
#include <fltk/run.h>
+#include <fltk/damage.h>
#include <fltk/BarGroup.h>
#include <fltk/PackedGroup.h>
#include <fltk/xpmImage.h>
@@ -996,12 +997,15 @@ void UI::button_set_sens(UIButton btn, int sens)
switch (btn) {
case UI_BACK:
(sens) ? Back->activate() : Back->deactivate();
+ Back->redraw(DAMAGE_HIGHLIGHT);
break;
case UI_FORW:
(sens) ? Forw->activate() : Forw->deactivate();
+ Forw->redraw(DAMAGE_HIGHLIGHT);
break;
case UI_STOP:
(sens) ? Stop->activate() : Stop->deactivate();
+ Stop->redraw(DAMAGE_HIGHLIGHT);
break;
default:
break;