mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Replace background white color
This commit is contained in:
parent
7418c8f5ba
commit
5cd3a707d3
@ -152,7 +152,7 @@ void showDirectoryContents (const vector<DirEntry>& dirContents, int fileOffset,
|
||||
if ((fileOffset - startRow) == i) {
|
||||
printf ("\x1B[47m"); // Print foreground white color
|
||||
} else if (entry->isDirectory) {
|
||||
printf ("\x1B[37m"); // Print background white color
|
||||
printf ("\x1B[37m"); // Print custom blue color
|
||||
} else {
|
||||
printf ("\x1B[40m"); // Print foreground black color
|
||||
}
|
||||
@ -427,7 +427,7 @@ void fileBrowse_drawBottomScreen(DirEntry* entry) {
|
||||
printf (POWERTEXT);
|
||||
}
|
||||
|
||||
printf (entry->isDirectory ? "\x1B[37m" : "\x1B[40m"); // Print background white color or foreground black color
|
||||
printf (entry->isDirectory ? "\x1B[37m" : "\x1B[40m"); // Print custom blue color or foreground black color
|
||||
printf ("\x1b[0;0H");
|
||||
printf ("%s\n", entry->name.c_str());
|
||||
if (strcmp(entry->name.c_str(), "..") != 0) {
|
||||
@ -443,7 +443,7 @@ void fileBrowse_drawBottomScreen(DirEntry* entry) {
|
||||
printf ("\x1b[9;0H");
|
||||
printf ("\x1B[47m"); // Print foreground white color
|
||||
printf ("[CLIPBOARD]\n");
|
||||
printf (clipboardFolder ? "\x1B[37m" : "\x1B[40m"); // Print background white color or foreground black color
|
||||
printf (clipboardFolder ? "\x1B[37m" : "\x1B[40m"); // Print custom blue color or foreground black color
|
||||
printf (clipboardFilename);
|
||||
}
|
||||
}
|
||||
|
||||
@ -159,6 +159,9 @@ int main(int argc, char **argv) {
|
||||
videoSetMode(MODE_0_2D);
|
||||
vramSetBankG(VRAM_G_MAIN_BG);
|
||||
consoleInit(&topConsole, 0, BgType_Text4bpp, BgSize_T_256x256, 15, 0, true, true);
|
||||
|
||||
BG_PALETTE[15+(7*16)] = 0x656A;
|
||||
BG_PALETTE_SUB[15+(7*16)] = 0x656A;
|
||||
|
||||
keysSetRepeat(25,5);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user