diff options
Diffstat (limited to 'src/gui/widgets/scrollarea.h')
-rw-r--r-- | src/gui/widgets/scrollarea.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h index 58df259ba..3a552ee75 100644 --- a/src/gui/widgets/scrollarea.h +++ b/src/gui/widgets/scrollarea.h @@ -120,10 +120,28 @@ class ScrollArea final : public gcn::ScrollArea, void mouseReleased(gcn::MouseEvent& event) override; + void mouseDragged(gcn::MouseEvent &event); + void widgetResized(const gcn::Event &event) override; void widgetMoved(const gcn::Event &event) override; + gcn::Rectangle getVerticalBarDimension() const; + + gcn::Rectangle getHorizontalBarDimension() const; + + gcn::Rectangle getVerticalMarkerDimension(); + + gcn::Rectangle getHorizontalMarkerDimension(); + + gcn::Rectangle getUpButtonDimension() const; + + gcn::Rectangle getDownButtonDimension() const; + + gcn::Rectangle getLeftButtonDimension() const; + + gcn::Rectangle getRightButtonDimension() const; + protected: enum BUTTON_DIR { @@ -155,6 +173,7 @@ class ScrollArea final : public gcn::ScrollArea, static int instances; static float mAlpha; + static bool mShowButtons; static ImageRect background; static ImageRect vMarker; static ImageRect vMarkerHi; |