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

Method createHelpTroubleshootingTab

source/ui/controls/helpView.cpp:73–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void HelpView::createHelpTroubleshootingTab() {
74 std::shared_ptr<ImGuiLayout> model = std::make_shared<ImGuiLayout>();
75 std::shared_ptr<LayoutSection> section = model->addSection(Msg::HELPVIEW_TITLE_HELP_TROUBLESHOOTING);
76
77 section->addText(Msg::NONE, Msg::NONE, getTranslation(Msg::HELPVIEW_HELP_TROUBLESHOOTING_LABEL));
78
79 BString name;
80 if (GlobalSettings::hasIconsFont()) {
81 name += QUESTION_ICON;
82 name += " ";
83 }
84 name += getTranslation(Msg::HELPVIEW_TITLE_HELP_TROUBLESHOOTING);
85 addTab(name, name, model, [this](bool buttonPressed, BaseViewTab& tab) {
86
87 });
88}

Callers

nothing calls this directly

Calls 3

getTranslationFunction · 0.85
addSectionMethod · 0.80
addTextMethod · 0.80

Tested by

no test coverage detected