• Home
  • Raw
  • Download

Lines Matching refs:Min

161                 int lines_skippable = (int)((clip_rect.Min.y - text_pos.y) / line_height);  in TextUnformatted()
193 line_rect.Min.y += line_height; in TextUnformatted()
230 RenderTextWrapped(bb.Min, text_begin, text_end, wrap_width); in TextUnformatted()
330 …RenderTextClipped(value_bb.Min, value_bb.Max, value_text_begin, value_text_end, NULL, ImVec2(0.0f,… in LabelTextV()
332 …RenderText(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y… in LabelTextV()
364 RenderBullet(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f)); in BulletTextV()
365 …RenderText(bb.Min+ImVec2(g.FontSize + style.FramePadding.x*2, text_base_offset_y), text_begin, tex… in BulletTextV()
515 g.ActiveIdClickOffset = g.IO.MousePos - bb.Min; in ButtonBehavior()
575 RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding); in ButtonEx()
576 …RenderTextClipped(bb.Min + style.FramePadding, bb.Max - style.FramePadding, label, NULL, &label_si… in ButtonEx()
649 RenderFrame(bb.Min, bb.Max, col, true, g.Style.FrameRounding); in ArrowButtonEx()
650 …RenderArrow(bb.Min + ImVec2(ImMax(0.0f, (size.x - g.FontSize) * 0.5f), ImMax(0.0f, (size.y - g.Fon… in ArrowButtonEx()
704 …RenderArrow(bb.Min + g.Style.FramePadding, window->Collapsed ? ImGuiDir_Right : ImGuiDir_Down, 1.0… in CollapseButton()
743 …bb.Min.y += window->TitleBarHeight() + ((window->Flags & ImGuiWindowFlags_MenuBar) ? window->MenuB… in Scrollbar()
764 …window->DrawList->AddRectFilled(bb.Min, bb.Max, GetColorU32(ImGuiCol_ScrollbarBg), window->WindowR… in Scrollbar()
765 …(-ImClamp((float)(int)((bb.Max.x - bb.Min.x - 2.0f) * 0.5f), 0.0f, 3.0f), -ImClamp((float)(int)((b… in Scrollbar()
791 float scrollbar_pos_v = horizontal ? bb.Min.x : bb.Min.y; in Scrollbar()
836 …grab_rect = ImRect(ImLerp(bb.Min.x, bb.Max.x, grab_v_norm), bb.Min.y, ImMin(ImLerp(bb.Min.x, bb.Ma… in Scrollbar()
838 …grab_rect = ImRect(bb.Min.x, ImLerp(bb.Min.y, bb.Max.y, grab_v_norm), bb.Max.x, ImMin(ImLerp(bb.Mi… in Scrollbar()
839 … window->DrawList->AddRectFilled(grab_rect.Min, grab_rect.Max, grab_col, style.ScrollbarRounding); in Scrollbar()
857 window->DrawList->AddRect(bb.Min, bb.Max, GetColorU32(border_col), 0.0f); in Image()
858 …window->DrawList->AddImage(user_texture_id, bb.Min + ImVec2(1, 1), bb.Max - ImVec2(1, 1), uv0, uv1… in Image()
862 … window->DrawList->AddImage(user_texture_id, bb.Min, bb.Max, uv0, uv1, GetColorU32(tint_col)); in Image()
898 …RenderFrame(bb.Min, bb.Max, col, true, ImClamp((float)ImMin(padding.x, padding.y), 0.0f, style.Fra… in ImageButton()
900 window->DrawList->AddRectFilled(image_bb.Min, image_bb.Max, GetColorU32(bg_col)); in ImageButton()
901 …window->DrawList->AddImage(user_texture_id, image_bb.Min, image_bb.Max, uv0, uv1, GetColorU32(tint… in ImageButton()
934 …RenderFrame(check_bb.Min, check_bb.Max, GetColorU32((held && hovered) ? ImGuiCol_FrameBgActive : h… in Checkbox()
938 …RenderCheckMark(check_bb.Min + ImVec2(pad, pad), GetColorU32(ImGuiCol_CheckMark), square_sz - pad*… in Checkbox()
942 LogRenderedText(&total_bb.Min, *v ? "[x]" : "[ ]"); in Checkbox()
944 …RenderText(ImVec2(check_bb.Max.x + style.ItemInnerSpacing.x, check_bb.Min.y + style.FramePadding.y… in Checkbox()
1009 LogRenderedText(&total_bb.Min, active ? "(x)" : "( )"); in RadioButton()
1011 …RenderText(ImVec2(check_bb.Max.x + style.ItemInnerSpacing.x, check_bb.Min.y + style.FramePadding.y… in RadioButton()
1042 RenderFrame(bb.Min, bb.Max, GetColorU32(ImGuiCol_FrameBg), true, style.FrameRounding); in ProgressBar()
1044 const ImVec2 fill_br = ImVec2(ImLerp(bb.Min.x, bb.Max.x, fraction), bb.Max.y); in ProgressBar()
1057 …Clamp(fill_br.x + style.ItemSpacing.x, bb.Min.x, bb.Max.x - overlay_size.x - style.ItemInnerSpacin… in ProgressBar()
1078 RenderBullet(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f)); in Bullet()
1175 window->DrawList->AddLine(bb.Min, ImVec2(bb.Max.x,bb.Min.y), GetColorU32(ImGuiCol_Separator)); in Separator()
1178 LogRenderedText(&bb.Min, "--------------------------------"); in Separator()
1201 …window->DrawList->AddLine(ImVec2(bb.Min.x, bb.Min.y), ImVec2(bb.Min.x, bb.Max.y), GetColorU32(ImGu… in VerticalSeparator()
1232 ImVec2 mouse_delta_2d = g.IO.MousePos - g.ActiveIdClickOffset - bb_interact.Min; in SplitterBehavior()
1259 window->DrawList->AddRectFilled(bb_render.Min, bb_render.Max, col, g.Style.FrameRounding); in SplitterBehavior()
1300 …const ImRect total_bb(frame_bb.Min, frame_bb.Max + ImVec2(label_size.x > 0.0f ? style.ItemInnerSpa… in BeginCombo()
1309 const ImRect value_bb(frame_bb.Min, frame_bb.Max - ImVec2(arrow_size, 0.0f)); in BeginCombo()
1313 …window->DrawList->AddRectFilled(frame_bb.Min, ImVec2(frame_bb.Max.x - arrow_size, frame_bb.Max.y),… in BeginCombo()
1316 …window->DrawList->AddRectFilled(ImVec2(frame_bb.Max.x - arrow_size, frame_bb.Min.y), frame_bb.Max,… in BeginCombo()
1317 …RenderArrow(ImVec2(frame_bb.Max.x - arrow_size + style.FramePadding.y, frame_bb.Min.y + style.Fram… in BeginCombo()
1319 RenderFrameBorder(frame_bb.Min, frame_bb.Max, style.FrameRounding); in BeginCombo()
1321 …RenderTextClipped(frame_bb.Min + style.FramePadding, value_bb.Max, preview_value, NULL, NULL, ImVe… in BeginCombo()
1323 …RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y… in BeginCombo()
1339 … g.NextWindowData.SizeConstraintRect.Min.x = ImMax(g.NextWindowData.SizeConstraintRect.Min.x, w); in BeginCombo()
1877 …const ImRect total_bb(frame_bb.Min, frame_bb.Max + ImVec2(label_size.x > 0.0f ? style.ItemInnerSpa… in DragScalar()
1910 window->DC.CursorPos = frame_bb.Min; in DragScalar()
1923 RenderFrame(frame_bb.Min, frame_bb.Max, frame_col, true, style.FrameRounding); in DragScalar()
1928 … RenderTextClipped(frame_bb.Min, frame_bb.Max, value_buf, value_buf_end, NULL, ImVec2(0.5f, 0.5f)); in DragScalar()
1931 …RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y… in DragScalar()
2114 const float slider_sz = (bb.Max[axis] - bb.Min[axis]) - grab_padding * 2.0f; in SliderBehaviorT()
2121 const float slider_usable_pos_min = bb.Min[axis] + grab_padding + grab_sz*0.5f; in SliderBehaviorT()
2259 …*out_grab_bb = ImRect(grab_pos - grab_sz*0.5f, bb.Min.y + grab_padding, grab_pos + grab_sz*0.5f, b… in SliderBehaviorT()
2261 …*out_grab_bb = ImRect(bb.Min.x + grab_padding, grab_pos - grab_sz*0.5f, bb.Max.x - grab_padding, g… in SliderBehaviorT()
2310 …const ImRect total_bb(frame_bb.Min, frame_bb.Max + ImVec2(label_size.x > 0.0f ? style.ItemInnerSpa… in SliderScalar()
2342 window->DC.CursorPos = frame_bb.Min; in SliderScalar()
2350 RenderFrame(frame_bb.Min, frame_bb.Max, frame_col, true, g.Style.FrameRounding); in SliderScalar()
2359 …window->DrawList->AddRectFilled(grab_bb.Min, grab_bb.Max, GetColorU32(g.ActiveId == id ? ImGuiCol_… in SliderScalar()
2364 … RenderTextClipped(frame_bb.Min, frame_bb.Max, value_buf, value_buf_end, NULL, ImVec2(0.5f,0.5f)); in SliderScalar()
2367 …RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y… in SliderScalar()
2464 …const ImRect bb(frame_bb.Min, frame_bb.Max + ImVec2(label_size.x > 0.0f ? style.ItemInnerSpacing.x… in VSliderScalar()
2490 RenderFrame(frame_bb.Min, frame_bb.Max, frame_col, true, g.Style.FrameRounding); in VSliderScalar()
2499 …window->DrawList->AddRectFilled(grab_bb.Min, grab_bb.Max, GetColorU32(g.ActiveId == id ? ImGuiCol_… in VSliderScalar()
2505 …RenderTextClipped(ImVec2(frame_bb.Min.x, frame_bb.Min.y + style.FramePadding.y), frame_bb.Max, val… in VSliderScalar()
2507 …RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y… in VSliderScalar()
3156 …const ImRect total_bb(frame_bb.Min, frame_bb.Max + ImVec2(label_size.x > 0.0f ? (style.ItemInnerSp… in InputTextEx()
3298 …const float mouse_x = (io.MousePos.x - frame_bb.Min.x - style.FramePadding.x) + edit_state.ScrollX; in InputTextEx()
3618 … RenderFrame(frame_bb.Min, frame_bb.Max, GetColorU32(ImGuiCol_FrameBg), true, style.FrameRounding); in InputTextEx()
3621 …const ImVec4 clip_rect(frame_bb.Min.x, frame_bb.Min.y, frame_bb.Min.x + size.x, frame_bb.Min.y + s… in InputTextEx()
3622 … ImVec2 render_pos = is_multiline ? draw_window->DC.CursorPos : frame_bb.Min + style.FramePadding; in InputTextEx()
3744 draw_window->DrawList->AddRectFilled(rect.Min, rect.Max, bg_color); in InputTextEx()
3760 …draw_window->DrawList->AddLine(cursor_screen_rect.Min, cursor_screen_rect.GetBL(), GetColorU32(ImG… in InputTextEx()
3793 …RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y… in InputTextEx()
4388 …RenderColorRectWithAlphaCheckerboard(bar1_bb.Min, bar1_bb.Max, IM_COL32(0,0,0,0), bar1_bb.GetWidth… in ColorPicker4()
4389 …draw_list->AddRectFilledMultiColor(bar1_bb.Min, bar1_bb.Max, col32_no_alpha, col32_no_alpha, col32… in ColorPicker4()
4391 RenderFrameBorder(bar1_bb.Min, bar1_bb.Max, 0.0f); in ColorPicker4()
4442 float mid_x = (float)(int)((bb_inner.Min.x + bb_inner.Max.x) * 0.5f + 0.5f); in ColorButton()
4443 …RenderColorRectWithAlphaCheckerboard(ImVec2(bb_inner.Min.x + grid_step, bb_inner.Min.y), bb_inner.… in ColorButton()
4444 …window->DrawList->AddRectFilled(bb_inner.Min, ImVec2(mid_x, bb_inner.Max.y), GetColorU32(col_witho… in ColorButton()
4451 …RenderColorRectWithAlphaCheckerboard(bb_inner.Min, bb_inner.Max, GetColorU32(col_source), grid_ste… in ColorButton()
4453 …window->DrawList->AddRectFilled(bb_inner.Min, bb_inner.Max, GetColorU32(col_source), rounding, ImD… in ColorButton()
4457 RenderFrameBorder(bb.Min, bb.Max, rounding); in ColorButton()
4459 …window->DrawList->AddRect(bb.Min, bb.Max, GetColorU32(ImGuiCol_FrameBg), rounding); // Color butto… in ColorButton()
4781 frame_bb.Min.x -= (float)(int)(window->WindowPadding.x*0.5f) - 1; in TreeNodeBehavior()
4791 …t interact_bb = display_frame ? frame_bb : ImRect(frame_bb.Min.x, frame_bb.Min.y, frame_bb.Min.x +… in TreeNodeBehavior()
4836 …toggled |= IsMouseHoveringRect(interact_bb.Min, ImVec2(interact_bb.Min.x + text_offset_x, interact… in TreeNodeBehavior()
4865 const ImVec2 text_pos = frame_bb.Min + ImVec2(text_offset_x, text_base_offset_y); in TreeNodeBehavior()
4870 RenderFrame(frame_bb.Min, frame_bb.Max, col, true, style.FrameRounding); in TreeNodeBehavior()
4872 …RenderArrow(frame_bb.Min + ImVec2(padding.x, text_base_offset_y), is_open ? ImGuiDir_Down : ImGuiD… in TreeNodeBehavior()
4892 RenderFrame(frame_bb.Min, frame_bb.Max, col, false); in TreeNodeBehavior()
4897 … RenderBullet(frame_bb.Min + ImVec2(text_offset_x * 0.5f, g.FontSize*0.50f + text_base_offset_y)); in TreeNodeBehavior()
4899 …RenderArrow(frame_bb.Min + ImVec2(padding.x, g.FontSize*0.15f + text_base_offset_y), is_open ? ImG… in TreeNodeBehavior()
5055 bb.Min.x -= spacing_L; in Selectable()
5056 bb.Min.y -= spacing_U; in Selectable()
5092 RenderFrame(bb.Min, bb.Max, col, false, 0.0f); in Selectable()
5103 …RenderTextClipped(bb_inner.Min, bb_inner.Max, label, NULL, &label_size, style.SelectableTextAlign,… in Selectable()
5147 …ImRect bb(frame_bb.Min, frame_bb.Max + ImVec2(label_size.x > 0.0f ? style.ItemInnerSpacing.x + lab… in ListBoxHeader()
5150 if (!IsRectVisible(bb.Min, bb.Max)) in ListBoxHeader()
5159 …RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y… in ListBoxHeader()
5196 parent_window->DC.CursorPos = bb.Min; in ListBoxFooter()
5266 const ImRect inner_bb(frame_bb.Min + style.FramePadding, frame_bb.Max - style.FramePadding); in PlotEx()
5267 …const ImRect total_bb(frame_bb.Min, frame_bb.Max + ImVec2(label_size.x > 0.0f ? style.ItemInnerSpa… in PlotEx()
5290 … RenderFrame(frame_bb.Min, frame_bb.Max, GetColorU32(ImGuiCol_FrameBg), true, style.FrameRounding); in PlotEx()
5301 …const float t = ImClamp((g.IO.MousePos.x - inner_bb.Min.x) / (inner_bb.Max.x - inner_bb.Min.x), 0.… in PlotEx()
5334 ImVec2 pos0 = ImLerp(inner_bb.Min, inner_bb.Max, tp0); in PlotEx()
5335 …ImVec2 pos1 = ImLerp(inner_bb.Min, inner_bb.Max, (plot_type == ImGuiPlotType_Lines) ? tp1 : ImVec2… in PlotEx()
5354 …RenderTextClipped(ImVec2(frame_bb.Min.x, frame_bb.Min.y + style.FramePadding.y), frame_bb.Max, ove… in PlotEx()
5357 RenderText(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, inner_bb.Min.y), label); in PlotEx()
5536 …lip_rect(ImFloor(bar_rect.Min.x + 0.5f), ImFloor(bar_rect.Min.y + window->WindowBorderSize + 0.5f)… in BeginMenuBar()
5538 PushClipRect(clip_rect.Min, clip_rect.Max, false); in BeginMenuBar()
5540 …window->DC.CursorPos = ImVec2(bar_rect.Min.x + window->DC.MenuBarOffset.x, bar_rect.Min.y + window… in BeginMenuBar()
5580 …window->DC.MenuBarOffset.x = window->DC.CursorPos.x - window->MenuBarRect().Min.x; // Save horizon… in EndMenuBar()
5913 window->DC.CursorPos.x = tab_bar->BarRect.Min.x; in BeginTabBarEx()
5919 const float separator_min_x = tab_bar->BarRect.Min.x - window->WindowPadding.x; in BeginTabBarEx()
6218 …PushClipRect(tab_bar->BarRect.Min, tab_bar->BarRect.Max + ImVec2(g.Style.ItemInnerSpacing.x, 0.0f)… in TabBarScrollingButtons()
6232 …w->DC.CursorPos = ImVec2(tab_bar->BarRect.Max.x - scrolling_buttons_width, tab_bar->BarRect.Min.y); in TabBarScrollingButtons()
6235 …c2(tab_bar->BarRect.Max.x - scrolling_buttons_width + arrow_button_size.x, tab_bar->BarRect.Min.y); in TabBarScrollingButtons()
6266 …window->DC.CursorPos = ImVec2(tab_bar->BarRect.Min.x - g.Style.FramePadding.y, tab_bar->BarRect.Mi… in TabBarTabListPopupButton()
6267 tab_bar->BarRect.Min.x += tab_list_popup_button_width; in TabBarTabListPopupButton()
6431 …window->DC.CursorPos = tab_bar->BarRect.Min + ImVec2((float)(int)tab->Offset - tab_bar->ScrollingA… in TabItemEx()
6436 … bool want_clip_rect = (bb.Min.x < tab_bar->BarRect.Min.x) || (bb.Max.x >= tab_bar->BarRect.Max.x); in TabItemEx()
6438 …PushClipRect(ImVec2(ImMax(bb.Min.x, tab_bar->BarRect.Min.x), bb.Min.y - 1), ImVec2(tab_bar->BarRec… in TabItemEx()
6469 if (g.IO.MouseDelta.x < 0.0f && g.IO.MousePos.x < bb.Min.x) in TabItemEx()
6486 …bb.Max.x = bb.Min.x + (float)(int)ImLerp(bb.GetWidth(), tab->WidthContents, ImSaturate((g.HoveredI… in TabItemEx()
6563 const float y1 = bb.Min.y + 1.0f; in TabItemBackground()
6565 draw_list->PathLineTo(ImVec2(bb.Min.x, y2)); in TabItemBackground()
6566 draw_list->PathArcToFast(ImVec2(bb.Min.x + rounding, y1 + rounding), rounding, 6, 9); in TabItemBackground()
6572 draw_list->PathLineTo(ImVec2(bb.Min.x + 0.5f, y2)); in TabItemBackground()
6573 …draw_list->PathArcToFast(ImVec2(bb.Min.x + rounding + 0.5f, y1 + rounding + 0.5f), rounding, 6, 9); in TabItemBackground()
6591 …ImRect text_pixel_clip_bb(bb.Min.x + frame_padding.x, bb.Min.y + frame_padding.y, bb.Max.x - frame… in TabItemLabelAndCloseButton()
6595 …ImVec2 unsaved_marker_pos(ImMin(bb.Min.x + frame_padding.x + label_size.x + 2, text_pixel_clip_bb.… in TabItemLabelAndCloseButton()
6614 …n(close_button_id, ImVec2(bb.Max.x - frame_padding.x - close_button_sz, bb.Min.y + frame_padding.y… in TabItemLabelAndCloseButton()
6644 …RenderTextClippedEx(draw_list, text_pixel_clip_bb.Min, text_pixel_clip_bb.Max, label, label_end, &… in TabItemLabelAndCloseButton()
6646 const float ellipsis_x = text_pixel_clip_bb.Min.x + label_size_clipped_x + 1.0f; in TabItemLabelAndCloseButton()
6648 …RenderPixelEllipsis(draw_list, ImVec2(ellipsis_x, text_pixel_clip_bb.Min.y), ellipsis_dot_count, G… in TabItemLabelAndCloseButton()
6652 …RenderTextClippedEx(draw_list, text_pixel_clip_bb.Min, text_pixel_clip_bb.Max, label, label_displa… in TabItemLabelAndCloseButton()