2020-07-08 07:30:37 +08:00
|
|
|
#ifndef UI_H
|
|
|
|
#define UI_H
|
|
|
|
|
2020-07-11 09:08:17 +08:00
|
|
|
#define ui_type uint8_t
|
|
|
|
|
|
|
|
#define UI_NULL 0
|
|
|
|
#define UI_INT 1
|
|
|
|
#define UI_FLOAT 2
|
|
|
|
#define UI_CHAR 3
|
2020-07-12 09:39:17 +08:00
|
|
|
#define UI_STRING 4
|
2020-07-11 09:08:17 +08:00
|
|
|
|
2020-07-10 06:58:17 +08:00
|
|
|
//void startUI();
|
2020-07-08 07:30:37 +08:00
|
|
|
|
2020-07-12 09:39:17 +08:00
|
|
|
void addLine(char* msg, void* var, int size, ui_type type);
|
2020-07-09 08:26:08 +08:00
|
|
|
|
|
|
|
void drawUI();
|
2020-07-08 07:30:37 +08:00
|
|
|
|
2020-07-10 06:58:17 +08:00
|
|
|
void endUI();
|
|
|
|
|
2020-07-08 07:30:37 +08:00
|
|
|
#endif
|