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

Method GetColorU32

include/imgui/imgui.cpp:3573–3579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3571}
3572
3573ImU32 ImGui::GetColorU32(ImGuiCol idx, float alpha_mul)
3574{
3575 ImGuiStyle& style = GImGui->Style;
3576 ImVec4 c = style.Colors[idx];
3577 c.w *= style.Alpha * alpha_mul;
3578 return ColorConvertFloat4ToU32(c);
3579}
3580
3581ImU32 ImGui::GetColorU32(const ImVec4& col)
3582{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected