2020-12-23 16:39:22 +00:00
|
|
|
#pragma once
|
|
|
|
#include "gfx.h"
|
2020-12-25 22:10:23 +00:00
|
|
|
#include "menu.h"
|
2020-12-23 16:39:22 +00:00
|
|
|
|
|
|
|
#define COLOR_WHITE 0xFFFFFFFF
|
|
|
|
#define COLOR_DEFAULT 0xFF1B1B1B
|
2020-12-23 23:31:17 +00:00
|
|
|
#define COLOR_GREY 0xFF888888
|
2020-12-24 23:20:30 +00:00
|
|
|
#define COLOR_DARKGREY 0xFF333333
|
2020-12-23 16:39:22 +00:00
|
|
|
|
|
|
|
#define COLORTORGB(color) (color & 0x00FFFFFF)
|
|
|
|
#define SETCOLOR(fg, bg) gfx_con_setcol(fg, 1, bg)
|
|
|
|
#define RESETCOLOR SETCOLOR(COLOR_WHITE, COLOR_DEFAULT);
|
|
|
|
|
2020-12-25 22:10:23 +00:00
|
|
|
#define RGBUnionToU32(optionUnion) (optionUnion | 0xFF000000)
|
2020-12-23 16:39:22 +00:00
|
|
|
|
2020-12-25 22:10:23 +00:00
|
|
|
void gfx_clearscreen();
|
2020-12-29 15:51:47 +00:00
|
|
|
int MakeHorizontalMenu(MenuEntry_t *entries, int len, int spacesBetween, u32 bg, int startPos);
|
2021-01-08 18:32:06 +00:00
|
|
|
int MakeYesNoHorzMenu(int spacesBetween, u32 bg);
|
|
|
|
void gfx_printTopInfo();
|