improve sw renderer
This commit is contained in:
parent
415d424057
commit
39ee0fefb7
89 changed files with 9380 additions and 2307 deletions
41
src/gui/pxl8_gui_palette.h
Normal file
41
src/gui/pxl8_gui_palette.h
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
#pragma once
|
||||
|
||||
#include "pxl8_types.h"
|
||||
|
||||
#define PXL8_UI_PALETTE_SIZE 16
|
||||
|
||||
#define PXL8_UI_BG0 0
|
||||
#define PXL8_UI_BG1 1
|
||||
#define PXL8_UI_BG2 2
|
||||
#define PXL8_UI_BG3 3
|
||||
#define PXL8_UI_FG0 4
|
||||
#define PXL8_UI_FG1 5
|
||||
#define PXL8_UI_FG2 6
|
||||
#define PXL8_UI_FG3 7
|
||||
#define PXL8_UI_RED 8
|
||||
#define PXL8_UI_GREEN 9
|
||||
#define PXL8_UI_YELLOW 10
|
||||
#define PXL8_UI_BLUE 11
|
||||
#define PXL8_UI_PURPLE 12
|
||||
#define PXL8_UI_AQUA 13
|
||||
#define PXL8_UI_ORANGE 14
|
||||
#define PXL8_UI_GRAY 15
|
||||
|
||||
static const u32 pxl8_ui_palette[PXL8_UI_PALETTE_SIZE] = {
|
||||
0xFF282828,
|
||||
0xFF3c3836,
|
||||
0xFF504945,
|
||||
0xFF665c54,
|
||||
0xFFc7f1fb,
|
||||
0xFFb2dbeb,
|
||||
0xFFa1c4d5,
|
||||
0xFF93aebd,
|
||||
0xFF3449fb,
|
||||
0xFF26bbb8,
|
||||
0xFF2fbdfa,
|
||||
0xFF98a583,
|
||||
0xFF9b86d3,
|
||||
0xFF7cc08e,
|
||||
0xFF1980fe,
|
||||
0xFF928374,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue