demo: port all Widgets sections, ShowStyleEditor/ShowStyleSelector, menus; fix crashes found by click fuzzer (color/scalar default args, InputTextWithHint string hint, AddText overload, splitter reset, CollapsingHeader close button, callback data methods, SetKeyboardFocusHere & misc getters)

This commit is contained in:
4DBug committed 2026-10-08 08:06:00 -05:00
1 parent bc117e42da
commit dab36caef9
10 files changed
+4386 -23

No files matched your search

+1 -5
View File
@@ -119,11 +119,7 @@ end
--- Closable header: CollapsingHeader(label, &p_open). Returns visible, open.
function DemoCollapsingHeaderClosable(label, open)
if not open then return false, open end
local visible = ImGui.CollapsingHeader(label, open)
-- ponytail: until CollapsingHeader(label, p_open) lands, a boolean 2nd arg is treated as flags=None by the library
if type(visible) == "table" then visible = visible[1] end
return visible, open
return ImGui.CollapsingHeader(label, open)
end
--- ImColor::HSV() as ImVec4