mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-11-25 02:52:05 +00:00
35 lines
1.1 KiB
C++
35 lines
1.1 KiB
C++
|
#include "about_tab.hpp"
|
||
|
|
||
|
AboutTab::AboutTab()
|
||
|
{
|
||
|
// Subtitle
|
||
|
brls::Label *subTitle = new brls::Label(
|
||
|
brls::LabelStyle::REGULAR,
|
||
|
"All-in-One Nintendo Switch Updater",
|
||
|
true
|
||
|
);
|
||
|
subTitle->setHorizontalAlign(NVG_ALIGN_CENTER);
|
||
|
this->addView(subTitle);
|
||
|
|
||
|
// Copyright
|
||
|
brls::Label *copyright = new brls::Label(
|
||
|
brls::LabelStyle::DESCRIPTION,
|
||
|
"AIO-switch-updater is licensed under GPL-3.0\n" \
|
||
|
"\u00A9 2020 HamletDuFromage",
|
||
|
true
|
||
|
);
|
||
|
copyright->setHorizontalAlign(NVG_ALIGN_CENTER);
|
||
|
this->addView(copyright);
|
||
|
|
||
|
// Links
|
||
|
this->addView(new brls::Header("Disclaimers"));
|
||
|
brls::Label *links = new brls::Label(
|
||
|
brls::LabelStyle::SMALL,
|
||
|
"\uE016 Aside from cheat codes that are mirrored from the main Gbatemp thread, "\
|
||
|
"HamletDuFromage isn't hosting anything. All credits go to respective owners\n"\
|
||
|
"\uE016 Links are refreshed every three hours. If a link remains broken after 3 hours have passed, please open a Github issue\n",
|
||
|
true
|
||
|
);
|
||
|
this->addView(links);
|
||
|
}
|