2014-06-25 16:29:58 +00:00
|
|
|
#include "GuiComponent.h"
|
|
|
|
#include "components/MenuComponent.h"
|
|
|
|
#include "components/OptionListComponent.h"
|
|
|
|
#include "FileSorts.h"
|
|
|
|
|
|
|
|
class IGameListView;
|
|
|
|
|
|
|
|
class GuiGamelistOptions : public GuiComponent
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
GuiGamelistOptions(Window* window, SystemData* system);
|
|
|
|
virtual ~GuiGamelistOptions();
|
|
|
|
|
|
|
|
virtual bool input(InputConfig* config, Input input) override;
|
|
|
|
virtual std::vector<HelpPrompt> getHelpPrompts() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void openMetaDataEd();
|
2014-07-27 22:49:43 +00:00
|
|
|
void jumpToLetter();
|
|
|
|
|
2014-06-25 16:29:58 +00:00
|
|
|
MenuComponent mMenu;
|
|
|
|
|
2014-07-27 22:49:43 +00:00
|
|
|
typedef OptionListComponent<char> LetterList;
|
|
|
|
std::shared_ptr<LetterList> mJumpToLetterList;
|
|
|
|
|
2014-06-25 16:29:58 +00:00
|
|
|
typedef OptionListComponent<const FileData::SortType*> SortList;
|
|
|
|
std::shared_ptr<SortList> mListSort;
|
|
|
|
|
|
|
|
SystemData* mSystem;
|
|
|
|
IGameListView* getGamelist();
|
|
|
|
};
|