mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 07:37:37 +03:00
Make labels consistent
This commit is contained in:
parent
33b59ac56f
commit
d03105fe66
@ -537,7 +537,7 @@ void HomeActivity::render() {
|
||||
renderer.drawText(UI_10_FONT_ID, textX, textY, label, !selected);
|
||||
}
|
||||
|
||||
const auto labels = mappedInput.mapLabels("", "Confirm", "Up", "Down");
|
||||
const auto labels = mappedInput.mapLabels("", "Select", "Up", "Down");
|
||||
renderer.drawButtonHints(UI_10_FONT_ID, labels.btn1, labels.btn2, labels.btn3, labels.btn4);
|
||||
|
||||
const bool showBatteryPercentage =
|
||||
|
||||
@ -323,9 +323,7 @@ void MyLibraryActivity::render() const {
|
||||
renderer.drawSideButtonHints(UI_10_FONT_ID, ">", "<");
|
||||
|
||||
// Draw bottom button hints
|
||||
// In Files tab, show "BACK" when in subdirectory, "HOME" when at root
|
||||
const char* backLabel = (currentTab == Tab::Files && basepath != "/") ? "BACK" : "HOME";
|
||||
const auto labels = mappedInput.mapLabels(backLabel, "OPEN", "<", ">");
|
||||
const auto labels = mappedInput.mapLabels("« Back", "Open", "<", ">");
|
||||
renderer.drawButtonHints(UI_10_FONT_ID, labels.btn1, labels.btn2, labels.btn3, labels.btn4);
|
||||
|
||||
renderer.displayBuffer();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user