diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2012-08-15 14:39:48 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2012-08-15 14:39:48 +0000 |
commit | b2b8a48438f2f0be52b86fd042e36fffec9e3d67 (patch) | |
tree | 97a4534d93b28e4b1ccc24ef2d906d494e3a6f29 /src/osd/windows | |
parent | fd78743da6ea568497c03f55dc698fc86e6a5be7 (diff) |
Added internal mouse cursor visible in menus and when clickable artwork is used [Miodrag Milanovic]
Diffstat (limited to 'src/osd/windows')
-rw-r--r-- | src/osd/windows/window.c | 4 | ||||
-rw-r--r-- | src/osd/windows/winmain.c | 1 | ||||
-rw-r--r-- | src/osd/windows/winmain.h | 2 |
3 files changed, 2 insertions, 5 deletions
diff --git a/src/osd/windows/window.c b/src/osd/windows/window.c index 6c1a4bb26c6..baa4d1aeb45 100644 --- a/src/osd/windows/window.c +++ b/src/osd/windows/window.c @@ -607,8 +607,8 @@ void winwindow_update_cursor_state(running_machine &machine) // 2. we also hide the cursor in full screen mode and when the window doesn't have a menu // 3. we also hide the cursor in windowed mode if we're not paused and // the input system requests it - if (downcast<windows_options &>(machine.options()).hide_cursor() && - winwindow_has_focus() && ((!video_config.windowed && !win_has_menu(win_window_list)) || (!machine.paused() && wininput_should_hide_mouse()))) + //if (winwindow_has_focus() && ((!video_config.windowed && !win_has_menu(win_window_list)) || (!machine.paused() && wininput_should_hide_mouse()))) + if (winwindow_has_focus()) { win_window_info *window = win_window_list; RECT bounds; diff --git a/src/osd/windows/winmain.c b/src/osd/windows/winmain.c index be65099a34f..2b424c2b25d 100644 --- a/src/osd/windows/winmain.c +++ b/src/osd/windows/winmain.c @@ -429,7 +429,6 @@ const options_entry windows_options::s_option_entries[] = // input options { NULL, NULL, OPTION_HEADER, "INPUT DEVICE OPTIONS" }, - { WINOPTION_HIDE_CURSOR ";hc", "1", OPTION_BOOLEAN, "hide cursor in full screen or if mouse is enabled" }, { WINOPTION_DUAL_LIGHTGUN ";dual", "0", OPTION_BOOLEAN, "enable dual lightgun input" }, { NULL } diff --git a/src/osd/windows/winmain.h b/src/osd/windows/winmain.h index 6c7684a0529..98d6d038415 100644 --- a/src/osd/windows/winmain.h +++ b/src/osd/windows/winmain.h @@ -148,7 +148,6 @@ #define WINOPTION_AUDIO_LATENCY "audio_latency" // input options -#define WINOPTION_HIDE_CURSOR "hide_cursor" #define WINOPTION_DUAL_LIGHTGUN "dual_lightgun" @@ -268,7 +267,6 @@ public: int audio_latency() const { return int_value(WINOPTION_AUDIO_LATENCY); } // input options - bool hide_cursor() const { return bool_value(WINOPTION_HIDE_CURSOR); } bool dual_lightgun() const { return bool_value(WINOPTION_DUAL_LIGHTGUN); } private: |