Mercurial > molko
diff libmlk-ui/mlk/ui/ui.h @ 603:ed1d3244ed57
ui: start re-working delegates
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 10 Aug 2023 19:57:00 +0200 |
parents | 88e9bd420a28 |
children | 281608524dd1 |
line wrap: on
line diff
--- a/libmlk-ui/mlk/ui/ui.h Thu Aug 10 21:16:05 2023 +0200 +++ b/libmlk-ui/mlk/ui/ui.h Thu Aug 10 19:57:00 2023 +0200 @@ -20,6 +20,7 @@ #define MLK_UI_UI_H #include <mlk/core/core.h> +#include <mlk/core/font.h> /* TODO: make this a global variable to allow modification of default theme. */ /* https://lospec.com/palette-list/duel */ @@ -34,14 +35,12 @@ enum mlk_align; -struct mlk_font; - enum mlk_ui_font { MLK_UI_FONT_INTERFACE, MLK_UI_FONT_LAST }; -extern struct mlk_font *mlk_ui_fonts[MLK_UI_FONT_LAST]; +extern struct mlk_font mlk_ui_fonts[MLK_UI_FONT_LAST]; #if defined(__cplusplus) extern "C" {