mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-03 18:44:34 +00:00
MultiSelect: Better document how TreeNode() is not trivially usable yet.
Will revert when the time is right.
This commit is contained in:
@@ -3317,6 +3317,8 @@ static void ShowDemoWindowMultiSelect()
|
||||
if (ImGui::RadioButton("Selectables", widget_type == WidgetType_Selectable)) { widget_type = WidgetType_Selectable; }
|
||||
ImGui::SameLine();
|
||||
if (ImGui::RadioButton("Tree nodes", widget_type == WidgetType_TreeNode)) { widget_type = WidgetType_TreeNode; }
|
||||
ImGui::SameLine();
|
||||
HelpMarker("TreeNode() is technically supported but... using this correctly is more complicated (you need some sort of linear/random access to your tree, which is suited to advanced trees setups already implementing filters and clipper. We will work toward simplifying and demoing this.\n\nFor now the tree demo is actually a little bit meaningless because it is an empty tree with only root nodes.");
|
||||
ImGui::Checkbox("Enable clipper", &use_clipper);
|
||||
ImGui::Checkbox("Enable deletion", &use_deletion);
|
||||
ImGui::Checkbox("Enable drag & drop", &use_drag_drop);
|
||||
|
||||
Reference in New Issue
Block a user