summaryrefslogtreecommitdiff
path: root/plugingui/guievent.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-06 09:30:52 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-06 09:30:52 +0100
commita0b7282b31ed31051ee98bf16e8704d5599e5461 (patch)
tree49798ac70adbac0e065781833f045bab8a65bb0b /plugingui/guievent.h
parentdff2ff5b636d9d7007bf8589204e6a7138ee4004 (diff)
Major GUI workover. Hilights: A new filebrowser and new knob widget.
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;
};