summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2026-03-25 19:59:14 -0700
committer3gg <3gg@shellblade.net>2026-03-25 19:59:14 -0700
commit4152fbecb6ee8360575aa4c24e9cedf822f159dc (patch)
tree9e9b9db0216a37c5867d472a65289502c459691f /src/ui.c
parent7778755c20e779554cd654ecdf7404d37b723fcc (diff)
Implement vertical and horizontal layouts. Use widget position properly when rendering. Toolbar, buttons and edit bars WIPmain
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui.c b/src/ui.c
index 4d09584..e281f2f 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -8,6 +8,7 @@
8 8
9bool uiInit(void) { 9bool uiInit(void) {
10 // TODO: Embed the font into the library instead. 10 // TODO: Embed the font into the library instead.
11 // TODO: Better error reporting.
11 const char* font_path = "../ui/fontbaker/NK57.bin"; 12 const char* font_path = "../ui/fontbaker/NK57.bin";
12 if (!(g_ui.font = LoadFontAtlas(font_path))) { 13 if (!(g_ui.font = LoadFontAtlas(font_path))) {
13 return false; 14 return false;