diff options
author | dankan1890 <mewuidev2@gmail.com> | 2016-04-15 17:48:05 +0200 |
---|---|---|
committer | dankan1890 <mewuidev2@gmail.com> | 2016-04-15 17:48:05 +0200 |
commit | 1e3037baf794f6b0bac46ec75808488942b3df58 (patch) | |
tree | e91c2716346a0a17255389ea5c9b0a4186a6ecc1 /src/osd/windows/window.cpp | |
parent | a0715c7c400f1a7e41285a06eef23535fb0afa1d (diff) |
ui: Re-enabled configuration menu for single-machine and added some options.
Adding handler for the right mouse button in the main menu, calls the machine configuration.
Diffstat (limited to 'src/osd/windows/window.cpp')
-rw-r--r-- | src/osd/windows/window.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/osd/windows/window.cpp b/src/osd/windows/window.cpp index 0e30da1b93d..faf16c9e4b8 100644 --- a/src/osd/windows/window.cpp +++ b/src/osd/windows/window.cpp @@ -1372,6 +1372,14 @@ LRESULT CALLBACK win_window_info::video_window_proc(HWND wnd, UINT message, WPAR window->machine().ui_input().push_mouse_up_event(window->m_target, GET_X_LPARAM(lparam), GET_Y_LPARAM(lparam)); break; + case WM_RBUTTONDOWN: + window->machine().ui_input().push_mouse_rdown_event(window->m_target, GET_X_LPARAM(lparam), GET_Y_LPARAM(lparam)); + break; + + case WM_RBUTTONUP: + window->machine().ui_input().push_mouse_rup_event(window->m_target, GET_X_LPARAM(lparam), GET_Y_LPARAM(lparam)); + break; + case WM_CHAR: window->machine().ui_input().push_char_event(window->m_target, (unicode_char) wparam); break; |