1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-11-13 23:46:42 +00:00
TegraExplorer/source/tegraexplorer/gfx.h

16 lines
561 B
C
Raw Normal View History

#pragma once
#include "te.h"
2019-12-01 00:49:36 +00:00
#include "fs.h"
2019-12-16 22:31:29 +00:00
#define SWAPCOLOR(color) gfx_printf("%k", color)
2020-03-03 14:19:42 +00:00
#define SWAPBGCOLOR(color) gfx_printf("%K", color)
2019-12-16 22:31:29 +00:00
#define RESETCOLOR gfx_printf("%k%K", COLOR_WHITE, COLOR_DEFAULT)
int makemenu(menu_item menu[], int menuamount);
int message(u32 color, const char* message, ...);
2019-12-01 00:49:36 +00:00
void clearscreen();
2019-12-07 20:49:58 +00:00
int makefilemenu(fs_entry *files, int amount, char *path);
2019-12-11 12:18:57 +00:00
void printbytes(u8 print[], u32 size, u32 offset);
int makewaitmenu(char *initialmessage, char *hiddenmessage, int timer);
void gfx_print_length(int size, char *toprint);