Changed from frame.png to frame.svg in most places.

This commit is contained in:
Leon Styhre 2021-01-14 22:56:49 +01:00
parent f71f4704ce
commit 574feadc68
10 changed files with 10 additions and 10 deletions

View file

@ -24,7 +24,7 @@ GuiGameScraper::GuiGameScraper(
std::function<void(const ScraperSearchResult&)> doneFunc)
: GuiComponent(window),
mGrid(window, Vector2i(1, 7)),
mBox(window, ":/graphics/frame.png"),
mBox(window, ":/graphics/frame.svg"),
mSearchParams(params),
mClose(false)
{

View file

@ -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);

View file

@ -43,7 +43,7 @@ GuiMetaDataEd::GuiMetaDataEd(
std::function<void()> deleteGameFunc)
: GuiComponent(window),
mScraperParams(scraperParams),
mBackground(window, ":/graphics/frame.png"),
mBackground(window, ":/graphics/frame.svg"),
mGrid(window, Vector2i(1, 3)),
mMetaDataDecl(mdd),
mMetaData(md),

View file

@ -27,7 +27,7 @@ GuiScraperMulti::GuiScraperMulti(
const std::queue<ScraperSearchParams>& searches,
bool approveResults)
: GuiComponent(window),
mBackground(window, ":/graphics/frame.png"),
mBackground(window, ":/graphics/frame.svg"),
mGrid(window, Vector2i(1, 5)),
mSearchQueue(searches)
{

View file

@ -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<TextComponent>(mWindow);

View file

@ -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),

View file

@ -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;

View file

@ -64,7 +64,7 @@ GuiInputConfig::GuiInputConfig(
bool reconfigureAll,
const std::function<void()>& okCallback)
: GuiComponent(window),
mBackground(window, ":/graphics/frame.png"),
mBackground(window, ":/graphics/frame.svg"),
mGrid(window, Vector2i(1, 7)),
mTargetConfig(target),
mHoldingInput(false),

View file

@ -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)
{

View file

@ -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),