From 2e3f2eb4a4c2e65b6a2097658a75924e66302061 Mon Sep 17 00:00:00 2001 From: KonAki Date: Sun, 18 Oct 2026 04:04:58 +0800 Subject: konui: kon_uiNextWidth for rows of buttons --- kon/konui.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kon/konui.h') 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); -- cgit