mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 03:15:46 -04:00
Frontends: Add frame time performance counters
This commit is contained in:
@ -7,6 +7,8 @@
|
||||
#include "settingsdialog.h"
|
||||
#include "ui_mainwindow.h"
|
||||
|
||||
class QLabel;
|
||||
|
||||
class GameList;
|
||||
class GameListWidget;
|
||||
class QtHostInterface;
|
||||
@ -26,6 +28,8 @@ private Q_SLOTS:
|
||||
void onEmulationPaused(bool paused);
|
||||
void toggleFullscreen();
|
||||
void switchRenderer();
|
||||
void onPerformanceCountersUpdated(float speed, float fps, float vps, float average_frame_time,
|
||||
float worst_frame_time);
|
||||
|
||||
void onStartDiscActionTriggered();
|
||||
void onChangeDiscActionTriggered();
|
||||
@ -53,6 +57,10 @@ private:
|
||||
GameListWidget* m_game_list_widget = nullptr;
|
||||
QWidget* m_display_widget = nullptr;
|
||||
|
||||
QLabel* m_status_speed_widget = nullptr;
|
||||
QLabel* m_status_fps_widget = nullptr;
|
||||
QLabel* m_status_frame_time_widget = nullptr;
|
||||
|
||||
SettingsDialog* m_settings_dialog = nullptr;
|
||||
|
||||
bool m_emulation_running = false;
|
||||
|
Reference in New Issue
Block a user