mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-24 07:05:39 +00:00
80740a2bd0
See changelog.txt (September 7) for a list of everything.
27 lines
459 B
C++
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
|