mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-11 13:20:04 +00:00
Add shortcuts and status bar widgets to toggle and set 3D factor (#6277)
This commit is contained in:
parent
f66d03dd48
commit
691cb43871
9 changed files with 135 additions and 37 deletions
|
@ -40,6 +40,8 @@ template <typename>
|
|||
class QFutureWatcher;
|
||||
class QLabel;
|
||||
class QProgressBar;
|
||||
class QPushButton;
|
||||
class QSlider;
|
||||
class RegistersWidget;
|
||||
class Updater;
|
||||
class WaitTreeWidget;
|
||||
|
@ -118,6 +120,7 @@ private:
|
|||
void RestoreUIState();
|
||||
|
||||
void ConnectWidgetEvents();
|
||||
void Connect3DStateEvents();
|
||||
void ConnectMenuEvents();
|
||||
void UpdateMenuState();
|
||||
|
||||
|
@ -225,6 +228,7 @@ private slots:
|
|||
void OnStopVideoDumping();
|
||||
#endif
|
||||
void OnCoreError(Core::System::ResultStatus, std::string);
|
||||
void Toggle3D();
|
||||
/// Called whenever a user selects Help->About Citra
|
||||
void OnMenuAboutCitra();
|
||||
void OnUpdateFound(bool found, bool error);
|
||||
|
@ -236,6 +240,7 @@ private slots:
|
|||
private:
|
||||
Q_INVOKABLE void OnMoviePlaybackCompleted();
|
||||
void UpdateStatusBar();
|
||||
void Update3DState();
|
||||
void LoadTranslation();
|
||||
void UpdateWindowTitle();
|
||||
void UpdateUISettings();
|
||||
|
@ -259,6 +264,8 @@ private:
|
|||
QLabel* emu_speed_label = nullptr;
|
||||
QLabel* game_fps_label = nullptr;
|
||||
QLabel* emu_frametime_label = nullptr;
|
||||
QPushButton* option_3d_button = nullptr;
|
||||
QSlider* factor_3d_slider = nullptr;
|
||||
QTimer status_bar_update_timer;
|
||||
bool message_label_used_for_movie = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue