summaryrefslogtreecommitdiff
path: root/plugingui/guievent.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/guievent.h')
-rw-r--r--plugingui/guievent.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugingui/guievent.h b/plugingui/guievent.h
index 133b630..78fe0f8 100644
--- a/plugingui/guievent.h
+++ b/plugingui/guievent.h
@@ -44,7 +44,8 @@ enum class EventType {
scroll,
key,
close,
- resize
+ resize,
+ move
};
class Event {
@@ -150,4 +151,12 @@ public:
size_t height;
};
+class MoveEvent : public Event {
+public:
+ EventType type() { return EventType::move; }
+
+ int x;
+ int y;
+};
+
} // GUI::