| 278 | } |
| 279 | |
| 280 | void drawImGui() override |
| 281 | { |
| 282 | const float scaleFactor = getScaleFactor(); |
| 283 | |
| 284 | ImGui::SetNextWindowPos(ImVec2(0, 0)); |
| 285 | ImGui::SetNextWindowSize(ImVec2(box.size.x * scaleFactor, box.size.y * scaleFactor)); |
| 286 | |
| 287 | ScopeData* const scope = module != nullptr ? &module->scope : getFakeScopeInstance(); |
| 288 | scope->darkMode = settings::preferDarkPanels; |
| 289 | do_show_scope_window(scope, scaleFactor); |
| 290 | } |
| 291 | |
| 292 | void onButton(const ButtonEvent& e) override |
| 293 | { |
nothing calls this directly
no test coverage detected