mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Add option for Never Hide Mouse Cursor
Instead of having a single GUI checkbox for "Always Hide Mouse Cursor", I have instead opted to use radio buttons so the user can swap between different states of mouse visibility. "Movement" is the default behavior, "Never" will hide the mouse cursor the entire time the game is running, and "Always" will keep the mouse cursor always visible.
This commit is contained in:
@ -7,8 +7,10 @@
|
||||
|
||||
#include <QFont>
|
||||
#include <QObject>
|
||||
#include <QRadioButton>
|
||||
#include <QSettings>
|
||||
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "DiscIO/Enums.h"
|
||||
|
||||
namespace Core
|
||||
@ -97,8 +99,8 @@ public:
|
||||
void SetUSBKeyboardConnected(bool connected);
|
||||
|
||||
// Graphics
|
||||
void SetHideCursor(bool hide_cursor);
|
||||
bool GetHideCursor() const;
|
||||
void SetCursorVisibility(SConfig::ShowCursor hideCursor);
|
||||
SConfig::ShowCursor GetCursorVisibility() const;
|
||||
void SetLockCursor(bool lock_cursor);
|
||||
bool GetLockCursor() const;
|
||||
void SetKeepWindowOnTop(bool top);
|
||||
@ -168,7 +170,7 @@ signals:
|
||||
void MetadataRefreshRequested();
|
||||
void MetadataRefreshCompleted();
|
||||
void AutoRefreshToggled(bool enabled);
|
||||
void HideCursorChanged();
|
||||
void CursorVisibilityChanged();
|
||||
void LockCursorChanged();
|
||||
void KeepWindowOnTopChanged(bool top);
|
||||
void VolumeChanged(int volume);
|
||||
|
Reference in New Issue
Block a user