mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-30 18:15:39 +00:00
28 lines
637 B
C
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;
|
||
|
};
|