diff options
| author | KonAki <konaki@anokonaki.org> | 2026-10-18 04:04:58 +0800 |
|---|---|---|
| committer | KonAki <konaki@anokonaki.org> | 2026-10-18 04:04:58 +0800 |
| commit | 2e3f2eb4a4c2e65b6a2097658a75924e66302061 (patch) | |
| tree | 54d3b30d6e812fb2c42c07f2749ab3dfa6389501 /kon/konui.h | |
| parent | a6e6b1dd783b02b502cf9bebc1842edbdd76eb10 (diff) | |
konui: kon_uiNextWidth for rows of buttons
Diffstat (limited to 'kon/konui.h')
| -rw-r--r-- | kon/konui.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kon/konui.h b/kon/konui.h index 98a1f08..c055b06 100644 --- a/kon/konui.h +++ b/kon/konui.h @@ -133,6 +133,10 @@ void kon_uiIndent(kon_ui_t *ui, int amount); void kon_uiSeparator(kon_ui_t *ui); void kon_uiSameLine(kon_ui_t *ui); + +/* the width in pixels of the next widget, for a row of buttons. it is back to the full width after that one widget */ +void kon_uiNextWidth(kon_ui_t *ui, int width); + void kon_uiPushId(kon_ui_t *ui, int id); void kon_uiPopId(kon_ui_t *ui); |
