| 357 | |
| 358 | |
| 359 | std::optional<float> StyledRenderable::GetStyleVar(GuiStyleVar var) |
| 360 | { |
| 361 | for (auto& kv : StyleVars) { |
| 362 | if (kv.Key == var) { |
| 363 | return kv.Value.x; |
| 364 | } |
| 365 | } |
| 366 | |
| 367 | return {}; |
| 368 | } |
| 369 | |
| 370 | |
| 371 | void StyledRenderable::SetStyleVar(GuiStyleVar var, float value, std::optional<float> value2) |
nothing calls this directly
no outgoing calls
no test coverage detected