| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include <QWidget> |
| 7 |
|
| 8 |
class QLabel; |
| 9 |
class ConfigBool; |
| 10 |
class ConfigInteger; |
| 11 |
|
| 12 |
class OnScreenDisplayPane final : public QWidget |
| 13 |
{ |
| 14 |
public: |
| 15 |
explicit OnScreenDisplayPane(QWidget* parent = nullptr); |
| 16 |
|
| 17 |
private: |
| 18 |
void CreateLayout(); |
| 19 |
void ConnectLayout(); |
| 20 |
void AddDescriptions(); |
| 21 |
|
| 22 |
|
| 23 |
ConfigBool* m_enable_osd; |
| 24 |
ConfigInteger* m_font_size; |
| 25 |
|
| 26 |
|
| 27 |
ConfigBool* m_show_fps; |
| 28 |
ConfigBool* m_show_internal_resolution; |
| 29 |
ConfigBool* m_show_ftimes; |
| 30 |
ConfigBool* m_show_vps; |
| 31 |
ConfigBool* m_show_vtimes; |
| 32 |
ConfigBool* m_show_graph; |
| 33 |
ConfigBool* m_show_speed; |
| 34 |
ConfigBool* m_speed_colors; |
| 35 |
ConfigInteger* m_perf_sample_window; |
| 36 |
|
| 37 |
|
| 38 |
ConfigBool* m_movie_window; |
| 39 |
ConfigBool* m_rerecord_counter; |
| 40 |
ConfigBool* m_lag_counter; |
| 41 |
ConfigBool* m_frame_counter; |
| 42 |
ConfigBool* m_input_display; |
| 43 |
ConfigBool* m_system_clock; |
| 44 |
|
| 45 |
|
| 46 |
ConfigBool* m_show_ping; |
| 47 |
ConfigBool* m_show_chat; |
| 48 |
|
| 49 |
|
| 50 |
ConfigBool* m_show_statistics; |
| 51 |
ConfigBool* m_show_proj_statistics; |
| 52 |
}; |