1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-09-19 21:43:40 +01:00
TegraExplorer/source/tegraexplorer/gfx.h
Such Meme, Many Skill 3f6d1b532c (Attempt at) Implement restoring bis
1 switch was harmed in the making of this commit
2020-03-15 12:35:18 +01:00

17 lines
663 B
C

#pragma once
#include "te.h"
#include "fs.h"
#include "../gfx/gfx.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)
int makemenu(menu_item menu[], int menuamount);
int message(u32 color, const char* message, ...);
void clearscreen();
int makefilemenu(fs_entry *files, int amount, char *path);
void printbytes(u8 print[], u32 size, u32 offset);
int makewaitmenu(char *initialmessage, char *hiddenmessage, int timer);
void gfx_print_length(int size, char *toprint);
int makewaitmenunoclear(char *initialmessage, char *hiddenmessage, int timer);