mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-27 16:45:38 +00:00
01a55ba6a2
- Create from a theme folder - Create by specifying a name - Refactored collection creation to be on-demand rather than on startup
39 lines
956 B
C++
39 lines
956 B
C++
#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<HelpPrompt> getHelpPrompts() override;
|
|
virtual HelpStyle getHelpStyle() override;
|
|
|
|
private:
|
|
void openGamelistFilter();
|
|
void openMetaDataEd();
|
|
void startEditMode();
|
|
void exitEditMode();
|
|
void jumpToLetter();
|
|
|
|
MenuComponent mMenu;
|
|
|
|
typedef OptionListComponent<char> LetterList;
|
|
std::shared_ptr<LetterList> mJumpToLetterList;
|
|
|
|
typedef OptionListComponent<const FileData::SortType*> SortList;
|
|
std::shared_ptr<SortList> mListSort;
|
|
|
|
SystemData* mSystem;
|
|
IGameListView* getGamelist();
|
|
bool fromPlaceholder;
|
|
bool mFiltersChanged;
|
|
};
|