diff options
Diffstat (limited to 'plugingui/guievent.h')
-rw-r--r-- | plugingui/guievent.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugingui/guievent.h b/plugingui/guievent.h index d8d6955..db0328c 100644 --- a/plugingui/guievent.h +++ b/plugingui/guievent.h @@ -44,6 +44,7 @@ public: MouseMove, Repaint, Button, + Scroll, Key, Close, Resize @@ -77,6 +78,16 @@ public: int doubleclick; }; +class ScrollEvent : public Event { +public: + Type type() { return Scroll; } + + int x; + int y; + + int delta; +}; + class RepaintEvent : public Event { public: Type type() { return Repaint; } |