2020-09-20 01:21:28 +01:00
|
|
|
#include "about_tab.hpp"
|
2020-10-05 01:59:46 +01:00
|
|
|
#include "lang.hpp"
|
|
|
|
using namespace lang::literals;
|
2020-09-20 01:21:28 +01:00
|
|
|
|
|
|
|
AboutTab::AboutTab()
|
|
|
|
{
|
|
|
|
// Subtitle
|
|
|
|
brls::Label *subTitle = new brls::Label(
|
|
|
|
brls::LabelStyle::REGULAR,
|
2020-10-05 01:59:46 +01:00
|
|
|
"About_Title"_lang ,
|
2020-09-20 01:21:28 +01:00
|
|
|
true
|
|
|
|
);
|
|
|
|
subTitle->setHorizontalAlign(NVG_ALIGN_CENTER);
|
|
|
|
this->addView(subTitle);
|
|
|
|
|
|
|
|
// Copyright
|
|
|
|
brls::Label *copyright = new brls::Label(
|
|
|
|
brls::LabelStyle::DESCRIPTION,
|
2020-10-05 01:59:46 +01:00
|
|
|
"copyright"_lang,
|
2020-09-20 01:21:28 +01:00
|
|
|
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,
|
2020-10-05 01:59:46 +01:00
|
|
|
"Disclaimers"_lang,
|
2020-09-20 01:21:28 +01:00
|
|
|
true
|
|
|
|
);
|
|
|
|
this->addView(links);
|
|
|
|
}
|