Home
last modified time | relevance | path

Searched refs:FramePadding (Results 1 – 19 of 19) sorted by relevance

/third_party/flutter/skia/third_party/externals/imgui/
Dimgui_widgets.cpp319 …_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y*2)); in LabelTextV()
320 …c2(w + (label_size.x > 0.0f ? style.ItemInnerSpacing.x : 0.0f), style.FramePadding.y*2) + label_si… in LabelTextV()
321 ItemSize(total_bb, style.FramePadding.y); in LabelTextV()
330 …t(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y), label); in LabelTextV()
355 …ight = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadding.y*2), g.FontSiz… in BulletTextV()
356 …os + ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x*2) : 0.0f), I… in BulletTextV()
362 RenderBullet(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f)); in BulletTextV()
363 …RenderText(bb.Min+ImVec2(g.FontSize + style.FramePadding.x*2, text_base_offset_y), text_begin, tex… in BulletTextV()
552 …if ((flags & ImGuiButtonFlags_AlignTextBaseLine) && style.FramePadding.y < window->DC.CurrentLineT… in ButtonEx()
553 pos.y += window->DC.CurrentLineTextBaseOffset - style.FramePadding.y; in ButtonEx()
[all …]
Dimgui.cpp1081FramePadding = ImVec2(4,3); // Padding within a framed rectangle (used by most wid… in ImGuiStyle()
1116 FramePadding = ImFloor(FramePadding * scale_factor); in ScaleAllSizes()
4352 PushStyleVar(ImGuiStyleVar_WindowPadding, style.FramePadding); in BeginChildFrame()
5256 const float pad = style.FramePadding.y; in Begin()
5272 … pad_left = (flags & ImGuiWindowFlags_NoCollapse) ? style.FramePadding.x : (style.FramePadding.x +… in Begin()
5273 … pad_right = (p_open == NULL) ? style.FramePadding.x : (style.FramePadding.x +… in Begin()
5279 …x + window->Size.x - (p_open ? title_bar_rect.GetHeight() - 3 : style.FramePadding.x); // Match th… in Begin()
5682 …{ ImGuiDataType_Float, 2, (ImU32)IM_OFFSETOF(ImGuiStyle, FramePadding) }, // ImGuiStyleVar_F…
6160 return g.FontSize + g.Style.FramePadding.y * 2.0f; in GetFrameHeight()
6166 return g.FontSize + g.Style.FramePadding.y * 2.0f + g.Style.ItemSpacing.y; in GetFrameHeightWithSpacing()
[all …]
Dimgui_internal.h1192 …ags & ImGuiWindowFlags_NoTitleBar) ? 0.0f : CalcFontSize() + GImGui->Style.FramePadding.y * 2.0f; } in TitleBarHeight()
1194 …wFlags_MenuBar) ? DC.MenuBarOffset.y + CalcFontSize() + GImGui->Style.FramePadding.y * 2.0f : 0.0f… in MenuBarHeight()
Dimgui_demo.cpp2673 ImGui::Text("style.FramePadding: %.2f,%.2f", style.FramePadding.x, style.FramePadding.y); in ShowAboutWindow()
2776 ImGui::SliderFloat2("FramePadding", (float*)&style.FramePadding, 0.0f, 20.0f, "%.0f"); in ShowStyleEditor()
Dimgui.h1238 …ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets… member
/third_party/skia/third_party/externals/imgui/
Dimgui_widgets.cpp366 const ImRect value_bb(pos, pos + ImVec2(w, value_size.y + style.FramePadding.y * 2)); in LabelTextV()
367 …erSpacing.x + label_size.x : 0.0f), ImMax(value_size.y, label_size.y) + style.FramePadding.y * 2)); in LabelTextV()
368 ItemSize(total_bb, style.FramePadding.y); in LabelTextV()
373 …RenderTextClipped(value_bb.Min + style.FramePadding, value_bb.Max, value_text_begin, value_text_en… in LabelTextV()
375 …t(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y), label); in LabelTextV()
399 …ze = ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x * 2) : 0.0f),… in BulletTextV()
409 …RenderBullet(window->DrawList, bb.Min + ImVec2(style.FramePadding.x + g.FontSize * 0.5f, g.FontSiz… in BulletTextV()
410 …RenderText(bb.Min + ImVec2(g.FontSize + style.FramePadding.x * 2, 0.0f), text_begin, text_end, fal… in BulletTextV()
682 …if ((flags & ImGuiButtonFlags_AlignTextBaseLine) && style.FramePadding.y < window->DC.CurrLineText… in ButtonEx()
683 pos.y += window->DC.CurrLineTextBaseOffset - style.FramePadding.y; in ButtonEx()
[all …]
Dimgui.cpp1009FramePadding = ImVec2(4,3); // Padding within a framed rectangle (used by most wid… in ImGuiStyle()
1051 FramePadding = ImFloor(FramePadding * scale_factor); in ScaleAllSizes()
2555 …{ ImGuiDataType_Float, 2, (ImU32)IM_OFFSETOF(ImGuiStyle, FramePadding) }, // ImGuiStyleVar_…
5125 PushStyleVar(ImGuiStyleVar_WindowPadding, style.FramePadding); in BeginChildFrame()
5673 float pad_l = style.FramePadding.x; in RenderWindowTitleBarContents()
5674 float pad_r = style.FramePadding.x; in RenderWindowTitleBarContents()
5681 …close_button_pos = ImVec2(title_bar_rect.Max.x - pad_r - style.FramePadding.x, title_bar_rect.Min.… in RenderWindowTitleBarContents()
5686 …collapse_button_pos = ImVec2(title_bar_rect.Max.x - pad_r - style.FramePadding.x, title_bar_rect.M… in RenderWindowTitleBarContents()
5690 …collapse_button_pos = ImVec2(title_bar_rect.Min.x + pad_l - style.FramePadding.x, title_bar_rect.M… in RenderWindowTitleBarContents()
5714 if (pad_l > style.FramePadding.x) in RenderWindowTitleBarContents()
[all …]
Dimgui_internal.h2025 …rn (Flags & ImGuiWindowFlags_NoTitleBar) ? 0.0f : CalcFontSize() + g.Style.FramePadding.y * 2.0f; } in TitleBarHeight()
2027 …iWindowFlags_MenuBar) ? DC.MenuBarOffset.y + CalcFontSize() + g.Style.FramePadding.y * 2.0f : 0.0f… in MenuBarHeight()
2100 …ImVec2 FramePadding; // style.FramePadding locked at the time of BeginTabBa… member
Dimgui_demo.cpp3499 …ushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(style.FramePadding.x, (float)(int)(style.FramePaddi… in PushStyleCompact()
5786 ImGui::Text("style.FramePadding: %.2f,%.2f", style.FramePadding.x, style.FramePadding.y);
5907 ImGui::SliderFloat2("FramePadding", (float*)&style.FramePadding, 0.0f, 20.0f, "%.0f");
Dimgui_tables.cpp726 …table->MinColumnWidth = ImMax(1.0f, g.Style.FramePadding.x * 1.0f); // g.Style.ColumnsMinSpacing; … in TableUpdateLayout()
2888 w_arrow = ImFloor(g.FontSize * ARROW_SCALE + g.Style.FramePadding.x); in TableHeader()
2984 … label_pos, ImVec2(ellipsis_max, label_pos.y + label_height + g.Style.FramePadding.y), ellipsis_ma… in TableHeader()
Dimgui.h1779 …ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets… member
/third_party/mesa3d/src/imgui/
Dimgui_widgets.cpp321 …_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()
[all …]
Dimgui_memory_editor.h469 … ImGui::PushItemWidth((s.AddrDigitsCount + 1) * s.GlyphWidth + style.FramePadding.x * 2.0f);
501 …ImGui::PushItemWidth((s.GlyphWidth * 10.0f) + style.FramePadding.x * 2.0f + style.ItemInnerSpacing…
511 …ImGui::PushItemWidth((s.GlyphWidth * 6.0f) + style.FramePadding.x * 2.0f + style.ItemInnerSpacing.…
Dimgui_internal.h1223 …ags & ImGuiWindowFlags_NoTitleBar) ? 0.0f : CalcFontSize() + GImGui->Style.FramePadding.y * 2.0f; } in TitleBarHeight()
1225 …wFlags_MenuBar) ? DC.MenuBarOffset.y + CalcFontSize() + GImGui->Style.FramePadding.y * 2.0f : 0.0f… in MenuBarHeight()
1295 …ImVec2 FramePadding; // style.FramePadding locked at the time of BeginTabBa… member
Dimgui.cpp1091FramePadding = ImVec2(4,3); // Padding within a framed rectangle (used by most wid… in ImGuiStyle()
1127 FramePadding = ImFloor(FramePadding * scale_factor); in ScaleAllSizes()
4431 PushStyleVar(ImGuiStyleVar_WindowPadding, style.FramePadding); in BeginChildFrame()
5382 const float pad = style.FramePadding.y; in Begin()
5398 … pad_left = (flags & ImGuiWindowFlags_NoCollapse) ? style.FramePadding.x : (style.FramePadding.x +… in Begin()
5399 … pad_right = (p_open == NULL) ? style.FramePadding.x : (style.FramePadding.x +… in Begin()
5405 …x + window->Size.x - (p_open ? title_bar_rect.GetHeight() - 3 : style.FramePadding.x); // Match th… in Begin()
5808 …{ ImGuiDataType_Float, 2, (ImU32)IM_OFFSETOF(ImGuiStyle, FramePadding) }, // ImGuiStyleVar_…
6287 return g.FontSize + g.Style.FramePadding.y * 2.0f; in GetFrameHeight()
6293 return g.FontSize + g.Style.FramePadding.y * 2.0f + g.Style.ItemSpacing.y; in GetFrameHeightWithSpacing()
[all …]
Dimgui.h1246 …ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets… member
/third_party/skia/third_party/externals/imgui/docs/
DCHANGELOG.txt476 - Window: Fixed minor title bar text clipping issue when FramePadding is small/zero and there are no
481 - InputText: Fixed slightly off ScrollX tracking, noticeable with large values of FramePadding.x. (…
483 - InputText: Multiline: Fixed FramePadding.y worth of vertical offset when aiming with mouse.
1462 - Window: Close button is horizontally aligned with style.FramePadding.x.
1538 style.FramePadding.x is abnormally larger than style.FramePadding.y. Since the buttons are
1539 meant to be square (to align with e.g. color button) we always use FramePadding.y. (#2367)
1619 - Tabs: Fixed a minor clipping glitch when changing style's FramePadding from frame to frame.
1786 - ListBox(): Tweaked frame sizing so list boxes will look more consistent when FramePadding is far …
1789 - ArrowButton(): Fixed arrow shape being horizontally misaligned by (FramePadding.y-FramePadding.x)…
2089 …splaySafeAreaPadding values from (4,4) to (3,3) so it is smaller than FramePadding and has no effe…
[all …]
DTODO.txt245 - style: FramePadding could be different for up vs down (#584)
/third_party/flutter/skia/third_party/externals/imgui/docs/
DCHANGELOG.txt153 - ListBox(): Tweaked frame sizing so list boxes will look more consistent when FramePadding is far …
156 - ArrowButton(): Fixed arrow shape being horizontally misaligned by (FramePadding.y-FramePadding.x)…
410 …splaySafeAreaPadding values from (4,4) to (3,3) so it is smaller than FramePadding and has no effe…
624 - Added `GetFrameHeight()` helper which returns `(FontSize + style.FramePadding.y * 2)`.
1083 …sed to PushItemWidth() (when positive), previously it would add extra FramePadding.x*2 over that w…
1090 … exact width passed to PushItemWidth(), previously it would add extra FramePadding.x*2 over that w…