summaryrefslogtreecommitdiff
path: root/plugingui/tabbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/tabbutton.h')
-rw-r--r--plugingui/tabbutton.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugingui/tabbutton.h b/plugingui/tabbutton.h
index 1c4d84b..29e6e05 100644
--- a/plugingui/tabbutton.h
+++ b/plugingui/tabbutton.h
@@ -35,6 +35,8 @@
namespace GUI
{
+class ScrollEvent;
+
class TabButton
: public ButtonBase
{
@@ -48,10 +50,12 @@ public:
void setActive(bool active);
Notifier<Widget*> switchTabNotifier;
+ Notifier<float> scrollNotifier; // float delta
protected:
// From Widget:
virtual void repaintEvent(RepaintEvent* e) override;
+ virtual void scrollEvent(ScrollEvent* scroll_event) override;
private:
void clickHandler();