summaryrefslogtreecommitdiffstats
path: root/views/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/event.h')
-rw-r--r--views/event.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/event.h b/views/event.h
index 6f96a71..91c0a53 100644
--- a/views/event.h
+++ b/views/event.h
@@ -41,6 +41,8 @@ class Event {
ET_MOUSE_MOVED,
ET_MOUSE_ENTERED,
ET_MOUSE_EXITED,
+ ET_MOUSE_NEAR,
+ ET_MOUSE_EXITED_NEAR,
ET_KEY_PRESSED,
ET_KEY_RELEASED,
ET_MOUSEWHEEL,
@@ -100,7 +102,9 @@ class Event {
type_ == ET_MOUSE_MOVED ||
type_ == ET_MOUSE_ENTERED ||
type_ == ET_MOUSE_EXITED ||
- type_ == ET_MOUSEWHEEL;
+ type_ == ET_MOUSEWHEEL ||
+ type_ == ET_MOUSE_NEAR ||
+ type_ == ET_MOUSE_EXITED_NEAR;
}
#if defined(OS_WIN)