mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Hide mouse cursor after delay in DolphinWX
This commit is contained in:
@ -144,6 +144,7 @@ private:
|
||||
ADD_PANE_CENTER
|
||||
};
|
||||
|
||||
static constexpr int MOUSE_HIDE_DELAY = 3000;
|
||||
GameListCtrl* m_game_list_ctrl = nullptr;
|
||||
CConfigMain* m_main_config_dialog = nullptr;
|
||||
wxPanel* m_panel = nullptr;
|
||||
@ -167,6 +168,7 @@ private:
|
||||
int m_save_slot = 1;
|
||||
|
||||
wxTimer m_poll_hotkey_timer;
|
||||
wxTimer m_cursor_timer;
|
||||
wxTimer m_handle_signal_timer;
|
||||
|
||||
wxMenuBar* m_menubar_shadow = nullptr;
|
||||
@ -360,6 +362,7 @@ private:
|
||||
|
||||
void PollHotkeys(wxTimerEvent&);
|
||||
void ParseHotkeys();
|
||||
void HandleCursorTimer(wxTimerEvent&);
|
||||
void HandleSignal(wxTimerEvent&);
|
||||
|
||||
bool InitControllers();
|
||||
|
Reference in New Issue
Block a user