mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-16 11:52:44 +01:00
Hide logos change font
This commit is contained in:
parent
a2d7dc61f0
commit
6a5d65cc17
2 changed files with 15 additions and 4 deletions
|
@ -47,7 +47,7 @@ QProgressBar {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
QProgressBar::chunk {
|
QProgressBar::chunk {
|
||||||
background-color: #ff3c28;
|
background-color: #white;
|
||||||
})";
|
})";
|
||||||
|
|
||||||
LoadingScreen::LoadingScreen(QWidget* parent)
|
LoadingScreen::LoadingScreen(QWidget* parent)
|
||||||
|
@ -99,7 +99,7 @@ void LoadingScreen::Prepare(Loader::AppLoader& loader) {
|
||||||
#ifdef SUYU_QT_MOVIE_MISSING
|
#ifdef SUYU_QT_MOVIE_MISSING
|
||||||
QPixmap map;
|
QPixmap map;
|
||||||
map.loadFromData(buffer.data(), buffer.size());
|
map.loadFromData(buffer.data(), buffer.size());
|
||||||
ui->banner->setPixmap(map);
|
setPixmap(map);
|
||||||
#else
|
#else
|
||||||
backing_mem = std::make_unique<QByteArray>(reinterpret_cast<char*>(buffer.data()),
|
backing_mem = std::make_unique<QByteArray>(reinterpret_cast<char*>(buffer.data()),
|
||||||
static_cast<int>(buffer.size()));
|
static_cast<int>(buffer.size()));
|
||||||
|
@ -116,6 +116,8 @@ void LoadingScreen::Prepare(Loader::AppLoader& loader) {
|
||||||
map.loadFromData(buffer.data(), static_cast<uint>(buffer.size()));
|
map.loadFromData(buffer.data(), static_cast<uint>(buffer.size()));
|
||||||
ui->logo->setPixmap(map);
|
ui->logo->setPixmap(map);
|
||||||
}
|
}
|
||||||
|
ui->logo->setVisible(false);
|
||||||
|
ui->banner->setVisible(false);
|
||||||
|
|
||||||
slow_shader_compile_start = false;
|
slow_shader_compile_start = false;
|
||||||
OnLoadProgress(VideoCore::LoadCallbackStage::Prepare, 0, 0);
|
OnLoadProgress(VideoCore::LoadCallbackStage::Prepare, 0, 0);
|
||||||
|
|
|
@ -79,9 +79,18 @@
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</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">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color: black; color: white;
|
<string notr="true">background-color: black; color: white;
|
||||||
font: 75 20pt "Arial";</string>
|
font: 700 20pt "Ubuntu";</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Loading Shaders 387 / 1628</string>
|
<string>Loading Shaders 387 / 1628</string>
|
||||||
|
@ -132,7 +141,7 @@ border-radius: 15px;
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">background-color: black; color: white;
|
<string notr="true">background-color: black; color: white;
|
||||||
font: 75 15pt "Arial";</string>
|
font: 700 15pt "Ubuntu";</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Estimated Time 5m 4s</string>
|
<string>Estimated Time 5m 4s</string>
|
||||||
|
|
Loading…
Reference in a new issue