You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/TODO.txt
-1
Original file line number
Diff line number
Diff line change
@@ -187,7 +187,6 @@ It's mostly a bunch of personal notes, probably incomplete. Feel free to query i
187
187
- tree node / selectable render mismatch which is visible if you use them both next to each other (e.g. cf. property viewer)
188
188
- tree node: tweak color scheme to distinguish headers from selected tree node (#581)
189
189
- tree node: leaf/non-leaf highlight mismatch.
190
-
- tree node: flag to disable formatting and/or detect "%s"
191
190
- tree node/opt: could avoid formatting when clipped (flag assuming we don't care about width/height, assume single line height? format only %s/%c to be able to count height?)
192
191
193
192
- settings: write more decent code to allow saving/loading new fields: columns, selected tree nodes?
Copy file name to clipboardExpand all lines: imgui.h
+4-3
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@
24
24
// Library Version
25
25
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM >= 12345')
26
26
#defineIMGUI_VERSION"1.90 WIP"
27
-
#defineIMGUI_VERSION_NUM18993
27
+
#defineIMGUI_VERSION_NUM18994
28
28
#defineIMGUI_HAS_TABLE
29
29
30
30
/*
@@ -1055,7 +1055,8 @@ enum ImGuiTreeNodeFlags_
1055
1055
ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding().
1056
1056
ImGuiTreeNodeFlags_SpanAvailWidth = 1 << 11, // Extend hit box to the right-most edge, even if not framed. This is not the default in order to allow adding other items on the same line. In the future we may refactor the hit system to be front-to-back, allowing natural overlaps and then this can become the default.
1057
1057
ImGuiTreeNodeFlags_SpanFullWidth = 1 << 12, // Extend hit box to the left-most and right-most edges (bypass the indented area).
1058
-
ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop)
1058
+
ImGuiTreeNodeFlags_SpanAllColumns = 1 << 13, // Frame will span all columns of its container table (text will still fit in current column)
1059
+
ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 14, // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop)
1059
1060
//ImGuiTreeNodeFlags_NoScrollOnOpen = 1 << 14, // FIXME: TODO: Disable automatic scroll on TreePop() if node got just open and contents is not visible
ImGui::CheckboxFlags("ImGuiTreeNodeFlags_SpanAvailWidth", &base_flags, ImGuiTreeNodeFlags_SpanAvailWidth); ImGui::SameLine(); HelpMarker("Extend hit area to all available width instead of allowing more items to be laid out after the node.");
ImGui::CheckboxFlags("ImGuiTreeNodeFlags_SpanAllColumns", &base_flags, ImGuiTreeNodeFlags_SpanAllColumns); ImGui::SameLine(); HelpMarker("For use in Tables only.");
915
916
ImGui::Checkbox("Align label with current X position", &align_label_with_current_x_position);
916
917
ImGui::Checkbox("Test tree node as drag source", &test_drag_and_drop);
0 commit comments