| 37 | } |
| 38 | |
| 39 | void HelpView::createAboutTab() { |
| 40 | std::shared_ptr<ImGuiLayout> model = std::make_shared<ImGuiLayout>(); |
| 41 | std::shared_ptr<LayoutSection> section = model->addSection(Msg::HELPVIEW_TITLE_ABOUT); |
| 42 | |
| 43 | section->addText(Msg::NONE, Msg::NONE, getTranslation(Msg::HELPVIEW_ABOUT_LABEL)); |
| 44 | |
| 45 | BString name; |
| 46 | if (GlobalSettings::hasIconsFont()) { |
| 47 | name += ABOUT_ICON; |
| 48 | name += " "; |
| 49 | } |
| 50 | name += getTranslation(Msg::HELPVIEW_TITLE_ABOUT); |
| 51 | addTab(name, name, model, [this](bool buttonPressed, BaseViewTab& tab) { |
| 52 | |
| 53 | }); |
| 54 | } |
| 55 | |
| 56 | void HelpView::createHelpInstallTab() { |
| 57 | std::shared_ptr<ImGuiLayout> model = std::make_shared<ImGuiLayout>(); |
nothing calls this directly
no test coverage detected