Home
last modified time | relevance | path

Searched refs:menu_bar_rect (Results 1 - 2 of 2) sorted by relevance

/third_party/mesa3d/src/imgui/
H A Dimgui.cpp5259 ImRect menu_bar_rect = window->MenuBarRect(); in Begin() local
5260 menu_bar_rect.ClipWith(window->Rect()); // Soft clipping, in particular child window don't have minimum size covering the menu bar so this is useful for them. in Begin()
5261 window->DrawList->AddRectFilled(menu_bar_rect.Min, menu_bar_rect.Max, GetColorU32(ImGuiCol_MenuBarBg), (flags & ImGuiWindowFlags_NoTitleBar) ? window_rounding : 0.0f, ImDrawCornerFlags_Top); in Begin()
5262 if (style.FrameBorderSize > 0.0f && menu_bar_rect.Max.y < window->Pos.y + window->Size.y) in Begin()
5263 window->DrawList->AddLine(menu_bar_rect.GetBL(), menu_bar_rect.GetBR(), GetColorU32(ImGuiCol_Border), style.FrameBorderSize); in Begin()
/third_party/skia/third_party/externals/imgui/
H A Dimgui.cpp5624 ImRect menu_bar_rect = window->MenuBarRect(); in RenderWindowDecorations() local
5625 menu_bar_rect.ClipWith(window->Rect()); // Soft clipping, in particular child window don't have minimum size covering the menu bar so this is useful for them. in RenderWindowDecorations()
5626 window->DrawList->AddRectFilled(menu_bar_rect.Min + ImVec2(window_border_size, 0), menu_bar_rect.Max - ImVec2(window_border_size, 0), GetColorU32(ImGuiCol_MenuBarBg), (flags & ImGuiWindowFlags_NoTitleBar) ? window_rounding : 0.0f, ImDrawFlags_RoundCornersTop); in RenderWindowDecorations()
5627 if (style.FrameBorderSize > 0.0f && menu_bar_rect.Max.y < window->Pos.y + window->Size.y) in RenderWindowDecorations()
5628 window->DrawList->AddLine(menu_bar_rect.GetBL(), menu_bar_rect.GetBR(), GetColorU32(ImGuiCol_Border), style.FrameBorderSize); in RenderWindowDecorations()

Completed in 40 milliseconds