diff options
| author | 3gg <3gg@shellblade.net> | 2026-03-25 19:59:14 -0700 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2026-03-25 19:59:14 -0700 |
| commit | 4152fbecb6ee8360575aa4c24e9cedf822f159dc (patch) | |
| tree | 9e9b9db0216a37c5867d472a65289502c459691f /src/ui.c | |
| parent | 7778755c20e779554cd654ecdf7404d37b723fcc (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -8,6 +8,7 @@ | |||
| 8 | 8 | ||
| 9 | bool uiInit(void) { | 9 | bool 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; |
