/third_party/skia/third_party/externals/imgui/ |
H A D | imgui_tables.cpp | 1768 const float border_size = TABLE_BORDER_SIZE; in TableEndRow() local 1813 window->DrawList->AddLine(ImVec2(table->BorderX1, bg_y1), ImVec2(table->BorderX2, bg_y1), border_col, border_size); in TableEndRow() 1817 window->DrawList->AddLine(ImVec2(table->BorderX1, bg_y2), ImVec2(table->BorderX2, bg_y2), table->BorderColorStrong, border_size); in TableEndRow() local 2502 const float border_size = TABLE_BORDER_SIZE; in TableDrawBorders() local 2545 inner_drawlist->AddLine(ImVec2(column->MaxX, draw_y1), ImVec2(column->MaxX, draw_y2), col, border_size); in TableDrawBorders() 2562 inner_drawlist->AddRect(outer_border.Min, outer_border.Max, outer_col, 0.0f, 0, border_size); in TableDrawBorders() 2566 inner_drawlist->AddLine(outer_border.Min, ImVec2(outer_border.Min.x, outer_border.Max.y), outer_col, border_size); in TableDrawBorders() 2567 inner_drawlist->AddLine(ImVec2(outer_border.Max.x, outer_border.Min.y), outer_border.Max, outer_col, border_size); in TableDrawBorders() local 2571 inner_drawlist->AddLine(outer_border.Min, ImVec2(outer_border.Max.x, outer_border.Min.y), outer_col, border_size); in TableDrawBorders() 2572 inner_drawlist->AddLine(ImVec2(outer_border.Min.x, outer_border.Max.y), outer_border.Max, outer_col, border_size); in TableDrawBorders() local 2580 inner_drawlist->AddLine(ImVec2(table->BorderX1, border_y), ImVec2(table->BorderX2, border_y), table->BorderColorLight, border_size); TableDrawBorders() local [all...] |
H A D | imgui.cpp | 2880 const float border_size = g.Style.FrameBorderSize; in RenderFrame() local 2881 if (border && border_size > 0.0f) in RenderFrame() 2883 window->DrawList->AddRect(p_min + ImVec2(1, 1), p_max + ImVec2(1, 1), GetColorU32(ImGuiCol_BorderShadow), rounding, 0, border_size); in RenderFrame() 2884 window->DrawList->AddRect(p_min, p_max, GetColorU32(ImGuiCol_Border), rounding, 0, border_size); in RenderFrame() 2892 const float border_size = g.Style.FrameBorderSize; in RenderFrameBorder() local 2893 if (border_size > 0.0f) in RenderFrameBorder() 2895 window->DrawList->AddRect(p_min + ImVec2(1, 1), p_max + ImVec2(1, 1), GetColorU32(ImGuiCol_BorderShadow), rounding, 0, border_size); in RenderFrameBorder() 2896 window->DrawList->AddRect(p_min, p_max, GetColorU32(ImGuiCol_Border), rounding, 0, border_size); in RenderFrameBorder() 5551 float border_size = window->WindowBorderSize; in RenderWindowOuterBorders() local 5552 if (border_size > 0. in RenderWindowOuterBorders() [all...] |
H A D | imgui_widgets.cpp | 864 const float border_size = window->WindowBorderSize; in GetWindowScrollbarRect() local 868 return ImRect(inner_rect.Min.x, ImMax(outer_rect.Min.y, outer_rect.Max.y - border_size - scrollbar_size), inner_rect.Max.x, outer_rect.Max.y); in GetWindowScrollbarRect() 870 return ImRect(ImMax(outer_rect.Min.x, outer_rect.Max.x - border_size - scrollbar_size), inner_rect.Min.y, outer_rect.Max.x, inner_rect.Max.y); in GetWindowScrollbarRect()
|
/third_party/mesa3d/src/imgui/ |
H A D | imgui.cpp | 2378 const float border_size = g.Style.FrameBorderSize; in RenderFrame() local 2379 if (border && border_size > 0.0f) in RenderFrame() 2381 window->DrawList->AddRect(p_min+ImVec2(1,1), p_max+ImVec2(1,1), GetColorU32(ImGuiCol_BorderShadow), rounding, ImDrawCornerFlags_All, border_size); in RenderFrame() 2382 window->DrawList->AddRect(p_min, p_max, GetColorU32(ImGuiCol_Border), rounding, ImDrawCornerFlags_All, border_size); in RenderFrame() 2390 const float border_size = g.Style.FrameBorderSize; in RenderFrameBorder() local 2391 if (border_size > 0.0f) in RenderFrameBorder() 2393 window->DrawList->AddRect(p_min+ImVec2(1,1), p_max+ImVec2(1,1), GetColorU32(ImGuiCol_BorderShadow), rounding, ImDrawCornerFlags_All, border_size); in RenderFrameBorder() 2394 window->DrawList->AddRect(p_min, p_max, GetColorU32(ImGuiCol_Border), rounding, ImDrawCornerFlags_All, border_size); in RenderFrameBorder() 4811 float border_size = window->WindowBorderSize; in RenderOuterBorders() local 4812 if (border_size > 0. in RenderOuterBorders() [all...] |
H A D | imgui_widgets.cpp | 738 const float border_size = window->WindowBorderSize; in Scrollbar() local 740 ? ImRect(window->Pos.x + border_size, window_rect.Max.y - style.ScrollbarSize, window_rect.Max.x - other_scrollbar_size_w - border_size, window_rect.Max.y - border_size) in Scrollbar() 741 : ImRect(window_rect.Max.x - style.ScrollbarSize, window->Pos.y + border_size, window_rect.Max.x - border_size, window_rect.Max.y - other_scrollbar_size_w - border_size); in Scrollbar()
|