• Home
  • Raw
  • Download

Lines Matching refs:FramePadding

321 …_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y*2));  in LabelTextV()
322 …c2(w + (label_size.x > 0.0f ? style.ItemInnerSpacing.x : 0.0f), style.FramePadding.y*2) + label_si… in LabelTextV()
323 ItemSize(total_bb, style.FramePadding.y); in LabelTextV()
332 …t(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y), label); in LabelTextV()
357 …ight = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadding.y*2), g.FontSiz… in BulletTextV()
358 …os + ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x*2) : 0.0f), I… in BulletTextV()
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()
556 …if ((flags & ImGuiButtonFlags_AlignTextBaseLine) && style.FramePadding.y < window->DC.CurrentLineT… in ButtonEx()
557 pos.y += window->DC.CurrentLineTextBaseOffset - style.FramePadding.y; in ButtonEx()
558 …e = CalcItemSize(size_arg, label_size.x + style.FramePadding.x * 2.0f, label_size.y + style.FrameP… in ButtonEx()
561 ItemSize(size, style.FramePadding.y); in ButtonEx()
576 …RenderTextClipped(bb.Min + style.FramePadding, bb.Max - style.FramePadding, label, NULL, &label_si… in ButtonEx()
595 float backup_padding_y = g.Style.FramePadding.y; in SmallButton()
596 g.Style.FramePadding.y = 0.0f; in SmallButton()
598 g.Style.FramePadding.y = backup_padding_y; in SmallButton()
636 ItemSize(bb, (size.y >= default_size) ? g.Style.FramePadding.y : 0.0f); in ArrowButtonEx()
696 ImRect bb(pos, pos + ImVec2(g.FontSize, g.FontSize) + g.Style.FramePadding * 2.0f); in CollapseButton()
704 …RenderArrow(bb.Min + g.Style.FramePadding, window->Collapsed ? ImGuiDir_Right : ImGuiDir_Down, 1.0… in CollapseButton()
751 …if ((direction == ImGuiLayoutType_Vertical) && bb_height < g.FontSize + g.Style.FramePadding.y * 2… in Scrollbar()
753 alpha = ImSaturate((bb_height - g.FontSize) / (g.Style.FramePadding.y * 2.0f)); in Scrollbar()
885 …g = (frame_padding >= 0) ? ImVec2((float)frame_padding, (float)frame_padding) : style.FramePadding; in ImageButton()
919 …0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f), label_size.y + style.FramePadding.y * 2.0f)); in Checkbox()
920 ItemSize(total_bb, style.FramePadding.y); in Checkbox()
944 …t(ImVec2(check_bb.Max.x + style.ItemInnerSpacing.x, check_bb.Min.y + style.FramePadding.y), label); in Checkbox()
979 …0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f), label_size.y + style.FramePadding.y * 2.0f)); in RadioButton()
980 ItemSize(total_bb, style.FramePadding.y); in RadioButton()
1011 …t(ImVec2(check_bb.Max.x + style.ItemInnerSpacing.x, check_bb.Min.y + style.FramePadding.y), label); in RadioButton()
1035 …ImRect bb(pos, pos + CalcItemSize(size_arg, CalcItemWidth(), g.FontSize + style.FramePadding.y*2.0… in ProgressBar()
1036 ItemSize(bb, style.FramePadding.y); in ProgressBar()
1068 …ight = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadding.y*2), g.FontSiz… in Bullet()
1073 SameLine(0, style.FramePadding.x*2); in Bullet()
1078 RenderBullet(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f)); in Bullet()
1079 SameLine(0, style.FramePadding.x*2); in Bullet()
1136 …C.CurrentLineSize.y = ImMax(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadding.y * 2); in AlignTextToFramePadding()
1137 …DC.CurrentLineTextBaseOffset = ImMax(window->DC.CurrentLineTextBaseOffset, g.Style.FramePadding.y); in AlignTextToFramePadding()
1299 …(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y*2.0f)); in BeginCombo()
1301 ItemSize(total_bb, style.FramePadding.y); in BeginCombo()
1317 …erArrow(ImVec2(frame_bb.Max.x - arrow_size + style.FramePadding.y, frame_bb.Min.y + style.FramePad… in BeginCombo()
1321 …RenderTextClipped(frame_bb.Min + style.FramePadding, value_bb.Max, preview_value, NULL, NULL, ImVe… in BeginCombo()
1323 …t(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label); in BeginCombo()
1370 PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(style.FramePadding.x, style.WindowPadding.y)); in BeginCombo()
1876 …(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y*2.0f)); in DragScalar()
1879 ItemSize(total_bb, style.FramePadding.y); in DragScalar()
1931 …t(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label); in DragScalar()
2309 …(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y*2.0f)); in SliderScalar()
2312 ItemSize(total_bb, style.FramePadding.y); in SliderScalar()
2367 …t(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label); in SliderScalar()
2466 ItemSize(bb, style.FramePadding.y); in VSliderScalar()
2505 …RenderTextClipped(ImVec2(frame_bb.Min.x, frame_bb.Min.y + style.FramePadding.y), frame_bb.Max, val… in VSliderScalar()
2507 …t(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label); in VSliderScalar()
3154 …), (is_multiline ? GetTextLineHeight() * 8.0f : label_size.y) + style.FramePadding.y*2.0f); // Arb… in InputTextEx()
3163 ItemSize(total_bb, style.FramePadding.y); in InputTextEx()
3179 ItemSize(total_bb, style.FramePadding.y); in InputTextEx()
3298 …const float mouse_x = (io.MousePos.x - frame_bb.Min.x - style.FramePadding.x) + edit_state.ScrollX; in InputTextEx()
3299 … (is_multiline ? (io.MousePos.y - draw_window->DC.CursorPos.y - style.FramePadding.y) : (g.FontSiz… in InputTextEx()
3622 … ImVec2 render_pos = is_multiline ? draw_window->DC.CursorPos : frame_bb.Min + style.FramePadding; in InputTextEx()
3793 …t(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label); in InputTextEx()
4424 ItemSize(bb, (size.y >= default_size) ? g.Style.FramePadding.y : 0.0f); in ColorButton()
4515 …ImVec2 sz(g.FontSize * 3 + g.Style.FramePadding.y * 2, g.FontSize * 3 + g.Style.FramePadding.y * 2… in ColorTooltip()
4768 …e || (flags & ImGuiTreeNodeFlags_FramePadding)) ? style.FramePadding : ImVec2(style.FramePadding.x… in TreeNodeBehavior()
4776 …height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + style.FramePadding.y*2), label_siz… in TreeNodeBehavior()
4964 return g.FontSize + (g.Style.FramePadding.x * 2.0f); in GetTreeNodeToLabelSpacing()
5004 …mMin(window->DC.LastItemRect.Max.x, window->ClipRect.Max.x) - g.Style.FramePadding.x - button_radi… in CollapsingHeader()
5152 ItemSize(bb.GetSize(), style.FramePadding.y); in ListBoxHeader()
5159 …t(ImVec2(frame_bb.Max.x + style.ItemInnerSpacing.x, frame_bb.Min.y + style.FramePadding.y), label); in ListBoxHeader()
5180 size.y = GetTextLineHeightWithSpacing() * height_in_items_f + style.FramePadding.y * 2.0f; in ListBoxHeader()
5197 ItemSize(bb, style.FramePadding.y); in ListBoxFooter()
5263 frame_size.y = label_size.y + (style.FramePadding.y * 2); in PlotEx()
5266 const ImRect inner_bb(frame_bb.Min + style.FramePadding, frame_bb.Max - style.FramePadding); in PlotEx()
5268 ItemSize(total_bb, style.FramePadding.y); in PlotEx()
5354 …RenderTextClipped(ImVec2(frame_bb.Min.x, frame_bb.Min.y + style.FramePadding.y), frame_bb.Max, ove… in PlotEx()
5492 ….DisplaySafeAreaPadding.x, ImMax(g.Style.DisplaySafeAreaPadding.y - g.Style.FramePadding.y, 0.0f)); in BeginMainMenuBar()
5494 ….DisplaySize.x, g.NextWindowData.MenuBarOffsetMinVal.y + g.FontBaseSize + g.Style.FramePadding.y)); in BeginMainMenuBar()
5617 …os.x - 1.0f - (float)(int)(style.ItemSpacing.x * 0.5f), pos.y - style.FramePadding.y + window->Men… in BeginMenu()
5872 ….y, window->InnerClipRect.Max.x, window->DC.CursorPos.y + g.FontSize + g.Style.FramePadding.y * 2); in BeginTabBar()
5909 tab_bar->FramePadding = g.Style.FramePadding; in BeginTabBarEx()
6209 const ImVec2 arrow_button_size(g.FontSize - 2.0f, g.FontSize + g.Style.FramePadding.y * 2.0f); in TabBarScrollingButtons()
6264 const float tab_list_popup_button_width = g.FontSize + g.Style.FramePadding.y; in TabBarTabListPopupButton()
6266 …window->DC.CursorPos = ImVec2(tab_bar->BarRect.Min.x - g.Style.FramePadding.y, tab_bar->BarRect.Mi… in TabBarTabListPopupButton()
6440 ItemSize(bb, style.FramePadding.y); in TabItemEx()
6508 …d = TabItemLabelAndCloseButton(display_draw_list, bb, flags, tab_bar->FramePadding, label, id, clo… in TabItemEx()
6547 …ImVec2 size = ImVec2(label_size.x + g.Style.FramePadding.x, label_size.y + g.Style.FramePadding.y … in TabItemCalcSize()
6549 …size.x += g.Style.FramePadding.x + (g.Style.ItemInnerSpacing.x + g.FontSize); // We use Y intentio… in TabItemCalcSize()
6551 size.x += g.Style.FramePadding.x + 1.0f; in TabItemCalcSize()