mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Moved the fan art scrape menu option to the bottom and set it as disabled by default.
This commit is contained in:
parent
89cf82b88e
commit
5f2f439fc3
|
@ -353,17 +353,6 @@ void GuiScraperMenu::openContentOptions()
|
|||
}
|
||||
});
|
||||
|
||||
// Scrape fan art images.
|
||||
auto scrapeFanArt = std::make_shared<SwitchComponent>(mWindow);
|
||||
scrapeFanArt->setState(Settings::getInstance()->getBool("ScrapeFanArt"));
|
||||
s->addWithLabel("FAN ART IMAGES", scrapeFanArt);
|
||||
s->addSaveFunc([scrapeFanArt, s] {
|
||||
if (scrapeFanArt->getState() != Settings::getInstance()->getBool("ScrapeFanArt")) {
|
||||
Settings::getInstance()->setBool("ScrapeFanArt", scrapeFanArt->getState());
|
||||
s->setNeedsSaving();
|
||||
}
|
||||
});
|
||||
|
||||
// Scrape marquee images.
|
||||
auto scrape_marquees = std::make_shared<SwitchComponent>(mWindow);
|
||||
scrape_marquees->setState(Settings::getInstance()->getBool("ScrapeMarquees"));
|
||||
|
@ -419,6 +408,17 @@ void GuiScraperMenu::openContentOptions()
|
|||
->setOpacity(DISABLED_OPACITY);
|
||||
}
|
||||
|
||||
// Scrape fan art images.
|
||||
auto scrapeFanArt = std::make_shared<SwitchComponent>(mWindow);
|
||||
scrapeFanArt->setState(Settings::getInstance()->getBool("ScrapeFanArt"));
|
||||
s->addWithLabel("FAN ART IMAGES", scrapeFanArt);
|
||||
s->addSaveFunc([scrapeFanArt, s] {
|
||||
if (scrapeFanArt->getState() != Settings::getInstance()->getBool("ScrapeFanArt")) {
|
||||
Settings::getInstance()->setBool("ScrapeFanArt", scrapeFanArt->getState());
|
||||
s->setNeedsSaving();
|
||||
}
|
||||
});
|
||||
|
||||
mWindow->pushGui(s);
|
||||
}
|
||||
|
||||
|
|
|
@ -97,10 +97,10 @@ void Settings::setDefaults()
|
|||
mBoolMap["ScrapeTitleScreens"] = {true, true};
|
||||
mBoolMap["ScrapeCovers"] = {true, true};
|
||||
mBoolMap["ScrapeBackCovers"] = {true, true};
|
||||
mBoolMap["ScrapeFanArt"] = {true, true};
|
||||
mBoolMap["ScrapeMarquees"] = {true, true};
|
||||
mBoolMap["Scrape3DBoxes"] = {true, true};
|
||||
mBoolMap["ScrapePhysicalMedia"] = {true, true};
|
||||
mBoolMap["ScrapeFanArt"] = {false, false};
|
||||
|
||||
mStringMap["MiximageResolution"] = {"1280x960", "1280x960"};
|
||||
mStringMap["MiximageScreenshotScaling"] = {"sharp", "sharp"};
|
||||
|
|
Loading…
Reference in a new issue