Lines Matching refs:ImMin
357 …const float line_height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadd… in BulletTextV()
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()
898 …RenderFrame(bb.Min, bb.Max, col, true, ImClamp((float)ImMin(padding.x, padding.y), 0.0f, style.Fra… in ImageButton()
1068 …const float line_height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadd… in Bullet()
1996 … (v_min >= v_max) ? -FLT_MAX : v_min, (v_min >= v_max) ? *v_current_max : ImMin(v_max, *v_current_… in DragFloatRange2()
2041 …, (v_min >= v_max) ? INT_MIN : v_min, (v_min >= v_max) ? *v_current_max : ImMin(v_max, *v_current_… in DragIntRange2()
2088 const float f = 1.0f - (float)((v_clamped - v_min) / (ImMin((TYPE)0, v_max) - v_min)); in SliderCalcRatioFromValueT()
2119 grab_sz = ImMin(grab_sz, slider_sz); in SliderBehaviorT()
2206 v_new = ImLerp(ImMin(v_max, (TYPE)0), v_min, a); in SliderBehaviorT()
2587 ImStrncpy(buf, fmt_start, ImMin((size_t)(fmt_end - fmt_start) + 1, buf_size)); in ImParseFormatTrimDecorations()
3371 …Arrow) && is_multiline) { if (io.KeyCtrl) SetWindowScrollY(draw_window, ImMin(draw_window->Scrol… in InputTextEx()
3423 …const int ib = edit_state.HasSelection() ? ImMin(edit_state.StbState.select_start, edit_state.StbS… in InputTextEx()
3587 apply_new_text_length = ImMin(callback_data.BufTextLen, buf_size - 1); in InputTextEx()
3592 ImStrncpy(buf, apply_new_text, ImMin(apply_new_text_length + 1, buf_size)); in InputTextEx()
3647 …searches_input_ptr[1] = text_begin + ImMin(edit_state.StbState.select_start, edit_state.StbState.s… in InputTextEx()
3718 …const ImWchar* text_selected_begin = text_begin + ImMin(edit_state.StbState.select_start, edit_sta… in InputTextEx()
4069 float y1 = ImClamp(y, p_min.y, p_max.y), y2 = ImMin(y + grid_step, p_max.y); in RenderColorRectWithAlphaCheckerboard()
4074 float x1 = ImClamp(x, p_min.x, p_max.x), x2 = ImMin(x + grid_step, p_max.x); in RenderColorRectWithAlphaCheckerboard()
4435 float grid_step = ImMin(size.x, size.y) / 2.99f; in ColorButton()
4436 float rounding = ImMin(g.Style.FrameRounding, grid_step * 0.5f); in ColorButton()
4776 …const float frame_height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + style.FramePaddi… in TreeNodeBehavior()
5004 …ImVec2 button_center = ImVec2(ImMin(window->DC.LastItemRect.Max.x, window->ClipRect.Max.x) - g.Sty… in CollapsingHeader()
5173 height_in_items = ImMin(items_count, 7); in ListBoxHeader()
5281 v_min = ImMin(v_min, v); in PlotEx()
5294 …int res_w = ImMin((int)frame_size.x, values_count) + ((plot_type == ImGuiPlotType_Lines) ? -1 : 0); in PlotEx()
5658 tc.y = ta.y + ImMin((tc.y + extra) - ta.y, +100.0f); in BeginMenu()
6057 …float width_to_remove_per_tab = ImMin(width_excess / tab_count_same_width, width_to_remove_per_tab… in TabBarLayout()
6071 tab->Width = ImMin(tab->WidthContents, tab_max_width); in TabBarLayout()
6179 scrolling = ImMin(scrolling, tab_bar->OffsetMax - tab_bar->BarRect.GetWidth()); in TabBarScrollClamp()
6552 return ImVec2(ImMin(size.x, TabBarCalcMaxTabWidth()), size.y); in TabItemCalcSize()
6562 const float rounding = ImMax(0.0f, ImMin(g.Style.TabRounding, width * 0.5f - 1.0f)); in TabItemBackground()
6595 …ImVec2 unsaved_marker_pos(ImMin(bb.Min.x + frame_padding.x + label_size.x + 2, text_pixel_clip_bb.… in TabItemLabelAndCloseButton()