ES-DE/src/components/GuiMenu.h
Aloshi 80740a2bd0 Fixed tiling being super slow.
See changelog.txt (September 7) for a list of everything.
2012-09-07 16:44:07 -05:00

27 lines
459 B
C++

#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<std::string>* mList;
void populateList();
bool mSkippedMenuClose;
};
#endif