1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-11-08 13:11:54 +00:00
TegraExplorer/source/gfx/gfxutils.h
SuchMemeManySkill 1a931b0256 Add errors
and prepare for file menu more
and fix that you can't go left right when going up down
2020-12-25 00:20:30 +01:00

15 lines
No EOL
376 B
C

#pragma once
#include "gfx.h"
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_DEFAULT 0xFF1B1B1B
#define COLOR_GREY 0xFF888888
#define COLOR_DARKGREY 0xFF333333
#define COLORTORGB(color) (color & 0x00FFFFFF)
#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);
void gfx_clearscreen();