mirror of
https://git.citron-emu.org/citron/emulator
synced 2026-02-02 23:53:36 +00:00
fix(overhaul): UI and resolution bugs for Steam Deck (Gamescope)
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -15,12 +15,13 @@
|
||||
#include "citron/uisettings.h"
|
||||
|
||||
class GMainWindow;
|
||||
class QSizeGrip;
|
||||
|
||||
class PerformanceOverlay : public QWidget {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit PerformanceOverlay(GMainWindow* parent);
|
||||
explicit PerformanceOverlay(QWidget* parent);
|
||||
~PerformanceOverlay() override;
|
||||
|
||||
void SetVisible(bool visible);
|
||||
@@ -51,6 +52,7 @@ private:
|
||||
void AddFrameTime(double frame_time_ms);
|
||||
|
||||
GMainWindow* main_window;
|
||||
QSizeGrip* size_grip;
|
||||
QTimer update_timer;
|
||||
|
||||
// Performance data
|
||||
|
||||
Reference in New Issue
Block a user