mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 09:05:47 -04:00
NoGUI: Implement mouse cursor hiding in fullscreen
This commit is contained in:
@ -514,7 +514,8 @@ void CommonHostInterface::CreateImGuiContext()
|
||||
ImGui::GetIO().IniFilename = nullptr;
|
||||
#ifndef __ANDROID__
|
||||
// Android has no keyboard, nor are we using ImGui for any actual user-interactable windows.
|
||||
ImGui::GetIO().ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard | ImGuiConfigFlags_NavEnableGamepad;
|
||||
ImGui::GetIO().ConfigFlags |=
|
||||
ImGuiConfigFlags_NavEnableKeyboard | ImGuiConfigFlags_NavEnableGamepad | ImGuiConfigFlags_NoMouseCursorChange;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -1297,6 +1297,9 @@ void DrawSettingsWindow()
|
||||
settings_changed |=
|
||||
ToggleButton("Start Fullscreen", "Automatically switches to fullscreen mode when the program is started.",
|
||||
&s_settings_copy.start_fullscreen);
|
||||
settings_changed |= ToggleButtonForNonSetting(
|
||||
"Hide Cursor In Fullscreen", "Hides the mouse pointer/cursor when the emulator is in fullscreen mode.",
|
||||
"Main", "HideCursorInFullscreen", true);
|
||||
settings_changed |=
|
||||
ToggleButton("Load Devices From Save States",
|
||||
"When enabled, memory cards and controllers will be overwritten when save states are loaded.",
|
||||
|
Reference in New Issue
Block a user