2020-03-17 23:41:09 +00:00
|
|
|
#pragma once
|
|
|
|
#include "../../gfx/gfx.h"
|
|
|
|
#include "../../utils/types.h"
|
|
|
|
|
|
|
|
#define SWAPCOLOR(color) gfx_printf("%k", color)
|
|
|
|
#define SWAPBGCOLOR(color) gfx_printf("%K", color)
|
|
|
|
#define RESETCOLOR gfx_printf("%k%K", COLOR_WHITE, COLOR_DEFAULT)
|
|
|
|
|
|
|
|
void gfx_clearscreen();
|
2020-05-02 00:41:43 +01:00
|
|
|
u32 gfx_message(u32 color, const char* message, ...);
|
|
|
|
u32 gfx_errDisplay(char *src_func, int err, int loc);
|
2020-03-17 23:41:09 +00:00
|
|
|
int gfx_makewaitmenu(char *hiddenmessage, int timer);
|
|
|
|
void gfx_printlength(int size, char *toprint);
|
2020-05-01 23:50:08 +01:00
|
|
|
void gfx_printandclear(char *in, int length, int endX);
|
2020-03-21 19:31:22 +00:00
|
|
|
void gfx_printfilesize(int size, char *type);
|
2020-05-02 12:05:06 +01:00
|
|
|
void gfx_sideSetY(u32 setY);
|
|
|
|
u32 gfx_sideGetY();
|
|
|
|
void gfx_sideprintf(char* message, ...);
|
|
|
|
void gfx_sideprintandclear(char* message, int length);
|
|
|
|
void gfx_drawScrollBar(int minView, int maxView, int count);
|
2020-05-02 13:06:56 +01:00
|
|
|
int gfx_defaultWaitMenu(char *message, int time);
|
2020-03-21 19:31:22 +00:00
|
|
|
|
|
|
|
extern int printerrors;
|