Add blue color to all files
This commit is contained in:
@@ -59,13 +59,14 @@ void meme_clearscreen(){
|
|||||||
void _printwithhighlight(int offset, int folderamount, char *items[], int highlight, unsigned int *muhbits){
|
void _printwithhighlight(int offset, int folderamount, char *items[], int highlight, unsigned int *muhbits){
|
||||||
char temp[39];
|
char temp[39];
|
||||||
int i = 0;
|
int i = 0;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
gfx_con_setpos(0, 32);
|
gfx_con_setpos(0, 32);
|
||||||
while(i < folderamount && i < 76){
|
while(i < folderamount && i < 76){
|
||||||
ret = _copystring(temp, items[i + offset], 39);
|
ret = _copystring(temp, items[i + offset], 39);
|
||||||
if(i == highlight - 1) gfx_printf("\n%k%p%s%k%p", COLOR_DEFAULT, COLOR_WHITE, temp, COLOR_WHITE, COLOR_DEFAULT);
|
if(i == highlight - 1) gfx_printf("\n%k%p%s%k%p", COLOR_DEFAULT, COLOR_WHITE, temp, COLOR_WHITE, COLOR_DEFAULT);
|
||||||
else if ((i == 0 || i == 1) && offset == 0) gfx_printf("%k\n%s%k", COLOR_ORANGE, temp, COLOR_WHITE);
|
else if ((i == 0 || i == 1) && offset == 0) gfx_printf("%k\n%s%k", COLOR_ORANGE, temp, COLOR_WHITE);
|
||||||
else gfx_printf("\n%s", temp);
|
else if (muhbits[i+offset] & OPTION1) gfx_printf("\n%s", temp);
|
||||||
|
else gfx_printf("%k\n%s%k", COLOR_BLUE, temp, COLOR_WHITE);
|
||||||
|
|
||||||
while(ret >= 0){
|
while(ret >= 0){
|
||||||
gfx_printf(" ");
|
gfx_printf(" ");
|
||||||
|
|||||||
Reference in New Issue
Block a user