woops meant to add to last commit

This commit is contained in:
2026-03-03 02:17:52 -05:00
parent de6c7754cb
commit 322366719e
3 changed files with 70 additions and 65 deletions

View File

@@ -113,6 +113,10 @@ S32 ui_modal(const char *id, const char *title, const char *message,
const char **buttons, S32 button_count);
B32 ui_modal_is_active();
// Tab bar. Renders a row of tabs with active/inactive states.
// Returns the currently selected index. Clicking an inactive tab updates *selected.
S32 ui_tab_bar(const char *id, const char **labels, S32 count, S32 *selected);
// Draggable floating window. content_fn is called inside the window body each frame.
// *open is set to 0 when the close button is clicked. Returns true while window is open.
typedef void (*UI_WindowContentFn)(void *user_data);