mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-19 10:43:33 +00:00
feat: Controller Overlay
This commit is contained in:
@@ -39,6 +39,7 @@ class OverlayDialog;
|
|||||||
class PerformanceOverlay;
|
class PerformanceOverlay;
|
||||||
class MultiplayerRoomOverlay;
|
class MultiplayerRoomOverlay;
|
||||||
class VramOverlay;
|
class VramOverlay;
|
||||||
|
class ControllerOverlay;
|
||||||
class ProfilerWidget;
|
class ProfilerWidget;
|
||||||
class ControllerDialog;
|
class ControllerDialog;
|
||||||
class QLabel;
|
class QLabel;
|
||||||
@@ -109,6 +110,7 @@ public:
|
|||||||
bool DropAction(QDropEvent* event);
|
bool DropAction(QDropEvent* event);
|
||||||
void AcceptDropEvent(QDropEvent* event);
|
void AcceptDropEvent(QDropEvent* event);
|
||||||
MultiplayerState* GetMultiplayerState() { return multiplayer_state; }
|
MultiplayerState* GetMultiplayerState() { return multiplayer_state; }
|
||||||
|
Core::System* GetSystem() { return system.get(); }
|
||||||
bool IsEmulationRunning() const { return emulation_running; }
|
bool IsEmulationRunning() const { return emulation_running; }
|
||||||
signals:
|
signals:
|
||||||
void EmulationStarting(EmuThread* emu_thread);
|
void EmulationStarting(EmuThread* emu_thread);
|
||||||
@@ -249,6 +251,7 @@ private slots:
|
|||||||
void OnTogglePerformanceOverlay();
|
void OnTogglePerformanceOverlay();
|
||||||
void OnToggleMultiplayerRoomOverlay();
|
void OnToggleMultiplayerRoomOverlay();
|
||||||
void OnToggleVramOverlay();
|
void OnToggleVramOverlay();
|
||||||
|
void OnToggleControllerOverlay();
|
||||||
void OnDisplayTitleBars(bool);
|
void OnDisplayTitleBars(bool);
|
||||||
double GetCurrentFPS() const;
|
double GetCurrentFPS() const;
|
||||||
double GetCurrentFrameTime() const;
|
double GetCurrentFrameTime() const;
|
||||||
@@ -335,6 +338,7 @@ private:
|
|||||||
PerformanceOverlay* performance_overlay{};
|
PerformanceOverlay* performance_overlay{};
|
||||||
MultiplayerRoomOverlay* multiplayer_room_overlay{};
|
MultiplayerRoomOverlay* multiplayer_room_overlay{};
|
||||||
VramOverlay* vram_overlay{};
|
VramOverlay* vram_overlay{};
|
||||||
|
ControllerOverlay* controller_overlay{};
|
||||||
GameListPlaceholder* game_list_placeholder;
|
GameListPlaceholder* game_list_placeholder;
|
||||||
std::vector<VkDeviceInfo::Record> vk_device_records;
|
std::vector<VkDeviceInfo::Record> vk_device_records;
|
||||||
QLabel* message_label = nullptr;
|
QLabel* message_label = nullptr;
|
||||||
|
|||||||
Reference in New Issue
Block a user