tables: full port of imgui_tables.cpp (layout, borders, draw channel merge, sorting, headers, angled headers, context menu, .ini settings, reconcile, GC) + legacy Columns API; demo: ShowUserGuide, DemoWindowColumns; misc widget aliases

This commit is contained in:
4DBug
2026-10-08 06:53:00 -05:00
parent 9860373ce5
commit 701d1d3449
8 changed files with 9260 additions and 14 deletions
+16
View File
@@ -6807,6 +6807,22 @@ end
-- [SECTION] TREES
----------------------------------------------------------------
-- va_list variants: identical in Lua (varargs)
ImGui.TextColoredV = function(...) return ImGui.TextColored(...) end
ImGui.TextDisabledV = function(...) return ImGui.TextDisabled(...) end
ImGui.TextWrappedV = function(...) return ImGui.TextWrapped(...) end
ImGui.TextAlignedV = function(...) return ImGui.TextAligned(...) end
ImGui.LabelTextV = function(...) return ImGui.LabelText(...) end
ImGui.BulletTextV = function(...) return ImGui.BulletText(...) end
--- @param data_type ImGuiDataType
--- @param v number
function ImGui.SetNextItemRefVal(data_type, v)
local g = GImGui
g.NextItemData.HasFlags = bit32.bor(g.NextItemData.HasFlags, ImGuiNextItemDataFlags.HasRefVal)
g.NextItemData.RefVal = v
end
-- Overloads: TreeNode(label) / TreeNode(str_id, fmt, ...)
--- @param label string
function ImGui.TreeNode(label, fmt, ...)