mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Added folder indication icon when scraping a folder.
This commit is contained in:
parent
7a437a44e5
commit
b249a1e9a3
|
@ -33,7 +33,8 @@ GuiGameScraper::GuiGameScraper(
|
||||||
// Row 0 is a spacer.
|
// Row 0 is a spacer.
|
||||||
|
|
||||||
mGameName = std::make_shared<TextComponent>(mWindow,
|
mGameName = std::make_shared<TextComponent>(mWindow,
|
||||||
Utils::FileSystem::getFileName(mSearchParams.game->getPath()),
|
Utils::FileSystem::getFileName(mSearchParams.game->getPath()) +
|
||||||
|
((mSearchParams.game->getType() == FOLDER) ? " " + ViewController::FOLDER_CHAR : ""),
|
||||||
Font::get(FONT_SIZE_MEDIUM), 0x777777FF, ALIGN_CENTER);
|
Font::get(FONT_SIZE_MEDIUM), 0x777777FF, ALIGN_CENTER);
|
||||||
mGrid.setEntry(mGameName, Vector2i(0, 1), false, true);
|
mGrid.setEntry(mGameName, Vector2i(0, 1), false, true);
|
||||||
|
|
||||||
|
|
|
@ -131,9 +131,11 @@ void GuiScraperMulti::doNextSearch()
|
||||||
mSystem->setText(Utils::String::toUpper(mSearchQueue.front().system->getFullName()));
|
mSystem->setText(Utils::String::toUpper(mSearchQueue.front().system->getFullName()));
|
||||||
|
|
||||||
// Update subtitle.
|
// Update subtitle.
|
||||||
ss.str(""); // Clear.
|
ss.str("");
|
||||||
ss << "GAME " << (mCurrentGame + 1) << " OF " << mTotalGames << " - " <<
|
ss << "GAME " << (mCurrentGame + 1) << " OF " << mTotalGames << " - " <<
|
||||||
Utils::FileSystem::getFileName(mSearchQueue.front().game->getPath());
|
Utils::FileSystem::getFileName(mSearchQueue.front().game->getPath()) <<
|
||||||
|
((mSearchQueue.front().game->getType() == FOLDER) ? " " +
|
||||||
|
ViewController::FOLDER_CHAR : "");
|
||||||
mSubtitle->setText(ss.str());
|
mSubtitle->setText(ss.str());
|
||||||
|
|
||||||
mSearchComp->search(mSearchQueue.front());
|
mSearchComp->search(mSearchQueue.front());
|
||||||
|
|
Loading…
Reference in a new issue