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

Method OnViewportUpdated

BG3Extender/Extender/Client/IMGUI/IMGUI.cpp:2020–2025  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2018}
2019
2020void IMGUIManager::OnViewportUpdated()
2021{
2022 auto viewport = renderer_->GetViewportSize();
2023
2024 requestedScale_ = (float)viewport.y / 1610.0f;
2025}
2026
2027#define DEFAULT_COLOR(name, value) style.Colors[ImGuiCol_##name] = value;
2028

Callers

nothing calls this directly

Calls 1

GetViewportSizeMethod · 0.80

Tested by

no test coverage detected