From 6a5d65cc1737224e16f636d75ee827c69ac79cea Mon Sep 17 00:00:00 2001 From: ddutchie Date: Sat, 16 Mar 2024 13:14:11 -0400 Subject: [PATCH] Hide logos change font --- src/suyu/loading_screen.cpp | 6 ++++-- src/suyu/loading_screen.ui | 13 +++++++++++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/suyu/loading_screen.cpp b/src/suyu/loading_screen.cpp index 31c02dd321..7912ecafcf 100644 --- a/src/suyu/loading_screen.cpp +++ b/src/suyu/loading_screen.cpp @@ -47,7 +47,7 @@ QProgressBar { padding: 2px; } QProgressBar::chunk { - background-color: #ff3c28; + background-color: #white; })"; LoadingScreen::LoadingScreen(QWidget* parent) @@ -99,7 +99,7 @@ void LoadingScreen::Prepare(Loader::AppLoader& loader) { #ifdef SUYU_QT_MOVIE_MISSING QPixmap map; map.loadFromData(buffer.data(), buffer.size()); - ui->banner->setPixmap(map); + setPixmap(map); #else backing_mem = std::make_unique(reinterpret_cast(buffer.data()), static_cast(buffer.size())); @@ -116,6 +116,8 @@ void LoadingScreen::Prepare(Loader::AppLoader& loader) { map.loadFromData(buffer.data(), static_cast(buffer.size())); ui->logo->setPixmap(map); } + ui->logo->setVisible(false); + ui->banner->setVisible(false); slow_shader_compile_start = false; OnLoadProgress(VideoCore::LoadCallbackStage::Prepare, 0, 0); diff --git a/src/suyu/loading_screen.ui b/src/suyu/loading_screen.ui index 4396e91473..e54c7b8246 100644 --- a/src/suyu/loading_screen.ui +++ b/src/suyu/loading_screen.ui @@ -79,9 +79,18 @@ 0 + + + Ubuntu + 20 + false + true + true + + background-color: black; color: white; -font: 75 20pt "Arial"; +font: 700 20pt "Ubuntu"; Loading Shaders 387 / 1628 @@ -132,7 +141,7 @@ border-radius: 15px; background-color: black; color: white; -font: 75 15pt "Arial"; +font: 700 15pt "Ubuntu"; Estimated Time 5m 4s