Cleaned up some UI code.

This commit is contained in:
2021-09-12 13:01:20 -07:00
parent ecd5c0c47c
commit 8d69d12728
21 changed files with 74 additions and 426 deletions

View File

@ -15,17 +15,6 @@ bool sandboxSceneInit(sandboxscene_t *game) {
assetShaderLoad(&game->shader,
"shaders/textured.vert", "shaders/textured.frag"
);
xml_t xml;
xmlLoad(&xml, "<a><b>Hello World</b><b>Hello Bruh</b></a>", 0);
for(uint8_t i = 0; i < xml.childrenCount; i++) {
printf("Value: %s\n", xml.children[i].value);
}
framedTextMenuInit(&menu, &game->font, &game->texture);

View File

@ -20,7 +20,7 @@
#include "../../file/xml.h"
#include "../../ui/grid.h"
#include "../../ui/menuv2.h"
#include "../../ui/menu.h"
#include "../../ui/textmenu.h"
#include "../../ui/framedtextmenu.h"