mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-26 02:34:23 +00:00
This commit is contained in:
parent
0cff5ac5a1
commit
fd06ed833b
20 changed files with 23 additions and 25 deletions
|
|
@ -3878,7 +3878,7 @@ void ImGui::RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, Im
|
|||
draw_list->PathFillConvex(col);
|
||||
}
|
||||
|
||||
void ImGui::RenderRectFilledWithHole(ImDrawList* draw_list, ImRect outer, ImRect inner, ImU32 col, float rounding)
|
||||
void ImGui::RenderRectFilledWithHole(ImDrawList* draw_list, const ImRect& outer, const ImRect& inner, ImU32 col, float rounding)
|
||||
{
|
||||
const bool fill_L = (inner.Min.x > outer.Min.x);
|
||||
const bool fill_R = (inner.Max.x < outer.Max.x);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue