#ifndef _GUIMENU_H_ #define _GUIMENU_H_ #include "../GuiComponent.h" #include "TextListComponent.h" class GuiGameList; class GuiMenu : public GuiComponent { public: GuiMenu(Window* window, GuiGameList* parent); virtual ~GuiMenu(); bool input(InputConfig* config, Input input) override; void update(int deltaTime) override; void render(const Eigen::Affine3f& parentTrans) override; private: GuiGameList* mParent; TextListComponent* mList; void populateList(); void executeCommand(std::string command); }; #endif