forked from suyu/suyu
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;
|
||||
}
|
||||
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);
|
||||
|
|
|
@ -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 "Arial";</string>
|
||||
font: 700 20pt "Ubuntu";</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 "Arial";</string>
|
||||
font: 700 15pt "Ubuntu";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Estimated Time 5m 4s</string>
|
||||
|
|
Loading…
Reference in a new issue