| 3967 | } |
| 3968 | |
| 3969 | void ImGui::RenderFrameBorder(ImVec2 p_min, ImVec2 p_max, float rounding) |
| 3970 | { |
| 3971 | ImGuiContext& g = *GImGui; |
| 3972 | ImGuiWindow* window = g.CurrentWindow; |
| 3973 | const float border_size = g.Style.FrameBorderSize; |
| 3974 | if (border_size > 0.0f) |
| 3975 | { |
| 3976 | window->DrawList->AddRect(p_min + ImVec2(1, 1), p_max + ImVec2(1, 1), GetColorU32(ImGuiCol_BorderShadow), rounding, 0, border_size); |
| 3977 | window->DrawList->AddRect(p_min, p_max, GetColorU32(ImGuiCol_Border), rounding, 0, border_size); |
| 3978 | } |
| 3979 | } |
| 3980 | |
| 3981 | void ImGui::RenderColorComponentMarker(const ImRect& bb, ImU32 col, float rounding) |
| 3982 | { |