diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-07-26 01:58:02 -0400 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:28 +0100 |
commit | 138d9d7effa17d9bae9af60493c4cdc99a2d0487 (patch) | |
tree | 24a8bcf2097b32e9ed4845c9f83b34bc21b7d61a /src/yuzu/main.h | |
parent | d2388dd0d0d36a230b58efbdd17f8366c79555b5 (diff) |
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.
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r-- | src/yuzu/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h index 981102daa..beb4f2984 100644 --- a/src/yuzu/main.h +++ b/src/yuzu/main.h @@ -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; |