mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 09:18:40 +12:00
Dagimon mega level
ani fixes add color options for toolbar and game icons
This commit is contained in:
parent
457c2d364f
commit
1a4e1919fc
16 changed files with 196 additions and 64 deletions
|
@ -972,6 +972,10 @@ void main_window::CreateConnects()
|
|||
connect(&dlg, &settings_dialog::GuiSettingsSaveRequest, this, &main_window::SaveWindowState);
|
||||
connect(&dlg, &settings_dialog::GuiSettingsSyncRequest, [=]() {ConfigureGuiFromSettings(true); });
|
||||
connect(&dlg, &settings_dialog::GuiStylesheetRequest, this, &main_window::RequestGlobalStylesheetChange);
|
||||
connect(&dlg, &settings_dialog::accepted, [this](){
|
||||
gameListFrame->LoadSettings();
|
||||
QColor tbc = guiSettings->GetValue(GUI::mw_toolBarColor).value<QColor>();
|
||||
ui->toolBar->setStyleSheet(QString("background-color: rgba(%1, %2, %3, %4);").arg(tbc.red()).arg(tbc.green()).arg(tbc.blue()).arg(tbc.alpha())); });
|
||||
dlg.exec();
|
||||
};
|
||||
connect(ui->confCPUAct, &QAction::triggered, [=]() { openSettings(0); });
|
||||
|
@ -1233,6 +1237,9 @@ void main_window::ConfigureGuiFromSettings(bool configureAll)
|
|||
gameListFrame->SetToolBarVisible(ui->showGameToolBarAct->isChecked());
|
||||
ui->toolBar->setVisible(ui->showToolBarAct->isChecked());
|
||||
|
||||
QColor tbc = guiSettings->GetValue(GUI::mw_toolBarColor).value<QColor>();
|
||||
ui->toolBar->setStyleSheet(QString("background-color: rgba(%1, %2, %3, %4);").arg(tbc.red()).arg(tbc.green()).arg(tbc.blue()).arg(tbc.alpha()));
|
||||
|
||||
ui->showCatHDDGameAct->setChecked(guiSettings->GetCategoryVisibility(Category::Non_Disc_Game));
|
||||
ui->showCatDiscGameAct->setChecked(guiSettings->GetCategoryVisibility(Category::Disc_Game));
|
||||
ui->showCatHomeAct->setChecked(guiSettings->GetCategoryVisibility(Category::Home));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue