ES-DE/src/guis/GuiGamelistOptions.h

28 lines
637 B
C++

#include "../GuiComponent.h"
#include "../components/MenuComponent.h"
#include "../components/OptionListComponent.h"
#include "../FileSorts.h"
class IGameListView;
class GuiGamelistOptions : public GuiComponent
{
public:
GuiGamelistOptions(Window* window, IGameListView* gamelist);
virtual ~GuiGamelistOptions();
virtual bool input(InputConfig* config, Input input) override;
virtual std::vector<HelpPrompt> getHelpPrompts() override;
private:
void openMetaDataEd();
MenuComponent mMenu;
typedef OptionListComponent<const FileData::SortType*> SortList;
std::shared_ptr<SortList> mListSort;
IGameListView* mGamelist;
};