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

50 lines
1.2 KiB
C
Raw Normal View History

// SPDX-License-Identifier: MIT
//
// EmulationStation Desktop Edition
// GuiMenu.h
//
// Main menu.
// Some submenus are covered in separate source files.
//
#ifndef ES_APP_GUIS_GUI_MENU_H
#define ES_APP_GUIS_GUI_MENU_H
#include "components/MenuComponent.h"
2017-11-01 22:21:10 +00:00
#include "GuiComponent.h"
class GuiMenu : public GuiComponent
{
public:
GuiMenu(Window* window);
~GuiMenu();
bool input(InputConfig* config, Input input) override;
void onSizeChanged() override;
std::vector<HelpPrompt> getHelpPrompts() override;
HelpStyle getHelpStyle() override;
private:
void close(bool closeAllWindows);
2020-12-16 22:59:00 +00:00
void addEntry(const std::string& name, unsigned int color,
bool add_arrow, const std::function<void()>& func);
void addVersionInfo();
2020-11-05 17:18:11 +00:00
void openScraperOptions();
void openUIOptions();
2021-05-16 11:12:31 +00:00
void openMediaViewerOptions();
void openScreensaverOptions();
void openSoundOptions();
void openInputDeviceOptions();
void openConfigInput();
void openCollectionSystemOptions();
void openOtherOptions();
void openUtilitiesMenu();
2020-11-05 17:18:11 +00:00
void openQuitMenu();
MenuComponent mMenu;
TextComponent mVersion;
};
#endif // ES_APP_GUIS_GUI_MENU_H