Lines Matching refs:DC

2193     window->DC.CursorPosPrevLine.y = window->DC.CursorPos.y - line_height;      // Setting those fields so that SetScrollHereY() can properly function after the end of our clipper usage.
2194 window->DC.PrevLineSize.y = (line_height - GImGui->Style.ItemSpacing.y); // If we end up needing more accurate data (to e.g. use SameLine) we may as well make the clipper have a fourth step to let user process and display the last item in their list.
2195 if (window->DC.ColumnsSet)
2196 window->DC.ColumnsSet->LineMinY = window->DC.CursorPos.y; // Setting this so that cell Y position are set properly
2466 if (window->DC.NavHideHighlightOneFrame)
2665 const ImGuiNavLayer nav_layer = window->DC.NavLayerCurrent;
2672 if (window->DC.LastItemId == id)
2673 window->NavRectRel[nav_layer] = ImRect(window->DC.LastItemRect.Min - window->Pos, window->DC.LastItemRect.Max - window->Pos);
2717 //IM_ASSERT(g.CurrentWindow->DC.LastItemId == id);
2719 g.CurrentWindow->DC.LastItemStatusFlags |= ImGuiItemStatusFlags_Edited;
2751 const float line_height = ImMax(window->DC.CurrentLineSize.y, size.y);
2752 const float text_base_offset = ImMax(window->DC.CurrentLineTextBaseOffset, text_offset_y);
2753 //if (g.IO.KeyAlt) window->DrawList->AddRect(window->DC.CursorPos, window->DC.CursorPos + ImVec2(size.x, line_height), IM_COL32(255,0,0,200)); // [DEBUG]
2754 window->DC.CursorPosPrevLine = ImVec2(window->DC.CursorPos.x + size.x, window->DC.CursorPos.y);
2755 window->DC.CursorPos.x = (float)(int)(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x);
2756 window->DC.CursorPos.y = (float)(int)(window->DC.CursorPos.y + line_height + g.Style.ItemSpacing.y);
2757 window->DC.CursorMaxPos.x = ImMax(window->DC.CursorMaxPos.x, window->DC.CursorPosPrevLine.x);
2758 window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, window->DC.CursorPos.y - g.Style.ItemSpacing.y);
2759 //if (g.IO.KeyAlt) window->DrawList->AddCircle(window->DC.CursorMaxPos, 3.0f, IM_COL32(255,0,0,255), 4); // [DEBUG]
2761 window->DC.PrevLineSize.y = line_height;
2762 window->DC.PrevLineTextBaseOffset = text_base_offset;
2763 window->DC.CurrentLineSize.y = window->DC.CurrentLineTextBaseOffset = 0.0f;
2766 if (window->DC.LayoutType == ImGuiLayoutType_Horizontal)
2790 window->DC.NavLayerActiveMaskNext |= window->DC.NavLayerCurrentMask;
2797 window->DC.LastItemId = id;
2798 window->DC.LastItemRect = bb;
2799 window->DC.LastItemStatusFlags = ImGuiItemStatusFlags_None;
2814 window->DC.LastItemStatusFlags |= ImGuiItemStatusFlags_HoveredRect;
2829 if (!(window->DC.LastItemStatusFlags & ImGuiItemStatusFlags_HoveredRect))
2843 if (g.ActiveId != 0 && g.ActiveId != window->DC.LastItemId && !g.ActiveIdAllowOverlap && g.ActiveId != window->MoveId)
2851 if ((window->DC.ItemFlags & ImGuiItemFlags_Disabled) && !(flags & ImGuiHoveredFlags_AllowWhenDisabled))
2856 if (window->DC.LastItemId == window->MoveId && window->WriteAccessed)
2877 if (window->DC.ItemFlags & ImGuiItemFlags_Disabled)
2899 const bool is_tab_stop = (window->DC.ItemFlags & (ImGuiItemFlags_NoTabStop | ImGuiItemFlags_Disabled)) == 0;
2933 size.x = (size.x == 0.0f) ? default_x : ImMax(content_max.x - g.CurrentWindow->DC.CursorPos.x, 4.0f) + size.x;
2935 size.y = (size.y == 0.0f) ? default_y : ImMax(content_max.y - g.CurrentWindow->DC.CursorPos.y, 4.0f) + size.y;
3642 int count = window->DC.ChildWindows.Size;
3644 ImQsort(window->DC.ChildWindows.begin(), (size_t)count, sizeof(ImGuiWindow*), ChildWindowComparer);
3647 ImGuiWindow* child = window->DC.ChildWindows[i];
3692 for (int i = 0; i < window->DC.ChildWindows.Size; i++)
3694 ImGuiWindow* child = window->DC.ChildWindows[i];
3837 // This usually assert if there is a mismatch between the ImGuiWindowFlags_ChildWindow / ParentWindow values and DC.ChildWindows[] in parents, aka we've done something wrong.
3945 const ImVec2 pos = window->DC.CursorPos;
4212 return g.ActiveId == window->DC.LastItemId;
4223 if (g.ActiveId == window->DC.LastItemId && g.ActiveIdPreviousFrame != window->DC.LastItemId)
4233 return (g.ActiveIdPreviousFrame == window->DC.LastItemId && g.ActiveIdPreviousFrame != 0 && g.ActiveId != window->DC.LastItemId);
4247 if (g.NavId == 0 || g.NavDisableHighlight || g.NavId != window->DC.LastItemId)
4278 return window->ClipRect.Overlaps(window->DC.LastItemRect);
4284 return (window->DC.LastItemStatusFlags & ImGuiItemStatusFlags_Edited) != 0;
4291 if (g.HoveredId == g.CurrentWindow->DC.LastItemId)
4293 if (g.ActiveId == g.CurrentWindow->DC.LastItemId)
4300 return window->DC.LastItemRect.Min;
4306 return window->DC.LastItemRect.Max;
4312 return window->DC.LastItemRect.GetSize();
4359 parent_window->DC.CursorPos = child_window->Pos;
4362 if (g.NavActivateId == id && !(flags & ImGuiWindowFlags_NavFlattened) && (child_window->DC.NavLayerActiveMask != 0 || child_window->DC.NavHasScroll))
4404 ImRect bb(parent_window->DC.CursorPos, parent_window->DC.CursorPos + sz);
4406 if ((window->DC.NavLayerActiveMask != 0 || window->DC.NavHasScroll) && !(window->Flags & ImGuiWindowFlags_NavFlattened))
4412 if (window->DC.NavLayerActiveMask == 0 && window == g.NavWindow)
4446 // NOT checking: DC.ItemWidth, DC.AllowKeyboardFocus, DC.ButtonRepeat, DC.TextWrapPos (per window) to allow user to conveniently push once and not pop (they are cleared on Begin)
4448 short* p_backup = &window->DC.StackSizesBackup[0];
4450 { int current = window->DC.GroupStack.Size; if (write) *p_backup = (short)current; else IM_ASSERT(*p_backup == current && "BeginGroup/EndGroup Mismatch!"); p_backup++; } // Too few or too many EndGroup()
4456 IM_ASSERT(p_backup == window->DC.StackSizesBackup + IM_ARRAYSIZE(window->DC.StackSizesBackup));
4503 window->DC.CursorMaxPos = window->Pos; // So first call to CalcSizeContents() doesn't return crazy values
4566 sz.x = (float)(int)((window->SizeContentsExplicit.x != 0.0f) ? window->SizeContentsExplicit.x : (window->DC.CursorMaxPos.x - window->Pos.x + window->Scroll.x));
4567 sz.y = (float)(int)((window->SizeContentsExplicit.y != 0.0f) ? window->SizeContentsExplicit.y : (window->DC.CursorMaxPos.y - window->Pos.y + window->Scroll.y));
5038 window->DC.MenuBarOffset.x = ImMax(ImMax(window->WindowPadding.x, style.ItemSpacing.x), g.NextWindowData.MenuBarOffsetMinVal.x);
5039 window->DC.MenuBarOffset.y = g.NextWindowData.MenuBarOffsetMinVal.y;
5120 window->BeginOrderWithinParent = (short)parent_window->DC.ChildWindows.Size;
5121 parent_window->DC.ChildWindows.push_back(window);
5123 window->Pos = parent_window->DC.CursorPos;
5315 // (NB: That term "drawing context / DC" lost its meaning a long time ago. Initially was meant to hold transient data only. Nowadays difference between window-> and window->DC-> is dubious.)
5316 window->DC.Indent.x = 0.0f + window->WindowPadding.x - window->Scroll.x;
5317 window->DC.GroupOffset.x = 0.0f;
5318 window->DC.ColumnsOffset.x = 0.0f;
5319 window->DC.CursorStartPos = window->Pos + ImVec2(window->DC.Indent.x + window->DC.ColumnsOffset.x, window->TitleBarHeight() + window->MenuBarHeight() + window->WindowPadding.y - window->Scroll.y);
5320 window->DC.CursorPos = window->DC.CursorStartPos;
5321 window->DC.CursorPosPrevLine = window->DC.CursorPos;
5322 window->DC.CursorMaxPos = window->DC.CursorStartPos;
5323 window->DC.CurrentLineSize = window->DC.PrevLineSize = ImVec2(0.0f, 0.0f);
5324 window->DC.CurrentLineTextBaseOffset = window->DC.PrevLineTextBaseOffset = 0.0f;
5325 window->DC.NavHideHighlightOneFrame = false;
5326 window->DC.NavHasScroll = (GetWindowScrollMaxY(window) > 0.0f);
5327 window->DC.NavLayerActiveMask = window->DC.NavLayerActiveMaskNext;
5328 window->DC.NavLayerActiveMaskNext = 0x00;
5329 window->DC.MenuBarAppending = false;
5330 window->DC.LogLinePosY = window->DC.CursorPos.y - 9999.0f;
5331 window->DC.ChildWindows.resize(0);
5332 window->DC.LayoutType = ImGuiLayoutType_Vertical;
5333 window->DC.ParentLayoutType = parent_window ? parent_window->DC.LayoutType : ImGuiLayoutType_Vertical;
5334 window->DC.ItemFlags = parent_window ? parent_window->DC.ItemFlags : ImGuiItemFlags_Default_;
5335 window->DC.ItemWidth = window->ItemWidthDefault;
5336 window->DC.TextWrapPos = -1.0f; // disabled
5337 window->DC.ItemFlagsStack.resize(0);
5338 window->DC.ItemWidthStack.resize(0);
5339 window->DC.TextWrapPosStack.resize(0);
5340 window->DC.ColumnsSet = NULL;
5341 window->DC.TreeDepth = 0;
5342 window->DC.TreeDepthMayJumpToParentOnPop = 0x00;
5343 window->DC.StateStorage = &window->StateStorage;
5344 window->DC.GroupStack.resize(0);
5347 if ((flags & ImGuiWindowFlags_ChildWindow) && (window->DC.ItemFlags != parent_window->DC.ItemFlags))
5349 window->DC.ItemFlags = parent_window->DC.ItemFlags;
5350 window->DC.ItemFlagsStack.push_back(window->DC.ItemFlags);
5358 // Apply focus (we need to call FocusWindow() AFTER setting DC.CursorStartPos so our initial navigation reference rectangle can start around there)
5369 const ImGuiItemFlags item_flags_backup = window->DC.ItemFlags;
5370 window->DC.ItemFlags |= ImGuiItemFlags_NoNavDefaultFocus;
5371 window->DC.NavLayerCurrent = ImGuiNavLayer_Menu;
5372 window->DC.NavLayerCurrentMask = (1 << ImGuiNavLayer_Menu);
5388 window->DC.NavLayerCurrent = ImGuiNavLayer_Main;
5389 window->DC.NavLayerCurrentMask = (1 << ImGuiNavLayer_Main);
5390 window->DC.ItemFlags = item_flags_backup;
5446 window->DC.LastItemId = window->MoveId;
5447 window->DC.LastItemStatusFlags = IsMouseHoveringRect(title_bar_rect.Min, title_bar_rect.Max, false) ? ImGuiItemStatusFlags_HoveredRect : 0;
5448 window->DC.LastItemRect = title_bar_rect;
5516 if (window->DC.ColumnsSet != NULL)
5631 window->DC.ItemWidth = (item_width == 0.0f ? window->ItemWidthDefault : item_width);
5632 window->DC.ItemWidthStack.push_back(window->DC.ItemWidth);
5643 window->DC.ItemWidthStack.push_back(w_item_last);
5645 window->DC.ItemWidthStack.push_back(w_item_one);
5646 window->DC.ItemWidth = window->DC.ItemWidthStack.back();
5652 window->DC.ItemWidthStack.pop_back();
5653 window->DC.ItemWidth = window->DC.ItemWidthStack.empty() ? window->ItemWidthDefault : window->DC.ItemWidthStack.back();
5659 float w = window->DC.ItemWidth;
5707 window->DC.ItemFlags |= option;
5709 window->DC.ItemFlags &= ~option;
5710 window->DC.ItemFlagsStack.push_back(window->DC.ItemFlags);
5716 window->DC.ItemFlagsStack.pop_back();
5717 window->DC.ItemFlags = window->DC.ItemFlagsStack.empty() ? ImGuiItemFlags_Default_ : window->DC.ItemFlagsStack.back();
5744 window->DC.TextWrapPos = wrap_pos_x;
5745 window->DC.TextWrapPosStack.push_back(wrap_pos_x);
5751 window->DC.TextWrapPosStack.pop_back();
5752 window->DC.TextWrapPos = window->DC.TextWrapPosStack.empty() ? -1.0f : window->DC.TextWrapPosStack.back();
6036 window->DC.CursorMaxPos.x += window->Scroll.x; // SizeContents is generally computed based on CursorMaxPos which is affected by scroll position, so we need to apply our change to it.
6038 window->DC.CursorMaxPos.x -= window->Scroll.x;
6043 window->DC.CursorMaxPos.y += window->Scroll.y; // SizeContents is generally computed based on CursorMaxPos which is affected by scroll position, so we need to apply our change to it.
6045 window->DC.CursorMaxPos.y -= window->Scroll.y;
6061 window->DC.CursorPos += (window->Pos - old_pos); // As we happen to move the window while it is being appended to (which is a bad idea - will smear) let's at least offset the cursor
6062 window->DC.CursorMaxPos += (window->Pos - old_pos); // And more importantly we need to adjust this so size calculation doesn't get affected.
6237 if (window->DC.ColumnsSet)
6238 mx.x = GetColumnOffset(window->DC.ColumnsSet->Current + 1) - window->WindowPadding.x;
6245 return GetContentRegionMax() - (window->DC.CursorPos - window->Pos);
6326 // Conversion happens as we pass the value to user, but it makes our naming convention confusing because GetCursorPos() == (DC.CursorPos - window.Pos). May want to rename 'DC.CursorPos'.
6330 return window->DC.CursorPos - window->Pos + window->Scroll;
6336 return window->DC.CursorPos.x - window->Pos.x + window->Scroll.x;
6342 return window->DC.CursorPos.y - window->Pos.y + window->Scroll.y;
6348 window->DC.CursorPos = window->Pos - window->Scroll + local_pos;
6349 window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos);
6355 window->DC.CursorPos.x = window->Pos.x - window->Scroll.x + x;
6356 window->DC.CursorMaxPos.x = ImMax(window->DC.CursorMaxPos.x, window->DC.CursorPos.x);
6362 window->DC.CursorPos.y = window->Pos.y - window->Scroll.y + y;
6363 window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, window->DC.CursorPos.y);
6369 return window->DC.CursorStartPos - window->Pos;
6375 return window->DC.CursorPos;
6381 window->DC.CursorPos = pos;
6382 window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos);
6432 float target_y = window->DC.CursorPosPrevLine.y - window->Pos.y; // Top of last item, in window space
6433 target_y += (window->DC.PrevLineSize.y * center_y_ratio) + (GImGui->Style.ItemSpacing.y * (center_y_ratio - 0.5f) * 2.0f); // Precisely aim above, in the middle or below the last line.
6457 if (g.NavWindow == window->RootWindowForNav && (g.NavInitRequest || g.NavInitResultId != 0) && g.NavLayer == g.NavWindow->DC.NavLayerCurrent)
6460 g.NavInitResultId = g.NavWindow->DC.LastItemId;
6461 g.NavInitResultRectRel = ImRect(g.NavWindow->DC.LastItemRect.Min - g.NavWindow->Pos, g.NavWindow->DC.LastItemRect.Max - g.NavWindow->Pos);
6471 window->DC.StateStorage = tree ? tree : &window->StateStorage;
6477 return window->DC.StateStorage;
6532 return window->ClipRect.Overlaps(ImRect(window->DC.CursorPos, window->DC.CursorPos + size));
6547 window->DC.GroupStack.resize(window->DC.GroupStack.Size + 1);
6548 ImGuiGroupData& group_data = window->DC.GroupStack.back();
6549 group_data.BackupCursorPos = window->DC.CursorPos;
6550 group_data.BackupCursorMaxPos = window->DC.CursorMaxPos;
6551 group_data.BackupIndent = window->DC.Indent;
6552 group_data.BackupGroupOffset = window->DC.GroupOffset;
6553 group_data.BackupCurrentLineSize = window->DC.CurrentLineSize;
6554 group_data.BackupCurrentLineTextBaseOffset = window->DC.CurrentLineTextBaseOffset;
6555 group_data.BackupLogLinePosY = window->DC.LogLinePosY;
6560 window->DC.GroupOffset.x = window->DC.CursorPos.x - window->Pos.x - window->DC.ColumnsOffset.x;
6561 window->DC.Indent = window->DC.GroupOffset;
6562 window->DC.CursorMaxPos = window->DC.CursorPos;
6563 window->DC.CurrentLineSize = ImVec2(0.0f, 0.0f);
6564 window->DC.LogLinePosY = window->DC.CursorPos.y - 9999.0f; // To enforce Log carriage return
6571 IM_ASSERT(!window->DC.GroupStack.empty()); // Mismatched BeginGroup()/EndGroup() calls
6573 ImGuiGroupData& group_data = window->DC.GroupStack.back();
6575 ImRect group_bb(group_data.BackupCursorPos, window->DC.CursorMaxPos);
6578 window->DC.CursorPos = group_data.BackupCursorPos;
6579 window->DC.CursorMaxPos = ImMax(group_data.BackupCursorMaxPos, window->DC.CursorMaxPos);
6580 window->DC.Indent = group_data.BackupIndent;
6581 window->DC.GroupOffset = group_data.BackupGroupOffset;
6582 window->DC.CurrentLineSize = group_data.BackupCurrentLineSize;
6583 window->DC.CurrentLineTextBaseOffset = group_data.BackupCurrentLineTextBaseOffset;
6584 window->DC.LogLinePosY = window->DC.CursorPos.y - 9999.0f; // To enforce Log carriage return
6588 window->DC.CurrentLineTextBaseOffset = ImMax(window->DC.PrevLineTextBaseOffset, group_data.BackupCurrentLineTextBaseOffset); // FIXME: Incorrect, we should grab the base offset from the *first line* of the group but it is hard to obtain now.
6594 // It would be be neater if we replaced window.DC.LastItemId by e.g. 'bool LastItemIsActive', but would put a little more burden on individual widgets.
6597 window->DC.LastItemId = g.ActiveId;
6599 window->DC.LastItemId = g.ActiveIdPreviousFrame;
6600 window->DC.LastItemRect = group_bb;
6602 window->DC.GroupStack.pop_back();
6622 window->DC.CursorPos.x = window->Pos.x - window->Scroll.x + pos_x + spacing_w + window->DC.GroupOffset.x + window->DC.ColumnsOffset.x;
6623 window->DC.CursorPos.y = window->DC.CursorPosPrevLine.y;
6628 window->DC.CursorPos.x = window->DC.CursorPosPrevLine.x + spacing_w;
6629 window->DC.CursorPos.y = window->DC.CursorPosPrevLine.y;
6631 window->DC.CurrentLineSize = window->DC.PrevLineSize;
6632 window->DC.CurrentLineTextBaseOffset = window->DC.PrevLineTextBaseOffset;
6639 window->DC.Indent.x += (indent_w != 0.0f) ? indent_w : g.Style.IndentSpacing;
6640 window->DC.CursorPos.x = window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x;
6647 window->DC.Indent.x -= (indent_w != 0.0f) ? indent_w : g.Style.IndentSpacing;
6648 window->DC.CursorPos.x = window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x;
6803 ImGuiID id = str_id ? window->GetID(str_id) : window->DC.LastItemId; // If user hasn't passed an ID, we can use the LastItemID. Using LastItemID as a Popup ID won't conflict!
6899 window->DC.NavHideHighlightOneFrame = true;
6984 ImGuiID id = str_id ? window->GetID(str_id) : window->DC.LastItemId; // If user hasn't passed an ID, we can use the LastItemID. Using LastItemID as a Popup ID won't conflict!
7088 if (parent_window->DC.MenuBarAppending)
7163 if (g.NavLayer != window->DC.NavLayerCurrent)
7217 quadrant = (window->DC.LastItemId < g.NavId) ? ImGuiDir_Left : ImGuiDir_Right;
7297 const ImGuiItemFlags item_flags = window->DC.ItemFlags;
7301 if (g.NavInitRequest && g.NavLayer == window->DC.NavLayerCurrent)
7354 g.NavLayer = window->DC.NavLayerCurrent;
7357 window->NavRectRel[window->DC.NavLayerCurrent] = nav_bb_rel; // Store item bounding box (relative to window position)
7780 if (window->DC.NavLayerActiveMask == 0x00 && window->DC.NavHasScroll && g.NavMoveRequest)
7905 if (window->DC.NavLayerActiveMask == 0x00 && window->DC.NavHasScroll)
8081 if (apply_focus_window->DC.NavLayerActiveMask == (1 << ImGuiNavLayer_Menu))
8092 while ((new_nav_window->DC.NavLayerActiveMask & (1 << 1)) == 0
8104 NavRestoreLayer((g.NavWindow->DC.NavLayerActiveMask & (1 << ImGuiNavLayer_Menu)) ? (ImGuiNavLayer)((int)g.NavLayer ^ 1) : ImGuiNavLayer_Main);
8155 if (window->SkipItems || window->DC.ColumnsSet == NULL)
8162 ImGuiColumnsSet* columns = window->DC.ColumnsSet;
8163 columns->LineMaxY = ImMax(columns->LineMaxY, window->DC.CursorPos.y);
8167 window->DC.ColumnsOffset.x = GetColumnOffset(columns->Current) - window->DC.Indent.x + g.Style.ItemSpacing.x;
8172 window->DC.ColumnsOffset.x = 0.0f;
8177 window->DC.CursorPos.x = (float)(int)(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x);
8178 window->DC.CursorPos.y = columns->LineMinY;
8179 window->DC.CurrentLineSize = ImVec2(0.0f, 0.0f);
8180 window->DC.CurrentLineTextBaseOffset = 0.0f;
8189 return window->DC.ColumnsSet ? window->DC.ColumnsSet->Current : 0;
8195 return window->DC.ColumnsSet ? window->DC.ColumnsSet->Count : 1;
8230 ImGuiColumnsSet* columns = window->DC.ColumnsSet;
8258 ImGuiColumnsSet* columns = window->DC.ColumnsSet;
8270 ImGuiColumnsSet* columns = window->DC.ColumnsSet;
8291 ImGuiColumnsSet* columns = window->DC.ColumnsSet;
8302 ImGuiColumnsSet* columns = window->DC.ColumnsSet;
8327 IM_ASSERT(window->DC.ColumnsSet == NULL); // Nested columns are currently not supported
8341 window->DC.ColumnsSet = columns;
8345 columns->MinX = window->DC.Indent.x - g.Style.ItemSpacing.x; // Lock our horizontal range
8347 columns->StartPosY = window->DC.CursorPos.y;
8348 columns->StartMaxPosX = window->DC.CursorMaxPos.x;
8349 columns->LineMinY = columns->LineMaxY = window->DC.CursorPos.y;
8350 window->DC.ColumnsOffset.x = 0.0f;
8351 window->DC.CursorPos.x = (float)(int)(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x);
8389 ImGuiColumnsSet* columns = window->DC.ColumnsSet;
8396 columns->LineMaxY = ImMax(columns->LineMaxY, window->DC.CursorPos.y);
8397 window->DC.CursorPos.y = columns->LineMaxY;
8399 window->DC.CursorMaxPos.x = columns->StartMaxPosX; // Restore cursor max pos, as columns don't grow parent
8406 const float y2 = window->DC.CursorPos.y;
8447 window->DC.ColumnsSet = NULL;
8448 window->DC.ColumnsOffset.x = 0.0f;
8449 window->DC.CursorPos.x = (float)(int)(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x);
8460 if (window->DC.ColumnsSet != NULL && window->DC.ColumnsSet->Count == columns_count && window->DC.ColumnsSet->Flags == flags)
8463 if (window->DC.ColumnsSet != NULL)
8501 source_id = window->DC.LastItemId;
8521 bool is_hovered = (window->DC.LastItemStatusFlags & ImGuiItemStatusFlags_HoveredRect) != 0;
8524 source_id = window->DC.LastItemId = window->GetIDFromRectangle(window->DC.LastItemRect);
8581 window->DC.LastItemStatusFlags &= ~ImGuiItemStatusFlags_HoveredRect;
8680 if (!(window->DC.LastItemStatusFlags & ImGuiItemStatusFlags_HoveredRect))
8685 const ImRect& display_rect = (window->DC.LastItemStatusFlags & ImGuiItemStatusFlags_HasDisplayRect) ? window->DC.LastItemDisplayRect : window->DC.LastItemRect;
8686 ImGuiID id = window->DC.LastItemId;
8802 const bool log_new_line = ref_pos && (ref_pos->y > window->DC.LogLinePosY + 1);
8804 window->DC.LogLinePosY = ref_pos->y;
8807 if (g.LogStartDepth > window->DC.TreeDepth) // Re-adjust padding if we have popped out of our starting depth
8808 g.LogStartDepth = window->DC.TreeDepth;
8809 const int tree_depth = (window->DC.TreeDepth - g.LogStartDepth);
8843 g.LogStartDepth = window->DC.TreeDepth;
8871 g.LogStartDepth = window->DC.TreeDepth;
8887 g.LogStartDepth = window->DC.TreeDepth;
9395 ImGui::BulletText("NavLastIds: 0x%08X,0x%08X, NavLayerActiveMask: %X", window->NavLastIds[0], window->NavLastIds[1], window->DC.NavLayerActiveMask);
9403 if (window->DC.ChildWindows.Size > 0) NodeWindows(window->DC.ChildWindows, "ChildWindows");