Qt: Implement relative mouse mode

This commit is contained in:
Connor McLaughlin
2020-12-27 14:08:13 +10:00
parent 114d4a2c1d
commit ca42d027ac
13 changed files with 116 additions and 8 deletions

View File

@ -52,6 +52,7 @@ private Q_SLOTS:
void displaySizeRequested(qint32 width, qint32 height);
void destroyDisplay();
void focusDisplayWidget();
void onMouseModeRequested(bool relative_mode, bool hide_cursor);
void setTheme(const QString& theme);
void updateTheme();
@ -148,6 +149,7 @@ private:
bool m_emulation_running = false;
bool m_was_paused_by_focus_loss = false;
bool m_open_debugger_on_start = false;
bool m_relative_mouse_mode = false;
GDBServer* m_gdb_server = nullptr;
};