Add top bar game UI

This commit is contained in:
2023-12-28 09:47:55 +01:00
parent 0d09ffd67d
commit 118f7f9d93
6 changed files with 99 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ extern BzUI *UI; // defined in main.c
f32 uiGetScale();
void uiPushDivParentPercentage(f32 xPercent, f32 yPercent);
BzUINode *uiPushDivParentPercentage(f32 xPercent, f32 yPercent);
// Template stuff
void uiBaseLabel(const char *txt, Font font, f32 scl);
@@ -25,4 +25,6 @@ bool uiSettingsButton(const char *txt);
void uiSettingsCheckbox(const char *txt, bool *check);
void uiSettingsSlider(const char *txt, f32 *value);
void uiGameResCount(i32 amount, i32 capacity, Rectangle icon, Texture2D texture);
#endif //PIXELDEFENSE_UI_WIDGETS_H