#pragma once #include "GuiComponent.h" #include "components/MenuComponent.h" #include class GuiMenu : public GuiComponent { public: GuiMenu(Window* window); bool input(InputConfig* config, Input input) override; void onSizeChanged() override; std::vector getHelpPrompts() override; HelpStyle getHelpStyle() override; private: void addEntry(const char* name, unsigned int color, bool add_arrow, const std::function& func); void openScreensaverOptions(); void openCollectionSystemSettings(); MenuComponent mMenu; TextComponent mVersion; };