Qt: Add OnScreenDisplayPane to settings window. Transfer OSD options to pane.
This commit is contained in:
1 parent
03ef9b4995
commit
13ac387197
5 files changed
+305
No files matched your search
@@ -0,0 +1,51 @@
|
||||
// Copyright 2025 Dolphin Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class QLabel;
|
||||
class ConfigBool;
|
||||
class ConfigInteger;
|
||||
|
||||
class OnScreenDisplayPane final : public QWidget
|
||||
{
|
||||
public:
|
||||
explicit OnScreenDisplayPane(QWidget* parent = nullptr);
|
||||
|
||||
private:
|
||||
void CreateLayout();
|
||||
void ConnectLayout();
|
||||
void AddDescriptions();
|
||||
|
||||
// General
|
||||
ConfigBool* m_enable_osd;
|
||||
ConfigInteger* m_font_size;
|
||||
|
||||
// Performance
|
||||
ConfigBool* m_show_fps;
|
||||
ConfigBool* m_show_ftimes;
|
||||
ConfigBool* m_show_vps;
|
||||
ConfigBool* m_show_vtimes;
|
||||
ConfigBool* m_show_graph;
|
||||
ConfigBool* m_show_speed;
|
||||
ConfigBool* m_speed_colors;
|
||||
QLabel* m_graph_update_label;
|
||||
ConfigInteger* m_graph_update_rate;
|
||||
|
||||
// Movie window
|
||||
ConfigBool* m_rerecord_counter;
|
||||
ConfigBool* m_lag_counter;
|
||||
ConfigBool* m_frame_counter;
|
||||
ConfigBool* m_input_display;
|
||||
ConfigBool* m_system_clock;
|
||||
|
||||
// Netplay
|
||||
ConfigBool* m_show_ping;
|
||||
ConfigBool* m_show_chat;
|
||||
|
||||
// Debug
|
||||
ConfigBool* m_show_statistics;
|
||||
ConfigBool* m_show_proj_statistics;
|
||||
};
|
||||
Reference in new issue
Block a user