Skip to content

Commit

Permalink
Added some different colour to make this a bit cooler
Browse files Browse the repository at this point in the history
  • Loading branch information
Simo3ds authored Dec 24, 2023
1 parent 3d51764 commit 5d1c0ad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions arm9/source/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ void configMenu(bool oldPinStatus, u32 oldPinMode)

drawString(true, 10, 10, COLOR_TITLE, CONFIG_TITLE);
drawString(true, 10, 10 + SPACING_Y, COLOR_TITLE, "Usa il DPAD e A per cambiare impostazioni");
drawFormattedString(false, 10, SCREEN_HEIGHT - 2 * SPACING_Y, COLOR_YELLOW, "Avviato da %s con %s", isSdMode ? "SD" : "CTRNAND", bootTypes[(u32)bootType]);
drawFormattedString(false, 10, SCREEN_HEIGHT - 2 * SPACING_Y, COLOR_GREEN, "Avviato da %s con %s", isSdMode ? "SD" : "CTRNAND", bootTypes[(u32)bootType]);

//Character to display a selected option
char selected = 'x';
Expand All @@ -1119,8 +1119,8 @@ void configMenu(bool oldPinStatus, u32 oldPinMode)
if(!multiOptions[i].visible) continue;

multiOptions[i].posY = endPos + SPACING_Y;
endPos = drawString(true, 10, multiOptions[i].posY, COLOR_WHITE, multiOptionsText[i]);
drawCharacter(true, 10 + multiOptions[i].posXs[multiOptions[i].enabled] * SPACING_X, multiOptions[i].posY, COLOR_WHITE, selected);
endPos = drawString(true, 10, multiOptions[i].posY, COLOR_BLUE, multiOptionsText[i]);
drawCharacter(true, 10 + multiOptions[i].posXs[multiOptions[i].enabled] * SPACING_X, multiOptions[i].posY, COLOR_YELLOW, selected);
}

endPos += SPACING_Y / 2;
Expand All @@ -1138,11 +1138,11 @@ void configMenu(bool oldPinStatus, u32 oldPinMode)
{
singleSelected = i;
selectedOption = i + multiOptionsAmount;
color = COLOR_WHITE;
color = COLOR_YELLOW;
}
}

drawString(false, 10, 10, COLOR_WHITE, optionsDescription[selectedOption]);
drawString(false, 10, 10, COLOR_YELLOW, optionsDescription[selectedOption]);

bool startPressed = false;
//Boring configuration menu
Expand Down

0 comments on commit 5d1c0ad

Please sign in to comment.