| 32 | } |
| 33 | |
| 34 | void ImStudio::BaseObject::highlight(int *select) |
| 35 | { |
| 36 | if (id == *select) |
| 37 | { |
| 38 | ImRect itemrect = ImRect(ImGui::GetItemRectMin(), ImGui::GetItemRectMax()); |
| 39 | itemrect.Min.x -= 5; |
| 40 | itemrect.Min.y -= 5; |
| 41 | itemrect.Max.x += 5; |
| 42 | itemrect.Max.y += 5; |
| 43 | ImGui::GetForegroundDrawList()->AddRect(itemrect.Min, itemrect.Max, IM_COL32(255, 255, 0, 255)); |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | void ImStudio::ContainerChild::drawall(int *select, bool staticlayout) |
| 48 | { |
nothing calls this directly
no test coverage detected