2020-09-21 17:17:34 +00:00
|
|
|
// SPDX-License-Identifier: MIT
|
2020-06-22 15:27:53 +00:00
|
|
|
//
|
2020-09-21 17:17:34 +00:00
|
|
|
// EmulationStation Desktop Edition
|
2020-06-22 15:27:53 +00:00
|
|
|
// GuiCollectionSystemsOptions.h
|
|
|
|
//
|
|
|
|
// User interface for the game collection settings.
|
2020-06-28 16:39:18 +00:00
|
|
|
// Submenu to the GuiMenu main menu.
|
2020-06-22 15:27:53 +00:00
|
|
|
//
|
|
|
|
|
2017-10-31 17:12:50 +00:00
|
|
|
#ifndef ES_APP_GUIS_GUI_COLLECTION_SYSTEM_OPTIONS_H
|
|
|
|
#define ES_APP_GUIS_GUI_COLLECTION_SYSTEM_OPTIONS_H
|
2017-06-12 16:38:59 +00:00
|
|
|
|
2020-11-06 19:27:41 +00:00
|
|
|
#include "GuiSettings.h"
|
2017-06-12 16:38:59 +00:00
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
class OptionListComponent;
|
|
|
|
|
2020-11-06 19:27:41 +00:00
|
|
|
class GuiCollectionSystemsOptions : public GuiSettings
|
2017-06-12 16:38:59 +00:00
|
|
|
{
|
|
|
|
public:
|
2020-11-06 19:27:41 +00:00
|
|
|
GuiCollectionSystemsOptions(Window* window, std::string title);
|
2017-06-12 16:38:59 +00:00
|
|
|
|
|
|
|
private:
|
2020-11-06 19:27:41 +00:00
|
|
|
void createCustomCollection(std::string inName);
|
|
|
|
|
|
|
|
std::shared_ptr<OptionListComponent<std::string>> collection_systems_auto;
|
|
|
|
std::shared_ptr<OptionListComponent<std::string>> collection_systems_custom;
|
|
|
|
|
|
|
|
bool mAddedCustomCollection;
|
2020-11-09 16:50:02 +00:00
|
|
|
bool mDeletedCustomCollection;
|
2017-06-12 16:38:59 +00:00
|
|
|
};
|
2017-10-31 17:12:50 +00:00
|
|
|
|
|
|
|
#endif // ES_APP_GUIS_GUI_COLLECTION_SYSTEM_OPTIONS_H
|