#ifndef _GUIMENU_H_ #define _GUIMENU_H_ #include "../GuiComponent.h" #include "GuiList.h" //This is a very simple menu that is opened by pressing the Menu key. class GuiMenu : public GuiComponent { public: GuiMenu(GuiComponent* parent); ~GuiMenu(); void onInput(InputManager::InputButton button, bool keyDown); void onRender(); private: GuiComponent* mParent; GuiList* mList; void populateList(); bool mSkippedMenuClose; }; #endif