mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2025-12-18 15:17:42 +03:00
fixed typo
This commit is contained in:
parent
122e961e8a
commit
af89c7e652
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// Define the static settings list
|
// Define the static settings list
|
||||||
const SettingInfo SettingsScreen::settingsList[SettingsScreen::settingsCount] = {
|
const SettingInfo SettingsScreen::settingsList[SettingsScreen::settingsCount] = {
|
||||||
{"White Splash Screen", &CrossPointSettings::whiteSleepScreen},
|
{"White Sleep Screen", &CrossPointSettings::whiteSleepScreen},
|
||||||
{"Extra Paragraph Spacing", &CrossPointSettings::extraParagraphSpacing}
|
{"Extra Paragraph Spacing", &CrossPointSettings::extraParagraphSpacing}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -121,12 +121,12 @@ void SettingsScreen::render() const {
|
|||||||
// Draw all settings
|
// Draw all settings
|
||||||
for (int i = 0; i < settingsCount; i++) {
|
for (int i = 0; i < settingsCount; i++) {
|
||||||
const int settingY = 60 + i * 30; // 30 pixels between settings
|
const int settingY = 60 + i * 30; // 30 pixels between settings
|
||||||
|
|
||||||
// Draw selection indicator for the selected setting
|
// Draw selection indicator for the selected setting
|
||||||
if (i == selectedSettingIndex) {
|
if (i == selectedSettingIndex) {
|
||||||
renderer.drawText(UI_FONT_ID, 5, settingY, ">");
|
renderer.drawText(UI_FONT_ID, 5, settingY, ">");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw setting name and value
|
// Draw setting name and value
|
||||||
renderer.drawText(UI_FONT_ID, 20, settingY, settingsList[i].name);
|
renderer.drawText(UI_FONT_ID, 20, settingY, settingsList[i].name);
|
||||||
bool value = SETTINGS.*(settingsList[i].valuePtr);
|
bool value = SETTINGS.*(settingsList[i].valuePtr);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user