mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #1657] [MERGED] Save State UI: Add legend showing hotkeys #602
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stenzek/duckstation/pull/1657
Author: @CookiePLMonster
Created: 2/17/2021
Status: ✅ Merged
Merged: 2/23/2021
Merged by: @stenzek
Base:
master← Head:savestate-ui-legend📝 Commits (3)
82a2175Save State UI: Add legend showing hotkeyse361b9fSave State UI: Make the widget translatable78f9136Save State UI: Cache legend strings📊 Changes
3 files changed (+110 additions, -33 deletions)
View changed files
📝
src/frontend-common/common_host_interface.cpp(+2 -0)📝
src/frontend-common/save_state_selector_ui.cpp(+100 -32)📝
src/frontend-common/save_state_selector_ui.h(+8 -1)📄 Description
This PR adds a legend to the Save State Selector UI. In my experience, I kept misremembering Save/Load buttons and using the wrong one when on this screen, so a legend should help.
To do:
Style the legend better? Most notably, some margins may be needed.Strip the device name maybe -F1orButton14might be good enough in this case.Make the legend translatableCurrent look:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.