mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-12 02:59:00 +00: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:
parent
5145853351
commit
2aa400e72f
9 changed files with 99 additions and 36 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue