MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / createHelpInstallTab

Method createHelpInstallTab

source/ui/controls/helpView.cpp:56–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void HelpView::createHelpInstallTab() {
57 std::shared_ptr<ImGuiLayout> model = std::make_shared<ImGuiLayout>();
58 std::shared_ptr<LayoutSection> section = model->addSection(Msg::HELPVIEW_TITLE_HELP_INSTALL);
59
60 section->addText(Msg::NONE, Msg::NONE, getTranslation(Msg::HELPVIEW_HELP_INSTALL_LABEL));
61
62 BString name;
63 if (GlobalSettings::hasIconsFont()) {
64 name += QUESTION_ICON;
65 name += " ";
66 }
67 name += getTranslation(Msg::HELPVIEW_TITLE_HELP_INSTALL);
68 addTab(name, name, model, [this](bool buttonPressed, BaseViewTab& tab) {
69
70 });
71}
72
73void HelpView::createHelpTroubleshootingTab() {
74 std::shared_ptr<ImGuiLayout> model = std::make_shared<ImGuiLayout>();

Callers

nothing calls this directly

Calls 3

getTranslationFunction · 0.85
addSectionMethod · 0.80
addTextMethod · 0.80

Tested by

no test coverage detected