Add settings menu
This commit is contained in:
@@ -13,9 +13,16 @@ void uiPushDivParentPercentage(f32 xPercent, f32 yPercent);
|
||||
// Template stuff
|
||||
void uiBaseLabel(const char *txt, Font font, f32 scl);
|
||||
bool uiBaseTextButton(const char *txt, Font font, f32 scl);
|
||||
void uiBaseCheckbox(const char *txt, Font font, f32 scl, bool *check);
|
||||
void uiBaseSlider(const char *txt, Font font, f32 scl, f32 *value, f32 min, f32 max);
|
||||
|
||||
// actual UI
|
||||
void uiMainMenuLabel(const char *txt);
|
||||
bool uiMainMenuButton(const char *txt);
|
||||
|
||||
void uiSettingsLabel(const char *txt);
|
||||
bool uiSettingsButton(const char *txt);
|
||||
void uiSettingsCheckbox(const char *txt, bool *check);
|
||||
void uiSettingsSlider(const char *txt, f32 *value);
|
||||
|
||||
#endif //PIXELDEFENSE_UI_WIDGETS_H
|
||||
|
||||
Reference in New Issue
Block a user