mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-23 22:55:39 +00:00
32 lines
716 B
C
32 lines
716 B
C
|
#pragma once
|
||
|
|
||
|
#include "GuiComponent.h"
|
||
|
#include "SystemData.h"
|
||
|
#include "components/MenuComponent.h"
|
||
|
#include "CollectionSystemManager.h"
|
||
|
#include "Log.h"
|
||
|
|
||
|
|
||
|
template<typename T>
|
||
|
class OptionListComponent;
|
||
|
|
||
|
|
||
|
class GuiCollectionSystemsOptions : public GuiComponent
|
||
|
{
|
||
|
public:
|
||
|
GuiCollectionSystemsOptions(Window* window);
|
||
|
~GuiCollectionSystemsOptions();
|
||
|
bool input(InputConfig* config, Input input) override;
|
||
|
|
||
|
virtual std::vector<HelpPrompt> getHelpPrompts() override;
|
||
|
|
||
|
private:
|
||
|
void initializeMenu();
|
||
|
void applySettings();
|
||
|
void addSystemsToMenu();
|
||
|
void updateSettings(std::string newSettings);
|
||
|
std::shared_ptr< OptionListComponent<std::string> > autoOptionList;
|
||
|
MenuComponent mMenu;
|
||
|
SystemData* mSystem;
|
||
|
};
|