mirror of
https://git.citron-emu.org/citron/emulator
synced 2026-01-31 06:43:35 +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,6 +15,7 @@
|
||||
#include "citron/uisettings.h"
|
||||
|
||||
class GMainWindow;
|
||||
class QSizeGrip;
|
||||
|
||||
struct VramUsageData {
|
||||
u64 total_vram = 0;
|
||||
@@ -33,7 +34,7 @@ class VramOverlay : public QWidget {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit VramOverlay(GMainWindow* parent);
|
||||
explicit VramOverlay(QWidget* parent);
|
||||
~VramOverlay() override;
|
||||
|
||||
void SetVisible(bool visible);
|
||||
@@ -63,6 +64,7 @@ private:
|
||||
void AddVramUsage(double percentage);
|
||||
|
||||
GMainWindow* main_window;
|
||||
QSizeGrip* size_grip;
|
||||
QTimer update_timer;
|
||||
|
||||
// VRAM data
|
||||
|
||||
Reference in New Issue
Block a user