ES-DE/es-app/src/guis/GuiMenu.h

32 lines
764 B
C
Raw Normal View History

#pragma once
#include "GuiComponent.h"
#include "components/MenuComponent.h"
#include <functional>
class GuiMenu : public GuiComponent
{
public:
GuiMenu(Window* window);
bool input(InputConfig* config, Input input) override;
void onSizeChanged() override;
std::vector<HelpPrompt> getHelpPrompts() override;
2017-05-28 18:13:00 +00:00
HelpStyle getHelpStyle() override;
private:
void addEntry(const char* name, unsigned int color, bool add_arrow, const std::function<void()>& func);
void addVersionInfo();
void openCollectionSystemSettings();
void openConfigInput();
void openOtherSettings();
void openQuitMenu();
void openScraperSettings();
void openScreensaverOptions();
void openSoundSettings();
void openUISettings();
MenuComponent mMenu;
TextComponent mVersion;
};