summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_win32.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-10-08 07:52:08 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2015-10-08 07:52:08 +0200
commit1d5767f1314edbb61c20773b1f5e48473a922104 (patch)
tree9fde4042f10a4539bcb2556015f8a37f75996807 /plugingui/nativewindow_win32.cc
parent02f78d5eb03670bc07f615ad629e1ec03959be14 (diff)
Add missing namedspace to Button/KeyEvents types.
Diffstat (limited to 'plugingui/nativewindow_win32.cc')
-rw-r--r--plugingui/nativewindow_win32.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc
index fcee1a6..fa4b611 100644
--- a/plugingui/nativewindow_win32.cc
+++ b/plugingui/nativewindow_win32.cc
@@ -125,13 +125,13 @@ LRESULT CALLBACK dialogProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp)
if(msg == WM_LBUTTONUP ||
msg == WM_LBUTTONDBLCLK ||
- msg == WM_LBUTTONDOWN) e->button = ButtonEvent::Left;
+ msg == WM_LBUTTONDOWN) e->button = GUI::ButtonEvent::Left;
else if(msg == WM_RBUTTONUP ||
msg == WM_RBUTTONDBLCLK ||
- msg == WM_RBUTTONDOWN) e->button = ButtonEvent::Middle;
+ msg == WM_RBUTTONDOWN) e->button = GUI::ButtonEvent::Middle;
else if(msg == WM_MBUTTONUP ||
msg == WM_MBUTTONDBLCLK ||
- msg == WM_MBUTTONDOWN) e->button = ButtonEvent::Right;
+ msg == WM_MBUTTONDOWN) e->button = GUI::ButtonEvent::Right;
else {
delete e;
break; // unknown button
@@ -139,10 +139,10 @@ LRESULT CALLBACK dialogProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp)
if(msg == WM_LBUTTONUP ||
msg == WM_RBUTTONUP ||
- msg == WM_MBUTTONUP) e->direction = ButtonEvent::Up;
+ msg == WM_MBUTTONUP) e->direction = GUI::ButtonEvent::Up;
else if(msg == WM_LBUTTONDOWN ||
msg == WM_RBUTTONDOWN ||
- msg == WM_MBUTTONDOWN) e->direction = ButtonEvent::Down;
+ msg == WM_MBUTTONDOWN) e->direction = GUI::ButtonEvent::Down;
else {
delete e;
break; // unknown direction
@@ -175,7 +175,7 @@ LRESULT CALLBACK dialogProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp)
default: e->keycode = GUI::KeyEvent::KEY_UNKNOWN; break;
}
e->text = "";
- e->direction = KeyEvent::Up;
+ e->direction = GUI::KeyEvent::Up;
native->event = e;
}
break;