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
// Default value is pulled from style.TreeLinesFlags. May be overridden in TreeNode calls.
1258
1258
ImGuiTreeNodeFlags_DrawLinesNone = 1 << 18, // No lines drawn
1259
-
ImGuiTreeNodeFlags_DrawLinesFull = 1 << 19, // Horizontal lines to child nodes. Vertical line drawn down to TreePop() position: cover full contents.
1260
-
ImGuiTreeNodeFlags_DrawLinesToNodes = 1 << 20, // Horizontal lines to child nodes. Vertical line drawn down to bottom-most child node. A little bit slower.
1259
+
ImGuiTreeNodeFlags_DrawLinesFull = 1 << 19, // Horizontal lines to child nodes. Vertical line drawn down to TreePop() position: cover full contents. Faster (for large trees).
1260
+
ImGuiTreeNodeFlags_DrawLinesToNodes = 1 << 20, // Horizontal lines to child nodes. Vertical line drawn down to bottom-most child node. Slower (for large trees).
1261
1261
1262
1262
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
1263
1263
ImGuiTreeNodeFlags_AllowItemOverlap = ImGuiTreeNodeFlags_AllowOverlap, // Renamed in 1.89.7
ImVec2 MenuBarOffset; // MenuBarOffset.x is sort of equivalent of a per-layer CursorPos.x, saved/restored as we switch to the menu bar. The only situation when MenuBarOffset.y is > 0 if when (SafeAreaPadding.y > FramePadding.y), often used on TVs.
2682
2687
ImGuiMenuColumns MenuColumns; // Simplified columns storage for menu items measurement
2683
2688
int TreeDepth; // Current tree depth.
2684
-
ImU32 TreeHasStackDataDepthMask; // Store whether given depth has ImGuiTreeNodeStackData data. Could be turned into a ImU64 if necessary.
2689
+
ImU32 TreeHasStackDataDepthMask; // Store whether given depth has ImGuiTreeNodeStackData data. Could be turned into a ImU64 if necessary.
2690
+
ImU32 TreeRecordsClippedNodesY2Mask; // Store whether we should keep recording Y2. Cleared when passing clip max. Equivalent TreeHasStackDataDepthMask value should always be set.
2685
2691
ImVector<ImGuiWindow*> ChildWindows;
2686
2692
ImGuiStorage* StateStorage; // Current persistent per-window storage (store e.g. tree node open/close state)
2687
2693
ImGuiOldColumns* CurrentColumns; // Current columns set
#defineIM_COL32_DISABLEIM_COL32(0,0,0,1) // Special sentinel code which cannot be used as a regular color.
2945
-
#defineIMGUI_TABLE_MAX_COLUMNS512// May be further lifted
2946
-
2947
-
// Our current column maximum is 64 but we may raise that in the future.
2948
-
typedef ImS16 ImGuiTableColumnIdx;
2949
-
typedef ImU16 ImGuiTableDrawChannelIdx;
2951
+
#defineIMGUI_TABLE_MAX_COLUMNS512// Arbitrary "safety" maximum, may be lifted in the future if needed. Must fit in ImGuiTableColumnIdx/ImGuiTableDrawChannelIdx.
2950
2952
2951
2953
// [Internal] sizeof() ~ 112
2952
2954
// We use the terminology "Enabled" to refer to a column that is not Hidden by user/api.
// When using public API, currently 'id == storage_id' is always true, but we separate the values to facilitate advanced user code doing storage queries outside of UI loop.
parent_data->DrawLinesY2 = ImMax(parent_data->DrawLinesY2, window->DC.CursorPos.y); // Don't need to aim to mid Y position as we are clipped anyway.
6671
+
parent_data->DrawLinesToNodesY2 = ImMax(parent_data->DrawLinesToNodesY2, window->DC.CursorPos.y); // Don't need to aim to mid Y position as we are clipped anyway.
0 commit comments