| 867 | } |
| 868 | |
| 869 | void DrawRect(const sf::FloatRect& rect, const sf::Color& color, float rounding, int rounding_corners, float thickness) |
| 870 | { |
| 871 | ImDrawList* draw_list = ImGui::GetWindowDrawList(); |
| 872 | draw_list->AddRect(getTopLeftAbsolute(rect), |
| 873 | getDownRightAbsolute(rect), |
| 874 | ColorConvertFloat4ToU32(toImColor(color)), |
| 875 | rounding, |
| 876 | rounding_corners, |
| 877 | thickness); |
| 878 | } |
| 879 | |
| 880 | void DrawRectFilled(const sf::FloatRect& rect, const sf::Color& color, float rounding, int rounding_corners) |
| 881 | { |
nothing calls this directly
no test coverage detected