#include "GuiComponent.h" #include "components/MenuComponent.h" #include "components/OptionListComponent.h" #include "GuiGamelistFilter.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 getHelpPrompts() override; virtual HelpStyle getHelpStyle() override; private: void openGamelistFilter(); void openMetaDataEd(); void jumpToLetter(); MenuComponent mMenu; typedef OptionListComponent LetterList; std::shared_ptr mJumpToLetterList; typedef OptionListComponent SortList; std::shared_ptr mListSort; SystemData* mSystem; IGameListView* getGamelist(); bool fromPlaceholder; bool mFiltersChanged; };