From 574feadc688f27a0c5332757b6f5b37d067a044c Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 14 Jan 2021 22:56:49 +0100 Subject: [PATCH] Changed from frame.png to frame.svg in most places. --- es-app/src/guis/GuiGameScraper.cpp | 2 +- es-app/src/guis/GuiInfoPopup.cpp | 2 +- es-app/src/guis/GuiMetaDataEd.cpp | 2 +- es-app/src/guis/GuiScraperMulti.cpp | 2 +- es-core/src/components/MenuComponent.cpp | 2 +- es-core/src/guis/GuiComplexTextEditPopup.cpp | 2 +- es-core/src/guis/GuiDetectDevice.cpp | 2 +- es-core/src/guis/GuiInputConfig.cpp | 2 +- es-core/src/guis/GuiMsgBox.cpp | 2 +- es-core/src/guis/GuiTextEditPopup.cpp | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/es-app/src/guis/GuiGameScraper.cpp b/es-app/src/guis/GuiGameScraper.cpp index a7709f6ea..f09528c05 100644 --- a/es-app/src/guis/GuiGameScraper.cpp +++ b/es-app/src/guis/GuiGameScraper.cpp @@ -24,7 +24,7 @@ GuiGameScraper::GuiGameScraper( std::function doneFunc) : GuiComponent(window), mGrid(window, Vector2i(1, 7)), - mBox(window, ":/graphics/frame.png"), + mBox(window, ":/graphics/frame.svg"), mSearchParams(params), mClose(false) { diff --git a/es-app/src/guis/GuiInfoPopup.cpp b/es-app/src/guis/GuiInfoPopup.cpp index 11ebce39b..74aa4efe1 100644 --- a/es-app/src/guis/GuiInfoPopup.cpp +++ b/es-app/src/guis/GuiInfoPopup.cpp @@ -56,7 +56,7 @@ GuiInfoPopup::GuiInfoPopup( setPosition(posX, posY, 0); - mFrame->setImagePath(":/graphics/frame.png"); + mFrame->setImagePath(":/graphics/frame.svg"); mFrame->fitTo(mSize, Vector3f::Zero(), Vector2f(-32, -32)); addChild(mFrame); diff --git a/es-app/src/guis/GuiMetaDataEd.cpp b/es-app/src/guis/GuiMetaDataEd.cpp index fbb0be50f..1ba9ed451 100644 --- a/es-app/src/guis/GuiMetaDataEd.cpp +++ b/es-app/src/guis/GuiMetaDataEd.cpp @@ -43,7 +43,7 @@ GuiMetaDataEd::GuiMetaDataEd( std::function deleteGameFunc) : GuiComponent(window), mScraperParams(scraperParams), - mBackground(window, ":/graphics/frame.png"), + mBackground(window, ":/graphics/frame.svg"), mGrid(window, Vector2i(1, 3)), mMetaDataDecl(mdd), mMetaData(md), diff --git a/es-app/src/guis/GuiScraperMulti.cpp b/es-app/src/guis/GuiScraperMulti.cpp index c9f0c8908..cbaf98dfd 100644 --- a/es-app/src/guis/GuiScraperMulti.cpp +++ b/es-app/src/guis/GuiScraperMulti.cpp @@ -27,7 +27,7 @@ GuiScraperMulti::GuiScraperMulti( const std::queue& searches, bool approveResults) : GuiComponent(window), - mBackground(window, ":/graphics/frame.png"), + mBackground(window, ":/graphics/frame.svg"), mGrid(window, Vector2i(1, 5)), mSearchQueue(searches) { diff --git a/es-core/src/components/MenuComponent.cpp b/es-core/src/components/MenuComponent.cpp index 51aa8ce78..30fdfbc90 100644 --- a/es-core/src/components/MenuComponent.cpp +++ b/es-core/src/components/MenuComponent.cpp @@ -28,7 +28,7 @@ MenuComponent::MenuComponent( addChild(&mBackground); addChild(&mGrid); - mBackground.setImagePath(":/graphics/frame.png"); + mBackground.setImagePath(":/graphics/frame.svg"); // Set up title. mTitle = std::make_shared(mWindow); diff --git a/es-core/src/guis/GuiComplexTextEditPopup.cpp b/es-core/src/guis/GuiComplexTextEditPopup.cpp index 6c3ca11e3..910cb26f2 100644 --- a/es-core/src/guis/GuiComplexTextEditPopup.cpp +++ b/es-core/src/guis/GuiComplexTextEditPopup.cpp @@ -34,7 +34,7 @@ GuiComplexTextEditPopup::GuiComplexTextEditPopup( bool hideCancelButton) : GuiComponent(window), mHelpStyle(helpstyle), - mBackground(window, ":/graphics/frame.png"), + mBackground(window, ":/graphics/frame.svg"), mGrid(window, Vector2i(1, 5)), mMultiLine(multiLine), mInitValue(initValue), diff --git a/es-core/src/guis/GuiDetectDevice.cpp b/es-core/src/guis/GuiDetectDevice.cpp index 1dc7768cf..8ebc0a571 100644 --- a/es-core/src/guis/GuiDetectDevice.cpp +++ b/es-core/src/guis/GuiDetectDevice.cpp @@ -25,7 +25,7 @@ GuiDetectDevice::GuiDetectDevice( : GuiComponent(window), mFirstRun(firstRun), mForcedConfig(forcedConfig), - mBackground(window, ":/graphics/frame.png"), + mBackground(window, ":/graphics/frame.svg"), mGrid(window, Vector2i(1, 5)) { mHoldingConfig = nullptr; diff --git a/es-core/src/guis/GuiInputConfig.cpp b/es-core/src/guis/GuiInputConfig.cpp index f818e6ef2..feaecb1a4 100644 --- a/es-core/src/guis/GuiInputConfig.cpp +++ b/es-core/src/guis/GuiInputConfig.cpp @@ -64,7 +64,7 @@ GuiInputConfig::GuiInputConfig( bool reconfigureAll, const std::function& okCallback) : GuiComponent(window), - mBackground(window, ":/graphics/frame.png"), + mBackground(window, ":/graphics/frame.svg"), mGrid(window, Vector2i(1, 7)), mTargetConfig(target), mHoldingInput(false), diff --git a/es-core/src/guis/GuiMsgBox.cpp b/es-core/src/guis/GuiMsgBox.cpp index 66e7ed8ec..6f5e9c2f3 100644 --- a/es-core/src/guis/GuiMsgBox.cpp +++ b/es-core/src/guis/GuiMsgBox.cpp @@ -21,7 +21,7 @@ GuiMsgBox::GuiMsgBox(Window* window, const HelpStyle& helpstyle, const std::stri bool disableBackButton) : GuiComponent(window), mHelpStyle(helpstyle), - mBackground(window, ":/graphics/frame.png"), + mBackground(window, ":/graphics/frame.svg"), mGrid(window, Vector2i(1, 2)), mDisableBackButton(disableBackButton) { diff --git a/es-core/src/guis/GuiTextEditPopup.cpp b/es-core/src/guis/GuiTextEditPopup.cpp index 7bb23a046..bb7ec7f00 100644 --- a/es-core/src/guis/GuiTextEditPopup.cpp +++ b/es-core/src/guis/GuiTextEditPopup.cpp @@ -25,7 +25,7 @@ GuiTextEditPopup::GuiTextEditPopup( const std::string& saveConfirmationText) : GuiComponent(window), mHelpStyle(helpstyle), - mBackground(window, ":/graphics/frame.png"), + mBackground(window, ":/graphics/frame.svg"), mGrid(window, Vector2i(1, 3)), mMultiLine(multiLine), mInitValue(initValue),