MCPcopy Create free account
hub / github.com/Norbyte/bg3se / GetStyleColor

Method GetStyleColor

BG3Extender/Extender/Client/IMGUI/IMGUI.cpp:384–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382
383
384std::optional<glm::vec4> StyledRenderable::GetStyleColor(GuiColor color)
385{
386 for (auto& kv : StyleColors) {
387 if (kv.Key == color) {
388 return kv.Value;
389 }
390 }
391
392 return {};
393}
394
395
396void StyledRenderable::SetStyleColor(GuiColor color, glm::vec4 value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected