Change some more functions to accept the new input

This commit is contained in:
Such Meme, Many Skill
2020-05-02 14:06:56 +02:00
parent 0d98f65f99
commit 2cac144ba8
11 changed files with 26 additions and 21 deletions

View File

@@ -178,4 +178,12 @@ void gfx_drawScrollBar(int minView, int maxView, int count){
gfx_boxGrey(740, 16 + offsetSize, 755, 702, 0x66);
else
gfx_boxGrey(740, 16 + offsetSize, 755, 16 + barSize + offsetSize, 0x66);
}
int gfx_defaultWaitMenu(char *message, int time){
gfx_clearscreen();
SWAPCOLOR(COLOR_ORANGE);
gfx_printf("\n%s\n\nPress B to return\n", message);
SWAPCOLOR(COLOR_RED);
return gfx_makewaitmenu("Press A to continue", time);
}

View File

@@ -18,5 +18,6 @@ u32 gfx_sideGetY();
void gfx_sideprintf(char* message, ...);
void gfx_sideprintandclear(char* message, int length);
void gfx_drawScrollBar(int minView, int maxView, int count);
int gfx_defaultWaitMenu(char *message, int time);
extern int printerrors;