mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-30 18:15:39 +00:00
8e5c910de3
Added metadata display to ScraperSearchComponent.
29 lines
674 B
C++
29 lines
674 B
C++
#pragma once
|
|
|
|
#include "../GuiComponent.h"
|
|
#include "../components/ScraperSearchComponent.h"
|
|
#include "../components/NinePatchComponent.h"
|
|
|
|
class GuiGameScraper : public GuiComponent
|
|
{
|
|
public:
|
|
GuiGameScraper(Window* window, ScraperSearchParams params, std::function<void(const ScraperSearchResult&)> doneFunc);
|
|
|
|
bool input(InputConfig* config, Input input) override;
|
|
void update(int deltaTime);
|
|
virtual std::vector<HelpPrompt> getHelpPrompts() override;
|
|
|
|
private:
|
|
bool mClose;
|
|
void close();
|
|
|
|
ComponentGrid mGrid;
|
|
NinePatchComponent mBox;
|
|
|
|
std::shared_ptr<ScraperSearchComponent> mSearch;
|
|
|
|
ScraperSearchParams mSearchParams;
|
|
|
|
std::function<void()> mCancelFunc;
|
|
};
|