mirror of
https://github.com/modmii/SysCheck-ModMii-Edition.git
synced 2024-11-17 21:59:20 +01:00
599d578ecf
-Fixed a translation for "Unknown". -Moved a few functions around. -Made the "Sorting IOS titles" part faster by removing unnecessary SD mount/unmount
25 lines
756 B
C
25 lines
756 B
C
#ifndef __GUI_H__
|
|
#define __GUI_H__
|
|
|
|
#include <grrlib.h>
|
|
|
|
#define HEX_WHITE 0xFFFFFFFF
|
|
#define HEX_BLACK 0x00000000
|
|
|
|
#define CopyBuf() GRRLIB_Screen2Texture(0, 0, tex_ScreenBuf, GX_FALSE)
|
|
#define DrawBuf() GRRLIB_DrawImg(0, 0, tex_ScreenBuf, 0, 1, 1, HEX_WHITE)
|
|
|
|
int initGUI(void);
|
|
void deinitGUI(void);
|
|
int printError(const char* msg);
|
|
int printSuccess(const char* msg);
|
|
int printLoading(const char* msg);
|
|
int printSelectIOS(const char* msg, const char* ios);
|
|
int printLoadingBar(const char* msg, const f32 percent);
|
|
int printEndSuccess(const char* msg);
|
|
int printEndError(const char* msg);
|
|
int printReport(char report[200][100], int firstLine, bool completeReport);
|
|
int printUploadSuccess(const char* msg);
|
|
int printUploadError(const char* msg);
|
|
|
|
#endif |