MCPcopy Create free account
hub / github.com/chrxh/alien / processIntern

Method processIntern

source/Gui/SimulationParametersMainWindow.cpp:62–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void SimulationParametersMainWindow::processIntern()
63{
64 if (!_sessionId.has_value() || _sessionId.value() != _simulationFacade->getSessionId()) {
65 _selectedLocationIndex = 0;
66 }
67
68 processToolbar();
69
70 if (ImGui::BeginChild("##content", {0, -scale(50.0f)})) {
71
72 updateLocations();
73
74 auto origMasterHeight = _masterWidgetHeight;
75 auto origExpertWidgetHeight = _expertWidgetHeight;
76
77 processMasterWidget();
78 processDetailWidget();
79 processExpertWidget();
80
81 correctLayout(origMasterHeight, origExpertWidgetHeight);
82 }
83 ImGui::EndChild();
84
85 processStatusBar();
86
87 _sessionId = _simulationFacade->getSessionId();
88}
89
90void SimulationParametersMainWindow::shutdownIntern()
91{

Callers

nothing calls this directly

Calls 2

scaleFunction · 0.85
getSessionIdMethod · 0.80

Tested by

no test coverage detected