• Home
  • Raw
  • Download

Lines Matching refs:DC

2193 …window->DC.CursorPosPrevLine.y = window->DC.CursorPos.y - line_height;      // Setting those field…  in SetCursorPosYAndSetupDummyPrevLine()
2194 …window->DC.PrevLineSize.y = (line_height - GImGui->Style.ItemSpacing.y); // If we end up needin… in SetCursorPosYAndSetupDummyPrevLine()
2195 if (window->DC.ColumnsSet) in SetCursorPosYAndSetupDummyPrevLine()
2196 …window->DC.ColumnsSet->LineMinY = window->DC.CursorPos.y; // Setting this so that cell Y… in SetCursorPosYAndSetupDummyPrevLine()
2466 if (window->DC.NavHideHighlightOneFrame) in RenderNavHighlight()
2665 const ImGuiNavLayer nav_layer = window->DC.NavLayerCurrent; in SetFocusID()
2672 if (window->DC.LastItemId == id) in SetFocusID()
2673 …window->NavRectRel[nav_layer] = ImRect(window->DC.LastItemRect.Min - window->Pos, window->DC.LastI… in SetFocusID()
2719 g.CurrentWindow->DC.LastItemStatusFlags |= ImGuiItemStatusFlags_Edited; in MarkItemEdited()
2751 const float line_height = ImMax(window->DC.CurrentLineSize.y, size.y); in ItemSize()
2752 const float text_base_offset = ImMax(window->DC.CurrentLineTextBaseOffset, text_offset_y); in ItemSize()
2754 window->DC.CursorPosPrevLine = ImVec2(window->DC.CursorPos.x + size.x, window->DC.CursorPos.y); in ItemSize()
2755 …window->DC.CursorPos.x = (float)(int)(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffs… in ItemSize()
2756 …window->DC.CursorPos.y = (float)(int)(window->DC.CursorPos.y + line_height + g.Style.ItemSpacing.y… in ItemSize()
2757 window->DC.CursorMaxPos.x = ImMax(window->DC.CursorMaxPos.x, window->DC.CursorPosPrevLine.x); in ItemSize()
2758 …window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, window->DC.CursorPos.y - g.Style.Item… in ItemSize()
2761 window->DC.PrevLineSize.y = line_height; in ItemSize()
2762 window->DC.PrevLineTextBaseOffset = text_base_offset; in ItemSize()
2763 window->DC.CurrentLineSize.y = window->DC.CurrentLineTextBaseOffset = 0.0f; in ItemSize()
2766 if (window->DC.LayoutType == ImGuiLayoutType_Horizontal) in ItemSize()
2790 window->DC.NavLayerActiveMaskNext |= window->DC.NavLayerCurrentMask; in ItemAdd()
2797 window->DC.LastItemId = id; in ItemAdd()
2798 window->DC.LastItemRect = bb; in ItemAdd()
2799 window->DC.LastItemStatusFlags = ImGuiItemStatusFlags_None; in ItemAdd()
2814 window->DC.LastItemStatusFlags |= ImGuiItemStatusFlags_HoveredRect; in ItemAdd()
2829 if (!(window->DC.LastItemStatusFlags & ImGuiItemStatusFlags_HoveredRect)) in IsItemHovered()
2843 …if (g.ActiveId != 0 && g.ActiveId != window->DC.LastItemId && !g.ActiveIdAllowOverlap && g.ActiveI… in IsItemHovered()
2851 …if ((window->DC.ItemFlags & ImGuiItemFlags_Disabled) && !(flags & ImGuiHoveredFlags_AllowWhenDisab… in IsItemHovered()
2856 if (window->DC.LastItemId == window->MoveId && window->WriteAccessed) in IsItemHovered()
2877 if (window->DC.ItemFlags & ImGuiItemFlags_Disabled) in ItemHoverable()
2899 …const bool is_tab_stop = (window->DC.ItemFlags & (ImGuiItemFlags_NoTabStop | ImGuiItemFlags_Disabl… in FocusableItemRegister()
2933 …size.x = (size.x == 0.0f) ? default_x : ImMax(content_max.x - g.CurrentWindow->DC.CursorPos.x, 4.0… in CalcItemSize()
2935 …size.y = (size.y == 0.0f) ? default_y : ImMax(content_max.y - g.CurrentWindow->DC.CursorPos.y, 4.0… in CalcItemSize()
3642 int count = window->DC.ChildWindows.Size; in AddWindowToSortBuffer()
3644 …ImQsort(window->DC.ChildWindows.begin(), (size_t)count, sizeof(ImGuiWindow*), ChildWindowComparer); in AddWindowToSortBuffer()
3647 ImGuiWindow* child = window->DC.ChildWindows[i]; in AddWindowToSortBuffer()
3692 for (int i = 0; i < window->DC.ChildWindows.Size; i++) in AddWindowToDrawData()
3694 ImGuiWindow* child = window->DC.ChildWindows[i]; in AddWindowToDrawData()
3945 const ImVec2 pos = window->DC.CursorPos; in CalcListClipping()
4212 return g.ActiveId == window->DC.LastItemId; in IsItemActive()
4223 if (g.ActiveId == window->DC.LastItemId && g.ActiveIdPreviousFrame != window->DC.LastItemId) in IsItemActivated()
4233 …urn (g.ActiveIdPreviousFrame == window->DC.LastItemId && g.ActiveIdPreviousFrame != 0 && g.ActiveI… in IsItemDeactivated()
4247 if (g.NavId == 0 || g.NavDisableHighlight || g.NavId != window->DC.LastItemId) in IsItemFocused()
4278 return window->ClipRect.Overlaps(window->DC.LastItemRect); in IsItemVisible()
4284 return (window->DC.LastItemStatusFlags & ImGuiItemStatusFlags_Edited) != 0; in IsItemEdited()
4291 if (g.HoveredId == g.CurrentWindow->DC.LastItemId) in SetItemAllowOverlap()
4293 if (g.ActiveId == g.CurrentWindow->DC.LastItemId) in SetItemAllowOverlap()
4300 return window->DC.LastItemRect.Min; in GetItemRectMin()
4306 return window->DC.LastItemRect.Max; in GetItemRectMax()
4312 return window->DC.LastItemRect.GetSize(); in GetItemRectSize()
4359 parent_window->DC.CursorPos = child_window->Pos; in BeginChildEx()
4362 …s & ImGuiWindowFlags_NavFlattened) && (child_window->DC.NavLayerActiveMask != 0 || child_window->D… in BeginChildEx()
4404 ImRect bb(parent_window->DC.CursorPos, parent_window->DC.CursorPos + sz); in EndChild()
4406 …if ((window->DC.NavLayerActiveMask != 0 || window->DC.NavHasScroll) && !(window->Flags & ImGuiWind… in EndChild()
4412 if (window->DC.NavLayerActiveMask == 0 && window == g.NavWindow) in EndChild()
4448 short* p_backup = &window->DC.StackSizesBackup[0]; in CheckStacksSize()
4450 …{ int current = window->DC.GroupStack.Size; if (write) *p_backup = (short)current; else IM_ASSERT(… in CheckStacksSize()
4456 IM_ASSERT(p_backup == window->DC.StackSizesBackup + IM_ARRAYSIZE(window->DC.StackSizesBackup)); in CheckStacksSize()
4503 …window->DC.CursorMaxPos = window->Pos; // So first call to CalcSizeContents() doesn't return crazy… in CreateNewWindow()
4566 …izeContentsExplicit.x != 0.0f) ? window->SizeContentsExplicit.x : (window->DC.CursorMaxPos.x - win… in CalcSizeContents()
4567 …izeContentsExplicit.y != 0.0f) ? window->SizeContentsExplicit.y : (window->DC.CursorMaxPos.y - win… in CalcSizeContents()
5038 …window->DC.MenuBarOffset.x = ImMax(ImMax(window->WindowPadding.x, style.ItemSpacing.x), g.NextWind… in Begin()
5039 window->DC.MenuBarOffset.y = g.NextWindowData.MenuBarOffsetMinVal.y; in Begin()
5120 window->BeginOrderWithinParent = (short)parent_window->DC.ChildWindows.Size; in Begin()
5121 parent_window->DC.ChildWindows.push_back(window); in Begin()
5123 window->Pos = parent_window->DC.CursorPos; in Begin()
5316 window->DC.Indent.x = 0.0f + window->WindowPadding.x - window->Scroll.x; in Begin()
5317 window->DC.GroupOffset.x = 0.0f; in Begin()
5318 window->DC.ColumnsOffset.x = 0.0f; in Begin()
5319 …window->DC.CursorStartPos = window->Pos + ImVec2(window->DC.Indent.x + window->DC.ColumnsOffset.x,… in Begin()
5320 window->DC.CursorPos = window->DC.CursorStartPos; in Begin()
5321 window->DC.CursorPosPrevLine = window->DC.CursorPos; in Begin()
5322 window->DC.CursorMaxPos = window->DC.CursorStartPos; in Begin()
5323 window->DC.CurrentLineSize = window->DC.PrevLineSize = ImVec2(0.0f, 0.0f); in Begin()
5324 window->DC.CurrentLineTextBaseOffset = window->DC.PrevLineTextBaseOffset = 0.0f; in Begin()
5325 window->DC.NavHideHighlightOneFrame = false; in Begin()
5326 window->DC.NavHasScroll = (GetWindowScrollMaxY(window) > 0.0f); in Begin()
5327 window->DC.NavLayerActiveMask = window->DC.NavLayerActiveMaskNext; in Begin()
5328 window->DC.NavLayerActiveMaskNext = 0x00; in Begin()
5329 window->DC.MenuBarAppending = false; in Begin()
5330 window->DC.LogLinePosY = window->DC.CursorPos.y - 9999.0f; in Begin()
5331 window->DC.ChildWindows.resize(0); in Begin()
5332 window->DC.LayoutType = ImGuiLayoutType_Vertical; in Begin()
5333 …window->DC.ParentLayoutType = parent_window ? parent_window->DC.LayoutType : ImGuiLayoutType_Verti… in Begin()
5334 … window->DC.ItemFlags = parent_window ? parent_window->DC.ItemFlags : ImGuiItemFlags_Default_; in Begin()
5335 window->DC.ItemWidth = window->ItemWidthDefault; in Begin()
5336 window->DC.TextWrapPos = -1.0f; // disabled in Begin()
5337 window->DC.ItemFlagsStack.resize(0); in Begin()
5338 window->DC.ItemWidthStack.resize(0); in Begin()
5339 window->DC.TextWrapPosStack.resize(0); in Begin()
5340 window->DC.ColumnsSet = NULL; in Begin()
5341 window->DC.TreeDepth = 0; in Begin()
5342 window->DC.TreeDepthMayJumpToParentOnPop = 0x00; in Begin()
5343 window->DC.StateStorage = &window->StateStorage; in Begin()
5344 window->DC.GroupStack.resize(0); in Begin()
5347 …if ((flags & ImGuiWindowFlags_ChildWindow) && (window->DC.ItemFlags != parent_window->DC.ItemFlags… in Begin()
5349 window->DC.ItemFlags = parent_window->DC.ItemFlags; in Begin()
5350 window->DC.ItemFlagsStack.push_back(window->DC.ItemFlags); in Begin()
5369 const ImGuiItemFlags item_flags_backup = window->DC.ItemFlags; in Begin()
5370 window->DC.ItemFlags |= ImGuiItemFlags_NoNavDefaultFocus; in Begin()
5371 window->DC.NavLayerCurrent = ImGuiNavLayer_Menu; in Begin()
5372 window->DC.NavLayerCurrentMask = (1 << ImGuiNavLayer_Menu); in Begin()
5388 window->DC.NavLayerCurrent = ImGuiNavLayer_Main; in Begin()
5389 window->DC.NavLayerCurrentMask = (1 << ImGuiNavLayer_Main); in Begin()
5390 window->DC.ItemFlags = item_flags_backup; in Begin()
5446 window->DC.LastItemId = window->MoveId; in Begin()
5447 …window->DC.LastItemStatusFlags = IsMouseHoveringRect(title_bar_rect.Min, title_bar_rect.Max, false… in Begin()
5448 window->DC.LastItemRect = title_bar_rect; in Begin()
5516 if (window->DC.ColumnsSet != NULL) in End()
5631 window->DC.ItemWidth = (item_width == 0.0f ? window->ItemWidthDefault : item_width); in PushItemWidth()
5632 window->DC.ItemWidthStack.push_back(window->DC.ItemWidth); in PushItemWidth()
5643 window->DC.ItemWidthStack.push_back(w_item_last); in PushMultiItemsWidths()
5645 window->DC.ItemWidthStack.push_back(w_item_one); in PushMultiItemsWidths()
5646 window->DC.ItemWidth = window->DC.ItemWidthStack.back(); in PushMultiItemsWidths()
5652 window->DC.ItemWidthStack.pop_back(); in PopItemWidth()
5653 …window->DC.ItemWidth = window->DC.ItemWidthStack.empty() ? window->ItemWidthDefault : window->DC.I… in PopItemWidth()
5659 float w = window->DC.ItemWidth; in CalcItemWidth()
5707 window->DC.ItemFlags |= option; in PushItemFlag()
5709 window->DC.ItemFlags &= ~option; in PushItemFlag()
5710 window->DC.ItemFlagsStack.push_back(window->DC.ItemFlags); in PushItemFlag()
5716 window->DC.ItemFlagsStack.pop_back(); in PopItemFlag()
5717 …window->DC.ItemFlags = window->DC.ItemFlagsStack.empty() ? ImGuiItemFlags_Default_ : window->DC.It… in PopItemFlag()
5744 window->DC.TextWrapPos = wrap_pos_x; in PushTextWrapPos()
5745 window->DC.TextWrapPosStack.push_back(wrap_pos_x); in PushTextWrapPos()
5751 window->DC.TextWrapPosStack.pop_back(); in PopTextWrapPos()
5752 …window->DC.TextWrapPos = window->DC.TextWrapPosStack.empty() ? -1.0f : window->DC.TextWrapPosStack… in PopTextWrapPos()
6036 …window->DC.CursorMaxPos.x += window->Scroll.x; // SizeContents is generally computed based on Curs… in SetWindowScrollX()
6038 window->DC.CursorMaxPos.x -= window->Scroll.x; in SetWindowScrollX()
6043 …window->DC.CursorMaxPos.y += window->Scroll.y; // SizeContents is generally computed based on Curs… in SetWindowScrollY()
6045 window->DC.CursorMaxPos.y -= window->Scroll.y; in SetWindowScrollY()
6061 …window->DC.CursorPos += (window->Pos - old_pos); // As we happen to move the window while it is… in SetWindowPos()
6062 …window->DC.CursorMaxPos += (window->Pos - old_pos); // And more importantly we need to adjust this… in SetWindowPos()
6237 if (window->DC.ColumnsSet) in GetContentRegionMax()
6238 mx.x = GetColumnOffset(window->DC.ColumnsSet->Current + 1) - window->WindowPadding.x; in GetContentRegionMax()
6245 return GetContentRegionMax() - (window->DC.CursorPos - window->Pos); in GetContentRegionAvail()
6330 return window->DC.CursorPos - window->Pos + window->Scroll; in GetCursorPos()
6336 return window->DC.CursorPos.x - window->Pos.x + window->Scroll.x; in GetCursorPosX()
6342 return window->DC.CursorPos.y - window->Pos.y + window->Scroll.y; in GetCursorPosY()
6348 window->DC.CursorPos = window->Pos - window->Scroll + local_pos; in SetCursorPos()
6349 window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); in SetCursorPos()
6355 window->DC.CursorPos.x = window->Pos.x - window->Scroll.x + x; in SetCursorPosX()
6356 window->DC.CursorMaxPos.x = ImMax(window->DC.CursorMaxPos.x, window->DC.CursorPos.x); in SetCursorPosX()
6362 window->DC.CursorPos.y = window->Pos.y - window->Scroll.y + y; in SetCursorPosY()
6363 window->DC.CursorMaxPos.y = ImMax(window->DC.CursorMaxPos.y, window->DC.CursorPos.y); in SetCursorPosY()
6369 return window->DC.CursorStartPos - window->Pos; in GetCursorStartPos()
6375 return window->DC.CursorPos; in GetCursorScreenPos()
6381 window->DC.CursorPos = pos; in SetCursorScreenPos()
6382 window->DC.CursorMaxPos = ImMax(window->DC.CursorMaxPos, window->DC.CursorPos); in SetCursorScreenPos()
6432 …float target_y = window->DC.CursorPosPrevLine.y - window->Pos.y; // Top of last item, in window sp… in SetScrollHereY()
6433 …target_y += (window->DC.PrevLineSize.y * center_y_ratio) + (GImGui->Style.ItemSpacing.y * (center_… in SetScrollHereY()
6457 …v && (g.NavInitRequest || g.NavInitResultId != 0) && g.NavLayer == g.NavWindow->DC.NavLayerCurrent) in SetItemDefaultFocus()
6460 g.NavInitResultId = g.NavWindow->DC.LastItemId; in SetItemDefaultFocus()
6461 …g.NavInitResultRectRel = ImRect(g.NavWindow->DC.LastItemRect.Min - g.NavWindow->Pos, g.NavWindow-> in SetItemDefaultFocus()
6471 window->DC.StateStorage = tree ? tree : &window->StateStorage; in SetStateStorage()
6477 return window->DC.StateStorage; in GetStateStorage()
6532 return window->ClipRect.Overlaps(ImRect(window->DC.CursorPos, window->DC.CursorPos + size)); in IsRectVisible()
6547 window->DC.GroupStack.resize(window->DC.GroupStack.Size + 1); in BeginGroup()
6548 ImGuiGroupData& group_data = window->DC.GroupStack.back(); in BeginGroup()
6549 group_data.BackupCursorPos = window->DC.CursorPos; in BeginGroup()
6550 group_data.BackupCursorMaxPos = window->DC.CursorMaxPos; in BeginGroup()
6551 group_data.BackupIndent = window->DC.Indent; in BeginGroup()
6552 group_data.BackupGroupOffset = window->DC.GroupOffset; in BeginGroup()
6553 group_data.BackupCurrentLineSize = window->DC.CurrentLineSize; in BeginGroup()
6554 group_data.BackupCurrentLineTextBaseOffset = window->DC.CurrentLineTextBaseOffset; in BeginGroup()
6555 group_data.BackupLogLinePosY = window->DC.LogLinePosY; in BeginGroup()
6560 window->DC.GroupOffset.x = window->DC.CursorPos.x - window->Pos.x - window->DC.ColumnsOffset.x; in BeginGroup()
6561 window->DC.Indent = window->DC.GroupOffset; in BeginGroup()
6562 window->DC.CursorMaxPos = window->DC.CursorPos; in BeginGroup()
6563 window->DC.CurrentLineSize = ImVec2(0.0f, 0.0f); in BeginGroup()
6564 window->DC.LogLinePosY = window->DC.CursorPos.y - 9999.0f; // To enforce Log carriage return in BeginGroup()
6571 IM_ASSERT(!window->DC.GroupStack.empty()); // Mismatched BeginGroup()/EndGroup() calls in EndGroup()
6573 ImGuiGroupData& group_data = window->DC.GroupStack.back(); in EndGroup()
6575 ImRect group_bb(group_data.BackupCursorPos, window->DC.CursorMaxPos); in EndGroup()
6578 window->DC.CursorPos = group_data.BackupCursorPos; in EndGroup()
6579 window->DC.CursorMaxPos = ImMax(group_data.BackupCursorMaxPos, window->DC.CursorMaxPos); in EndGroup()
6580 window->DC.Indent = group_data.BackupIndent; in EndGroup()
6581 window->DC.GroupOffset = group_data.BackupGroupOffset; in EndGroup()
6582 window->DC.CurrentLineSize = group_data.BackupCurrentLineSize; in EndGroup()
6583 window->DC.CurrentLineTextBaseOffset = group_data.BackupCurrentLineTextBaseOffset; in EndGroup()
6584 window->DC.LogLinePosY = window->DC.CursorPos.y - 9999.0f; // To enforce Log carriage return in EndGroup()
6588 …window->DC.CurrentLineTextBaseOffset = ImMax(window->DC.PrevLineTextBaseOffset, group_data.BackupC… in EndGroup()
6597 window->DC.LastItemId = g.ActiveId; in EndGroup()
6599 window->DC.LastItemId = g.ActiveIdPreviousFrame; in EndGroup()
6600 window->DC.LastItemRect = group_bb; in EndGroup()
6602 window->DC.GroupStack.pop_back(); in EndGroup()
6622 …window->DC.CursorPos.x = window->Pos.x - window->Scroll.x + pos_x + spacing_w + window->DC.GroupOf… in SameLine()
6623 window->DC.CursorPos.y = window->DC.CursorPosPrevLine.y; in SameLine()
6628 window->DC.CursorPos.x = window->DC.CursorPosPrevLine.x + spacing_w; in SameLine()
6629 window->DC.CursorPos.y = window->DC.CursorPosPrevLine.y; in SameLine()
6631 window->DC.CurrentLineSize = window->DC.PrevLineSize; in SameLine()
6632 window->DC.CurrentLineTextBaseOffset = window->DC.PrevLineTextBaseOffset; in SameLine()
6639 window->DC.Indent.x += (indent_w != 0.0f) ? indent_w : g.Style.IndentSpacing; in Indent()
6640 window->DC.CursorPos.x = window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x; in Indent()
6647 window->DC.Indent.x -= (indent_w != 0.0f) ? indent_w : g.Style.IndentSpacing; in Unindent()
6648 window->DC.CursorPos.x = window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffset.x; in Unindent()
6803 …ImGuiID id = str_id ? window->GetID(str_id) : window->DC.LastItemId; // If user hasn't passed an I… in OpenPopupOnItemClick()
6899 window->DC.NavHideHighlightOneFrame = true; in CloseCurrentPopup()
6984 …ImGuiID id = str_id ? window->GetID(str_id) : window->DC.LastItemId; // If user hasn't passed an I… in BeginPopupContextItem()
7088 if (parent_window->DC.MenuBarAppending) in FindBestWindowPosForPopup()
7163 if (g.NavLayer != window->DC.NavLayerCurrent) in NavScoreItem()
7217 quadrant = (window->DC.LastItemId < g.NavId) ? ImGuiDir_Left : ImGuiDir_Right; in NavScoreItem()
7297 const ImGuiItemFlags item_flags = window->DC.ItemFlags; in NavProcessItem()
7301 if (g.NavInitRequest && g.NavLayer == window->DC.NavLayerCurrent) in NavProcessItem()
7354 g.NavLayer = window->DC.NavLayerCurrent; in NavProcessItem()
7357 …window->NavRectRel[window->DC.NavLayerCurrent] = nav_bb_rel; // Store item bounding box (relati… in NavProcessItem()
7780 if (window->DC.NavLayerActiveMask == 0x00 && window->DC.NavHasScroll && g.NavMoveRequest) in NavUpdate()
7905 if (window->DC.NavLayerActiveMask == 0x00 && window->DC.NavHasScroll) in NavUpdatePageUpPageDown()
8081 if (apply_focus_window->DC.NavLayerActiveMask == (1 << ImGuiNavLayer_Menu)) in NavUpdateWindowing()
8092 while ((new_nav_window->DC.NavLayerActiveMask & (1 << 1)) == 0 in NavUpdateWindowing()
8104 …NavRestoreLayer((g.NavWindow->DC.NavLayerActiveMask & (1 << ImGuiNavLayer_Menu)) ? (ImGuiNavLayer)… in NavUpdateWindowing()
8155 if (window->SkipItems || window->DC.ColumnsSet == NULL) in NextColumn()
8162 ImGuiColumnsSet* columns = window->DC.ColumnsSet; in NextColumn()
8163 columns->LineMaxY = ImMax(columns->LineMaxY, window->DC.CursorPos.y); in NextColumn()
8167 …window->DC.ColumnsOffset.x = GetColumnOffset(columns->Current) - window->DC.Indent.x + g.Style.Ite… in NextColumn()
8172 window->DC.ColumnsOffset.x = 0.0f; in NextColumn()
8177 …window->DC.CursorPos.x = (float)(int)(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffs… in NextColumn()
8178 window->DC.CursorPos.y = columns->LineMinY; in NextColumn()
8179 window->DC.CurrentLineSize = ImVec2(0.0f, 0.0f); in NextColumn()
8180 window->DC.CurrentLineTextBaseOffset = 0.0f; in NextColumn()
8189 return window->DC.ColumnsSet ? window->DC.ColumnsSet->Current : 0; in GetColumnIndex()
8195 return window->DC.ColumnsSet ? window->DC.ColumnsSet->Count : 1; in GetColumnsCount()
8230 ImGuiColumnsSet* columns = window->DC.ColumnsSet; in GetColumnOffset()
8258 ImGuiColumnsSet* columns = window->DC.ColumnsSet; in GetColumnWidth()
8270 ImGuiColumnsSet* columns = window->DC.ColumnsSet; in SetColumnOffset()
8291 ImGuiColumnsSet* columns = window->DC.ColumnsSet; in SetColumnWidth()
8302 ImGuiColumnsSet* columns = window->DC.ColumnsSet; in PushColumnClipRect()
8327 IM_ASSERT(window->DC.ColumnsSet == NULL); // Nested columns are currently not supported in BeginColumns()
8341 window->DC.ColumnsSet = columns; in BeginColumns()
8345 columns->MinX = window->DC.Indent.x - g.Style.ItemSpacing.x; // Lock our horizontal range in BeginColumns()
8347 columns->StartPosY = window->DC.CursorPos.y; in BeginColumns()
8348 columns->StartMaxPosX = window->DC.CursorMaxPos.x; in BeginColumns()
8349 columns->LineMinY = columns->LineMaxY = window->DC.CursorPos.y; in BeginColumns()
8350 window->DC.ColumnsOffset.x = 0.0f; in BeginColumns()
8351 …window->DC.CursorPos.x = (float)(int)(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffs… in BeginColumns()
8389 ImGuiColumnsSet* columns = window->DC.ColumnsSet; in EndColumns()
8396 columns->LineMaxY = ImMax(columns->LineMaxY, window->DC.CursorPos.y); in EndColumns()
8397 window->DC.CursorPos.y = columns->LineMaxY; in EndColumns()
8399 …window->DC.CursorMaxPos.x = columns->StartMaxPosX; // Restore cursor max pos, as columns don't gr… in EndColumns()
8406 const float y2 = window->DC.CursorPos.y; in EndColumns()
8447 window->DC.ColumnsSet = NULL; in EndColumns()
8448 window->DC.ColumnsOffset.x = 0.0f; in EndColumns()
8449 …window->DC.CursorPos.x = (float)(int)(window->Pos.x + window->DC.Indent.x + window->DC.ColumnsOffs… in EndColumns()
8460 …if (window->DC.ColumnsSet != NULL && window->DC.ColumnsSet->Count == columns_count && window->DC.C… in Columns()
8463 if (window->DC.ColumnsSet != NULL) in Columns()
8501 source_id = window->DC.LastItemId; in BeginDragDropSource()
8521 … bool is_hovered = (window->DC.LastItemStatusFlags & ImGuiItemStatusFlags_HoveredRect) != 0; in BeginDragDropSource()
8524 source_id = window->DC.LastItemId = window->GetIDFromRectangle(window->DC.LastItemRect); in BeginDragDropSource()
8581 window->DC.LastItemStatusFlags &= ~ImGuiItemStatusFlags_HoveredRect; in BeginDragDropSource()
8680 if (!(window->DC.LastItemStatusFlags & ImGuiItemStatusFlags_HoveredRect)) in BeginDragDropTarget()
8685 …isplay_rect = (window->DC.LastItemStatusFlags & ImGuiItemStatusFlags_HasDisplayRect) ? window->DC.… in BeginDragDropTarget()
8686 ImGuiID id = window->DC.LastItemId; in BeginDragDropTarget()
8802 const bool log_new_line = ref_pos && (ref_pos->y > window->DC.LogLinePosY + 1); in LogRenderedText()
8804 window->DC.LogLinePosY = ref_pos->y; in LogRenderedText()
8807 …if (g.LogStartDepth > window->DC.TreeDepth) // Re-adjust padding if we have popped out of our sta… in LogRenderedText()
8808 g.LogStartDepth = window->DC.TreeDepth; in LogRenderedText()
8809 const int tree_depth = (window->DC.TreeDepth - g.LogStartDepth); in LogRenderedText()
8843 g.LogStartDepth = window->DC.TreeDepth; in LogToTTY()
8871 g.LogStartDepth = window->DC.TreeDepth; in LogToFile()
8887 g.LogStartDepth = window->DC.TreeDepth; in LogToClipboard()
9395 …LayerActiveMask: %X", window->NavLastIds[0], window->NavLastIds[1], window->DC.NavLayerActiveMask); in ShowMetricsWindow()
9403 … if (window->DC.ChildWindows.Size > 0) NodeWindows(window->DC.ChildWindows, "ChildWindows"); in ShowMetricsWindow()