TegraExplorer/source/tegraexplorer/gfx/gfxutils.h

17 lines
588 B
C
Raw Normal View History

2020-03-17 20:41:09 -03: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();
int gfx_message(u32 color, const char* message, ...);
2020-03-18 19:58:32 -03:00
int gfx_errDisplay(char *src_func, int err, int loc);
2020-03-17 20:41:09 -03:00
int gfx_makewaitmenu(char *hiddenmessage, int timer);
void gfx_printlength(int size, char *toprint);
void gfx_printandclear(char *in, int length);
void gfx_printfilesize(int size, char *type);
extern int printerrors;