| 204 | } |
| 205 | |
| 206 | void SimulationParametersMainWindow::processMasterWidget() |
| 207 | { |
| 208 | if (ImGui::BeginChild("##master", {0, getMasterWidgetHeight()})) { |
| 209 | |
| 210 | if (_masterWidgetOpen = AlienImGui::BeginTreeNode( |
| 211 | AlienImGui::TreeNodeParameters().name("Overview").rank(AlienImGui::TreeNodeRank::High).defaultOpen(_masterWidgetOpen))) { |
| 212 | ImGui::Spacing(); |
| 213 | if (ImGui::BeginChild("##master2", {0, -ImGui::GetStyle().FramePadding.y})) { |
| 214 | processLocationTable(); |
| 215 | } |
| 216 | ImGui::EndChild(); |
| 217 | } |
| 218 | AlienImGui::EndTreeNode(); |
| 219 | } |
| 220 | ImGui::EndChild(); |
| 221 | |
| 222 | if (_masterWidgetOpen && (_detailWidgetOpen || _expertWidgetOpen)) { |
| 223 | ImGui::PushID("master"); |
| 224 | AlienImGui::MovableSeparator(AlienImGui::MovableSeparatorParameters(), _masterWidgetHeight); |
| 225 | ImGui::PopID(); |
| 226 | } |
| 227 | } |
| 228 | |
| 229 | void SimulationParametersMainWindow::processDetailWidget() |
| 230 | { |
nothing calls this directly
no test coverage detected