summaryrefslogtreecommitdiff
path: root/src/yuzu/main.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-11-15 17:57:41 -0600
committergerman77 <juangerman-13@hotmail.com>2022-01-06 21:26:05 -0600
commit72c8a94a6cdb4d3f322fa6d4b06eab824f53dba6 (patch)
tree1be3b99cfa76a7e7c360fa467d8ea6de69a29dc8 /src/yuzu/main.h
parentb94e947793dcb53e9e00ef8bf587b2f689d38d41 (diff)
yuzu: Add controller hotkeys
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r--src/yuzu/main.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h
index 7870bb963..ca4ab9af5 100644
--- a/src/yuzu/main.h
+++ b/src/yuzu/main.h
@@ -186,6 +186,9 @@ public slots:
void OnTasStateChanged();
private:
+ /// Updates an action's shortcut and text to reflect an updated hotkey from the hotkey registry.
+ void LinkActionShortcut(QAction* action, const QString& action_name);
+
void RegisterMetaTypes();
void InitializeWidgets();
@@ -286,6 +289,7 @@ private slots:
void OnOpenYuzuFolder();
void OnAbout();
void OnToggleFilterBar();
+ void OnToggleStatusBar();
void OnDisplayTitleBars(bool);
void InitializeHotkeys();
void ToggleFullscreen();
@@ -303,9 +307,6 @@ private slots:
void OnMouseActivity();
private:
- /// Updates an action's shortcut and text to reflect an updated hotkey from the hotkey registry.
- void LinkActionShortcut(QAction* action, const QString& action_name);
-
void RemoveBaseContent(u64 program_id, const QString& entry_type);
void RemoveUpdateContent(u64 program_id, const QString& entry_type);
void RemoveAddOnContent(u64 program_id, const QString& entry_type);
@@ -400,6 +401,16 @@ private:
// Applets
QtSoftwareKeyboardDialog* software_keyboard = nullptr;
+
+ // True if amiibo file select is visible
+ bool is_amiibo_file_select_active{};
+
+ // True if load file select is visible
+ bool is_load_file_select_active{};
+
+ // True if TAS recording dialog is visible
+ bool is_tas_recording_dialog_active{};
+
#ifdef __linux__
QDBusObjectPath wake_lock{};
#endif