From 9546eb00bac9d37ff5dac3fe787222982d19a93a Mon Sep 17 00:00:00 2001 From: Leon Styhre <leon@leonstyhre.com> Date: Thu, 19 Aug 2021 20:31:44 +0200 Subject: [PATCH] Changed the gamelist views marquee image filtering from nearest neighbor to linear. --- es-app/src/views/gamelist/DetailedGameListView.cpp | 4 ++-- es-app/src/views/gamelist/GridGameListView.cpp | 2 +- es-app/src/views/gamelist/VideoGameListView.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/es-app/src/views/gamelist/DetailedGameListView.cpp b/es-app/src/views/gamelist/DetailedGameListView.cpp index 56a11c6b5..00bb64fed 100644 --- a/es-app/src/views/gamelist/DetailedGameListView.cpp +++ b/es-app/src/views/gamelist/DetailedGameListView.cpp @@ -331,7 +331,7 @@ void DetailedGameListView::updateInfoPanel() CollectionSystemsManager::get()->updateCollectionFolderMetadata(file->getSystem()); if (mRandomGame) { mThumbnail.setImage(mRandomGame->getThumbnailPath()); - mMarquee.setImage(mRandomGame->getMarqueePath()); + mMarquee.setImage(mRandomGame->getMarqueePath(), false, true); mImage.setImage(mRandomGame->getImagePath()); } else { @@ -342,7 +342,7 @@ void DetailedGameListView::updateInfoPanel() } else { mThumbnail.setImage(file->getThumbnailPath()); - mMarquee.setImage(file->getMarqueePath()); + mMarquee.setImage(file->getMarqueePath(), false, true); mImage.setImage(file->getImagePath()); } diff --git a/es-app/src/views/gamelist/GridGameListView.cpp b/es-app/src/views/gamelist/GridGameListView.cpp index 1d59d6c2a..ae7eae6ee 100644 --- a/es-app/src/views/gamelist/GridGameListView.cpp +++ b/es-app/src/views/gamelist/GridGameListView.cpp @@ -404,7 +404,7 @@ void GridGameListView::updateInfoPanel() fadingOut = true; } else { - mMarquee.setImage(file->getMarqueePath()); + mMarquee.setImage(file->getMarqueePath(), false, true); // Populate the gamelistInfo field which shows an icon if a folder has been entered // as well as the game count for the entire system (total and favorites separately). diff --git a/es-app/src/views/gamelist/VideoGameListView.cpp b/es-app/src/views/gamelist/VideoGameListView.cpp index 49547b409..669a3f868 100644 --- a/es-app/src/views/gamelist/VideoGameListView.cpp +++ b/es-app/src/views/gamelist/VideoGameListView.cpp @@ -354,7 +354,7 @@ void VideoGameListView::updateInfoPanel() CollectionSystemsManager::get()->updateCollectionFolderMetadata(file->getSystem()); if (mRandomGame) { mThumbnail.setImage(mRandomGame->getThumbnailPath()); - mMarquee.setImage(mRandomGame->getMarqueePath()); + mMarquee.setImage(mRandomGame->getMarqueePath(), false, true); mVideo->setImage(mRandomGame->getImagePath()); // Always stop the video before setting a new video as it will otherwise continue // to play if it has the same path (i.e. it is the same physical video file) as @@ -376,7 +376,7 @@ void VideoGameListView::updateInfoPanel() } else { mThumbnail.setImage(file->getThumbnailPath()); - mMarquee.setImage(file->getMarqueePath()); + mMarquee.setImage(file->getMarqueePath(), false, true); mVideo->setImage(file->getImagePath()); mVideo->onHide();