Properly support new Plutonium changes

This commit is contained in:
XorTroll 2020-03-21 16:53:24 +01:00
parent 3f34929830
commit 3b3d70a8eb
6 changed files with 7 additions and 9 deletions

@ -1 +1 @@
Subproject commit 5d0e7274a346bd3ef0950128b691e5505979c4bf
Subproject commit c1c71b1d96467f328d34e911781ffcdc35c6c077

@ -1 +1 @@
Subproject commit 07630f73a72cf2d3ea2cefc70dcd8a0449fbcbd3
Subproject commit 30f3e4c33d2767126c36a51b9259051c6c42d6b5

@ -1 +1 @@
Subproject commit f0f21507db78a15b1ac4dbc48ecfd3ebdd4d4e75
Subproject commit 3dbafe61833757ec9731fd94c66b68bf75e86f4d

Binary file not shown.

View file

@ -46,8 +46,6 @@ namespace ui
void MenuApplication::OnLoad()
{
// pu::ui::render::SetDefaultFont(cfg::GetAssetByTheme(g_ul_theme, "ui/Font.ttf"));
if(this->IsSuspended())
{
bool flag;

View file

@ -105,18 +105,18 @@ namespace ui
g_menu_app_instance->ApplyConfigForElement("main_menu", "menu_toggle_button", this->menuToggle);
this->Add(this->menuToggle);
this->itemName = pu::ui::elm::TextBlock::New(40, 610, "");
this->itemName = pu::ui::elm::TextBlock::New(40, 610, "A");
this->itemName->SetFont("DefaultFont@30");
this->itemName->SetColor(textclr);
g_menu_app_instance->ApplyConfigForElement("main_menu", "banner_name_text", this->itemName);
this->Add(this->itemName);
this->itemAuthor = pu::ui::elm::TextBlock::New(45, 650, "");
this->itemAuthor = pu::ui::elm::TextBlock::New(45, 650, "A");
this->itemAuthor->SetFont("DefaultFont@20");
this->itemAuthor->SetColor(textclr);
g_menu_app_instance->ApplyConfigForElement("main_menu", "banner_author_text", this->itemAuthor);
this->Add(this->itemAuthor);
this->itemVersion = pu::ui::elm::TextBlock::New(45, 675, "");
this->itemVersion->SetFont("DefaultFont@30");
this->itemVersion = pu::ui::elm::TextBlock::New(45, 675, "A");
this->itemVersion->SetFont("DefaultFont@20");
this->itemVersion->SetColor(textclr);
g_menu_app_instance->ApplyConfigForElement("main_menu", "banner_version_text", this->itemVersion);
this->Add(this->itemVersion);