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