main: Add resolution scale label in the status bar

Shows the resolution scale as "Scale: {}x" in the status bar, where {} is a floating point value representing the current resolution scaling factor.
This commit is contained in:
Morph
2021-07-26 01:58:02 -04:00
committed by Fernando Sahmkow
parent d2388dd0d0
commit 138d9d7eff
2 changed files with 12 additions and 2 deletions

View File

@ -328,6 +328,7 @@ private:
// Status bar elements
QLabel* message_label = nullptr;
QLabel* shader_building_label = nullptr;
QLabel* res_scale_label = nullptr;
QLabel* emu_speed_label = nullptr;
QLabel* game_fps_label = nullptr;
QLabel* emu_frametime_label = nullptr;