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

Method createAboutTab

source/ui/controls/helpView.cpp:39–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void 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
56void HelpView::createHelpInstallTab() {
57 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