Change color to white

This commit is contained in:
Such Meme, Many Skill
2019-08-15 22:23:56 +02:00
parent a190a07016
commit 5dc063d301
4 changed files with 8 additions and 7 deletions

View File

@@ -12,13 +12,13 @@ void sdexplorer(char *items[], unsigned int *muhbits){
int value = 1;
int folderamount = 0;
char path[255] = "sd:/";
static const u32 colors[7] = {COLOR_RED, COLOR_ORANGE, COLOR_YELLOW, COLOR_GREEN, COLOR_BLUE, COLOR_VIOLET, COLOR_DEFAULT};
//static const u32 colors[8] = {COLOR_RED, COLOR_ORANGE, COLOR_YELLOW, COLOR_GREEN, COLOR_BLUE, COLOR_VIOLET, COLOR_DEFAULT, COLOR_WHITE};
while(1){
gfx_clear_grey(0x1B);
gfx_con_setpos(0, 0);
gfx_box(0, 0, 719, 15, COLOR_GREEN);
gfx_box(0, 0, 719, 15, COLOR_WHITE);
folderamount = readfolder(items, muhbits, path);
gfx_printf("%k%pTegraExplorer, made by SuchMeme %d\n%k%p", colors[6], colors[3], folderamount - 2, colors[3], colors[6]);
gfx_printf("%k%pTegraExplorer, made by SuchMeme %d\n%k%p", COLOR_DEFAULT, COLOR_WHITE, folderamount - 2, COLOR_WHITE, COLOR_DEFAULT);
value = fileexplorergui(items, muhbits, path, folderamount);
if (value == 1) {}