forked from ShuriZma/suyu
1
0
Fork 0

Hide logos change font

This commit is contained in:
ddutchie 2024-03-16 13:14:11 -04:00
parent a2d7dc61f0
commit 6a5d65cc17
2 changed files with 15 additions and 4 deletions

View File

@ -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<QByteArray>(reinterpret_cast<char*>(buffer.data()),
static_cast<int>(buffer.size()));
@ -116,6 +116,8 @@ void LoadingScreen::Prepare(Loader::AppLoader& loader) {
map.loadFromData(buffer.data(), static_cast<uint>(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);

View File

@ -79,9 +79,18 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>Ubuntu</family>
<pointsize>20</pointsize>
<italic>false</italic>
<bold>true</bold>
<kerning>true</kerning>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: black; color: white;
font: 75 20pt &quot;Arial&quot;;</string>
font: 700 20pt &quot;Ubuntu&quot;;</string>
</property>
<property name="text">
<string>Loading Shaders 387 / 1628</string>
@ -132,7 +141,7 @@ border-radius: 15px;
</property>
<property name="styleSheet">
<string notr="true">background-color: black; color: white;
font: 75 15pt &quot;Arial&quot;;</string>
font: 700 15pt &quot;Ubuntu&quot;;</string>
</property>
<property name="text">
<string>Estimated Time 5m 4s</string>