Safety first (for deletions)

This commit is contained in:
SuchMemeManySkill
2020-12-25 23:10:23 +01:00
parent 9c47d11843
commit a74a8814e1
6 changed files with 67 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include "gfx.h"
#include "menu.h"
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_DEFAULT 0xFF1B1B1B
@@ -10,6 +11,7 @@
#define SETCOLOR(fg, bg) gfx_con_setcol(fg, 1, bg)
#define RESETCOLOR SETCOLOR(COLOR_WHITE, COLOR_DEFAULT);
u32 FromRGBtoU32(u8 r, u8 g, u8 b);
#define RGBUnionToU32(optionUnion) (optionUnion | 0xFF000000)
void gfx_clearscreen();
void gfx_clearscreen();
int MakeHorizontalMenu(MenuEntry_t *entries, int len, int spacesBetween, u32 bg);