Optimise screen scroll a bit, Edit display of filesizes
This commit is contained in:
@@ -115,8 +115,13 @@ void gfx_printandclear(char *in, int length){
|
||||
gfx_con_getpos(&x, &y);
|
||||
RESETCOLOR;
|
||||
|
||||
|
||||
/*
|
||||
for (int i = (703 - x) / 16; i > 0; i--)
|
||||
gfx_printf(" ");
|
||||
*/
|
||||
|
||||
gfx_boxGrey(x, y, 703, y + 16, 0x1B);
|
||||
|
||||
gfx_con_setpos(x, y);
|
||||
|
||||
|
||||
@@ -53,7 +53,10 @@ void _printentry(menu_entry entry, bool highlighted, bool refresh){
|
||||
else {
|
||||
SWAPCOLOR(COLOR_BLUE);
|
||||
SWAPBGCOLOR(COLOR_DEFAULT);
|
||||
gfx_printf("\a%d\e%s", entry.storage, gfx_file_size_names[size - 4]);
|
||||
gfx_printf("\a%4d", entry.storage);
|
||||
gfx_con.fntsz = 8;
|
||||
gfx_printf("\n\e%s\n", gfx_file_size_names[size - 4]);
|
||||
gfx_con.fntsz = 16;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user