| 3424 | } |
| 3425 | |
| 3426 | void ImGui::RenderFrameBorder(ImVec2 p_min, ImVec2 p_max, float rounding) |
| 3427 | { |
| 3428 | ImGuiContext& g = *GImGui; |
| 3429 | ImGuiWindow* window = g.CurrentWindow; |
| 3430 | const float border_size = g.Style.FrameBorderSize; |
| 3431 | if (border_size > 0.0f) |
| 3432 | { |
| 3433 | window->DrawList->AddRect(p_min + ImVec2(1, 1), p_max + ImVec2(1, 1), GetColorU32(ImGuiCol_BorderShadow), rounding, 0, border_size); |
| 3434 | window->DrawList->AddRect(p_min, p_max, GetColorU32(ImGuiCol_Border), rounding, 0, border_size); |
| 3435 | } |
| 3436 | } |
| 3437 | |
| 3438 | void ImGui::RenderNavHighlight(const ImRect& bb, ImGuiID id, ImGuiNavHighlightFlags flags) |
| 3439 | { |