MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / RenderColorComponentMarker

Method RenderColorComponentMarker

include/imgui/imgui.cpp:4015–4022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4013}
4014
4015void ImGui::RenderColorComponentMarker(const ImRect& bb, ImU32 col, float rounding)
4016{
4017 if (bb.Min.x + 1 >= bb.Max.x)
4018 return;
4019 ImGuiContext& g = *GImGui;
4020 ImGuiWindow* window = g.CurrentWindow;
4021 RenderRectFilledInRangeH(window->DrawList, bb, col, bb.Min.x, ImMin(bb.Min.x + g.Style.ColorMarkerSize, bb.Max.x), rounding);
4022}
4023
4024void ImGui::RenderNavCursor(const ImRect& bb, ImGuiID id, ImGuiNavRenderCursorFlags flags)
4025{

Callers

nothing calls this directly

Calls 1

ImMinFunction · 0.85

Tested by

no test coverage detected