| 255 | } |
| 256 | |
| 257 | std::shared_ptr<LayoutSection> ImGuiLayout::addSection(Msg titleId) { |
| 258 | std::shared_ptr<LayoutSection> section = std::make_shared<LayoutSection>(); |
| 259 | if (titleId != Msg::NONE) { |
| 260 | section->setTitle(getTranslation(titleId)); |
| 261 | } |
| 262 | this->sections.push_back(section); |
| 263 | return section; |
| 264 | } |
| 265 | |
| 266 | void ImGuiLayout::doLayout() { |
| 267 | leftColumnWidth = 0.0f; |
no test coverage detected