diff options
Diffstat (limited to 'gui/ScrollBarWidget.h')
-rw-r--r-- | gui/ScrollBarWidget.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gui/ScrollBarWidget.h b/gui/ScrollBarWidget.h index 842e0e767d..c4b54b446c 100644 --- a/gui/ScrollBarWidget.h +++ b/gui/ScrollBarWidget.h @@ -54,13 +54,14 @@ public: int _currentPos; public: ScrollBarWidget(Dialog *boss, int x, int y, int w, int h); -// virtual ~ScrollBarWidget(); - void handleClick(int x, int y, int button); + void handleMouseDown(int x, int y, int button); + void handleMouseUp(int x, int y, int button); void handleMouseMoved(int x, int y, int button); void handleMouseEntered(int button) { setFlags(WIDGET_HILITED); } - void handleMouseLeft(int button) { clearFlags(WIDGET_HILITED); _part = kNoPart; _isDraggingSlider = false; draw(); } + void handleMouseLeft(int button) { clearFlags(WIDGET_HILITED); _part = kNoPart; draw(); } + // FIXME: Shouldn't these be private? void recalc(); protected: |