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

Method getMasterWidgetHeight

source/Gui/SimulationParametersMainWindow.cpp:794–800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792}
793
794float SimulationParametersMainWindow::getMasterWidgetHeight() const
795{
796 if (_masterWidgetOpen && !_detailWidgetOpen && !_expertWidgetOpen) {
797 return std::max(scale(MasterMinHeight), ImGui::GetContentRegionAvail().y - getDetailWidgetHeight() - getExpertWidgetRefHeight());
798 }
799 return getMasterWidgetRefHeight();
800}
801
802float SimulationParametersMainWindow::getDetailWidgetHeight() const
803{

Callers

nothing calls this directly

Calls 1

scaleFunction · 0.85

Tested by

no test coverage detected