| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui_widgets.cpp | 321 const ImRect value_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y*2)); 322 const ImRect total_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w + (label_size.x > 0.0f ? style.ItemInnerSpacing.x : 0.0f), style.FramePadding.y*2) + label_size); 323 ItemSize(total_bb, style.FramePadding.y); 332 RenderText(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y), label); 357 const float line_height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadding.y*2), g.FontSize); 358 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x*2) : 0.0f), ImMax(line_height, label_size.y))); // Empty text doesn't add padding 364 RenderBullet(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f)); 365 RenderText(bb.Min+ImVec2(g.FontSize + style.FramePadding.x*2, text_base_offset_y), text_begin, text_end, false); 556 if ((flags & ImGuiButtonFlags_AlignTextBaseLine) && style.FramePadding.y < window->DC.CurrentLineTextBaseOffset) // Try to vertically align buttons that are smaller/have no padding so that text baseline matches (bit hacky, since it shouldn't be a flag) 557 pos.y += window->DC.CurrentLineTextBaseOffset - style.FramePadding [all...] |
| H A D | imgui_memory_editor.h | 467 ImGui::PushItemWidth((s.AddrDigitsCount + 1) * s.GlyphWidth + style.FramePadding.x * 2.0f); 499 ImGui::PushItemWidth((s.GlyphWidth * 10.0f) + style.FramePadding.x * 2.0f + style.ItemInnerSpacing.x); 509 ImGui::PushItemWidth((s.GlyphWidth * 6.0f) + style.FramePadding.x * 2.0f + style.ItemInnerSpacing.x);
|
| H A D | imgui_internal.h | 1074 ImVec2 MenuBarOffset; // MenuBarOffset.x is sort of equivalent of a per-layer CursorPos.x, saved/restored as we switch to the menu bar. The only situation when MenuBarOffset.y is > 0 if when (SafeAreaPadding.y > FramePadding.y), often used on TVs. 1223 float TitleBarHeight() const { return (Flags & ImGuiWindowFlags_NoTitleBar) ? 0.0f : CalcFontSize() + GImGui->Style.FramePadding.y * 2.0f; } 1225 float MenuBarHeight() const { return (Flags & ImGuiWindowFlags_MenuBar) ? DC.MenuBarOffset.y + CalcFontSize() + GImGui->Style.FramePadding.y * 2.0f : 0.0f; } 1295 ImVec2 FramePadding; // style.FramePadding locked at the time of BeginTabBar() member in struct:ImGuiTabBar
|
| H A D | imgui.cpp | 480 - 2016/01/23 (1.48) - fixed not honoring exact width passed to PushItemWidth(), previously it would add extra FramePadding.x*2 over that width. if you had manual pixel-perfect alignment in place it might affect you. 1091 FramePadding = ImVec2(4,3); // Padding within a framed rectangle (used by most widgets) 1097 IndentSpacing = 21.0f; // Horizontal spacing when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). 1127 FramePadding = ImFloor(FramePadding * scale_factor); 4431 PushStyleVar(ImGuiStyleVar_WindowPadding, style.FramePadding); 5382 const float pad = style.FramePadding.y; 5398 float pad_left = (flags & ImGuiWindowFlags_NoCollapse) ? style.FramePadding.x : (style.FramePadding.x + g.FontSize + style.ItemInnerSpacing.x); 5399 float pad_right = (p_open == NULL) ? style.FramePadding [all...] |
| H A D | imgui_demo.cpp | 2718 ImGui::Text("style.FramePadding: %.2f,%.2f", style.FramePadding.x, style.FramePadding.y); 2825 ImGui::SliderFloat2("FramePadding", (float*)&style.FramePadding, 0.0f, 20.0f, "%.0f");
|
| H A D | imgui.h | 347 IMGUI_API void AlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) 350 IMGUI_API float GetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 351 IMGUI_API float GetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) 387 IMGUI_API bool SmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text 486 IMGUI_API float GetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode 772 ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). 1073 ImGuiStyleVar_FramePadding, // ImVec2 FramePadding 1246 ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). member in struct:ImGuiStyle 1252 float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2).
|
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui_widgets.cpp | 321 const ImRect value_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y*2)); 322 const ImRect total_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w + (label_size.x > 0.0f ? style.ItemInnerSpacing.x : 0.0f), style.FramePadding.y*2) + label_size); 323 ItemSize(total_bb, style.FramePadding.y); 332 RenderText(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y), label); 357 const float line_height = ImMax(ImMin(window->DC.CurrentLineSize.y, g.FontSize + g.Style.FramePadding.y*2), g.FontSize); 358 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x*2) : 0.0f), ImMax(line_height, label_size.y))); // Empty text doesn't add padding 364 RenderBullet(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f)); 365 RenderText(bb.Min+ImVec2(g.FontSize + style.FramePadding.x*2, text_base_offset_y), text_begin, text_end, false); 556 if ((flags & ImGuiButtonFlags_AlignTextBaseLine) && style.FramePadding.y < window->DC.CurrentLineTextBaseOffset) // Try to vertically align buttons that are smaller/have no padding so that text baseline matches (bit hacky, since it shouldn't be a flag) 557 pos.y += window->DC.CurrentLineTextBaseOffset - style.FramePadding [all...] |
| H A D | imgui_memory_editor.h | 469 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.x); 511 ImGui::PushItemWidth((s.GlyphWidth * 6.0f) + style.FramePadding.x * 2.0f + style.ItemInnerSpacing.x);
|
| H A D | imgui_internal.h | 1074 ImVec2 MenuBarOffset; // MenuBarOffset.x is sort of equivalent of a per-layer CursorPos.x, saved/restored as we switch to the menu bar. The only situation when MenuBarOffset.y is > 0 if when (SafeAreaPadding.y > FramePadding.y), often used on TVs. 1223 float TitleBarHeight() const { return (Flags & ImGuiWindowFlags_NoTitleBar) ? 0.0f : CalcFontSize() + GImGui->Style.FramePadding.y * 2.0f; } 1225 float MenuBarHeight() const { return (Flags & ImGuiWindowFlags_MenuBar) ? DC.MenuBarOffset.y + CalcFontSize() + GImGui->Style.FramePadding.y * 2.0f : 0.0f; } 1295 ImVec2 FramePadding; // style.FramePadding locked at the time of BeginTabBar() member in struct:ImGuiTabBar
|
| H A D | imgui.cpp | 480 - 2016/01/23 (1.48) - fixed not honoring exact width passed to PushItemWidth(), previously it would add extra FramePadding.x*2 over that width. if you had manual pixel-perfect alignment in place it might affect you. 1091 FramePadding = ImVec2(4,3); // Padding within a framed rectangle (used by most widgets) 1097 IndentSpacing = 21.0f; // Horizontal spacing when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2). 1127 FramePadding = ImFloor(FramePadding * scale_factor); 4431 PushStyleVar(ImGuiStyleVar_WindowPadding, style.FramePadding); 5382 const float pad = style.FramePadding.y; 5398 float pad_left = (flags & ImGuiWindowFlags_NoCollapse) ? style.FramePadding.x : (style.FramePadding.x + g.FontSize + style.ItemInnerSpacing.x); 5399 float pad_right = (p_open == NULL) ? style.FramePadding [all...] |
| H A D | imgui.h | 347 IMGUI_API void AlignTextToFramePadding(); // vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) 350 IMGUI_API float GetFrameHeight(); // ~ FontSize + style.FramePadding.y * 2 351 IMGUI_API float GetFrameHeightWithSpacing(); // ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) 387 IMGUI_API bool SmallButton(const char* label); // button with FramePadding=(0,0) to easily embed within text 486 IMGUI_API float GetTreeNodeToLabelSpacing(); // horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode 772 ImGuiTreeNodeFlags_FramePadding = 1 << 10, // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding(). 1073 ImGuiStyleVar_FramePadding, // ImVec2 FramePadding 1246 ImVec2 FramePadding; // Padding within a framed rectangle (used by most widgets). member in struct:ImGuiStyle 1252 float IndentSpacing; // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2).
|
| /xsrc/external/mit/ctwm/dist/ |
| H A D | win_decorations_init.c | 50 2 * (Scr->FramePadding + Scr->ButtonIndent)); 149 Scr->TBInfo.leftx = Scr->TBInfo.rightoff = Scr->FramePadding;
|
| H A D | ctwm_main.c | 723 SETDEF(FramePadding, 0); 729 SETDEF(FramePadding, 2); 823 Scr->TitleBarFont.y += Scr->FramePadding; 824 Scr->TitleHeight = Scr->TitleBarFont.height + Scr->FramePadding * 2; 1174 scr->FramePadding = -100;
|
| H A D | win_decorations.c | 953 + Scr->FramePadding); 971 int h = (Scr->TitleHeight - 2 * Scr->FramePadding); 972 int y = Scr->FramePadding; 1099 int h = (Scr->TitleHeight - 2 * Scr->FramePadding); 1100 int y = Scr->FramePadding;
|
| H A D | screen.h | 772 /// FramePadding config var. Distance between titlebar contents and 774 int FramePadding; member in struct:ScreenInfo
|
| H A D | parse_be.c | 1217 Scr->FramePadding = num;
|
| H A D | CHANGES.md | 1674 FramePadding, TitlePadding, ButtonIndent are set to 0 pixels. I am
|
| /xsrc/external/mit/twm/dist/src/ |
| H A D | screen.h | 208 int FramePadding; /* distance between decorations and border */ member in struct:ScreenInfo
|
| H A D | twm.c | 547 Scr->TitleBarFont.y += Scr->FramePadding; 548 Scr->TitleHeight = Scr->TitleBarFont.height + Scr->FramePadding * 2; 728 Scr->FramePadding = 2; /* values that look "nice" on */
|
| H A D | add_window.c | 1114 int h = (Scr->TitleHeight - 2 * Scr->FramePadding); 1167 w = XCreateWindow(dpy, tmp_win->title_w, 0, Scr->FramePadding, 1182 Scr->TBInfo.leftx = Scr->TBInfo.rightoff = Scr->FramePadding; 1207 Scr->FramePadding);
|
| H A D | parse.c | 838 Scr->FramePadding = num;
|
| H A D | menus.c | 296 2 * (Scr->FramePadding + Scr->ButtonIndent));
|
| /xsrc/external/mit/ctwm/dist/doc/manual/ |
| H A D | ctwm.1.adoc | 843 FramePadding `pixels`:: 1915 values of `TitleButtonBorderWidth`, `FramePadding`, `TitlePadding`
|