summaryrefslogtreecommitdiff
path: root/plugingui/guievent.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/guievent.h')
-rw-r--r--plugingui/guievent.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/plugingui/guievent.h b/plugingui/guievent.h
index 0fb3ef2..d8d6955 100644
--- a/plugingui/guievent.h
+++ b/plugingui/guievent.h
@@ -61,27 +61,28 @@ class MouseMoveEvent : public Event {
public:
Type type() { return MouseMove; }
- size_t x;
- size_t y;
+ int x;
+ int y;
};
class ButtonEvent : public Event {
public:
Type type() { return Button; }
- size_t x;
- size_t y;
+ int x;
+ int y;
int direction;
int button;
+ int doubleclick;
};
class RepaintEvent : public Event {
public:
Type type() { return Repaint; }
- size_t x;
- size_t y;
+ int x;
+ int y;
size_t width;
size_t height;
};