diff 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
line wrap: on
line diff
--- a/libmlk-ui/mlk/ui/ui.h	Sat Mar 04 20:38:00 2023 +0100
+++ b/libmlk-ui/mlk/ui/ui.h	Sun Mar 05 10:51:25 2023 +0100
@@ -23,11 +23,14 @@
 
 /* TODO: make this a global variable to allow modification of default theme. */
 /* https://lospec.com/palette-list/duel */
-#define MLK_UI_COLOR_TEXT       0x222323ff
-#define MLK_UI_COLOR_SELECTED   0x55b67dff
-#define MLK_UI_COLOR_BG         0xf5f7faff
-#define MLK_UI_COLOR_BORDER     0xcdd2daff
-#define MLK_UI_COLOR_DEBUG      0xe45c5fff
+#define MLK_UI_COLOR_TEXT       (0x222323ff)
+#define MLK_UI_COLOR_SELECTED   (0x55b67dff)
+#define MLK_UI_COLOR_BG         (0xf5f7faff)
+#define MLK_UI_COLOR_BORDER     (0xcdd2daff)
+#define MLK_UI_COLOR_DEBUG      (0xe45c5fff)
+
+#define MLK_UI_PADDING          (10)
+#define MLK_UI_BORDER           (2)
 
 enum mlk_align;