#ifndef UI_ROWS_H #define UI_ROWS_H #include "kryon_compat.generated.h" #include "ui_controls.h" typedef struct { const char *text; int font; Color color; } UIInfoRow; typedef struct { int x; int y; int width; int row_height; int padding_x; const UIInfoRow *rows; int row_count; Color background; Color separator; Color default_text; } InfoRowsProps; typedef struct { const char *label; UIButtonStyle style; int disabled; } UIButtonRowItem; typedef struct { int x; int y; int width; int height; int gap; const UIButtonRowItem *items; int count; } ButtonRowProps; typedef struct { const char *label; TextFieldProps field; int label_font; int label_h; int field_h; int gap; int bottom_gap; Color label_color; } LabelTextFieldProps; typedef struct { const char *label; int font; int info_button; int icon_diameter; int height; Color color; } SectionLabelProps; typedef struct { const char *label; int *value; int height; int disabled; } CheckboxRowProps; typedef struct { Rectangle bounds; const char *label; int font; int disabled; Color background; Color hover_background; Color border; Color hover_border; Color text; } OverlayButtonProps; int GetUILabelTextFieldHeight(LabelTextFieldProps row); int DrawUILabelTextField(LabelTextFieldProps row, int x, int y, int w); int DrawUISectionLabel(SectionLabelProps label, int x, int y); int DrawUICheckboxRow(CheckboxRowProps row, int x, int y); int DrawUIOverlayButton(OverlayButtonProps button); int DrawUIButtonRow(ButtonRowProps row); int GetUIButtonRowHeight(ButtonRowProps row); void DrawUIInfoRows(InfoRowsProps rows); #endif