comparison libmlk-ui/mlk/ui/ui.h @ 534:88e9bd420a28

rpg: add delegate/style support to mlk_message
author David Demelier <markand@malikania.fr>
date Sun, 05 Mar 2023 10:51:25 +0100
parents 6e8f6640e05b
children ed1d3244ed57
comparison
equal deleted inserted replaced
533:79afc6d5cc7e 534:88e9bd420a28
21 21
22 #include <mlk/core/core.h> 22 #include <mlk/core/core.h>
23 23
24 /* TODO: make this a global variable to allow modification of default theme. */ 24 /* TODO: make this a global variable to allow modification of default theme. */
25 /* https://lospec.com/palette-list/duel */ 25 /* https://lospec.com/palette-list/duel */
26 #define MLK_UI_COLOR_TEXT 0x222323ff 26 #define MLK_UI_COLOR_TEXT (0x222323ff)
27 #define MLK_UI_COLOR_SELECTED 0x55b67dff 27 #define MLK_UI_COLOR_SELECTED (0x55b67dff)
28 #define MLK_UI_COLOR_BG 0xf5f7faff 28 #define MLK_UI_COLOR_BG (0xf5f7faff)
29 #define MLK_UI_COLOR_BORDER 0xcdd2daff 29 #define MLK_UI_COLOR_BORDER (0xcdd2daff)
30 #define MLK_UI_COLOR_DEBUG 0xe45c5fff 30 #define MLK_UI_COLOR_DEBUG (0xe45c5fff)
31
32 #define MLK_UI_PADDING (10)
33 #define MLK_UI_BORDER (2)
31 34
32 enum mlk_align; 35 enum mlk_align;
33 36
34 struct mlk_font; 37 struct mlk_font;
35 38