Initial Commit

This commit is contained in:
2026-03-05 20:18:29 +01:00
commit 5a4d3ee8e0
901 changed files with 296682 additions and 0 deletions

31
source/about_tab.cpp Normal file
View File

@@ -0,0 +1,31 @@
#include "about_tab.hpp"
namespace i18n = brls::i18n;
using namespace i18n::literals;
AboutTab::AboutTab()
{
// Subtitle
brls::Label* subTitle = new brls::Label(
brls::LabelStyle::REGULAR,
"menus/about/title"_i18n,
true);
subTitle->setHorizontalAlign(NVG_ALIGN_CENTER);
this->addView(subTitle);
// Copyright
brls::Label* copyright = new brls::Label(
brls::LabelStyle::DESCRIPTION,
"menus/about/copyright"_i18n + "\n© 2020-2022 HamletDuFromage",
true);
copyright->setHorizontalAlign(NVG_ALIGN_CENTER);
this->addView(copyright);
// Links
this->addView(new brls::Header("menus/about/disclaimers_title"_i18n));
brls::Label* links = new brls::Label(
brls::LabelStyle::SMALL,
"menus/about/disclaimers"_i18n + "\n" + "menus/about/donate"_i18n,
true);
this->addView(links);
}