2012-07-22 21:15:55 +00:00
|
|
|
#ifndef _GUIINPUTCONFIG_H_
|
|
|
|
#define _GUIINPUTCONFIG_H_
|
|
|
|
|
2013-04-08 16:52:40 +00:00
|
|
|
#include "../Gui.h"
|
2012-07-22 21:15:55 +00:00
|
|
|
#include <map>
|
|
|
|
#include <SDL/SDL.h>
|
|
|
|
|
2013-04-08 16:52:40 +00:00
|
|
|
class GuiInputConfig : public Gui
|
|
|
|
{
|
2012-07-22 21:15:55 +00:00
|
|
|
public:
|
2013-04-08 16:52:40 +00:00
|
|
|
GuiInputConfig(Window* window);
|
2012-07-22 21:15:55 +00:00
|
|
|
~GuiInputConfig();
|
|
|
|
|
2013-04-08 16:52:40 +00:00
|
|
|
void render();
|
|
|
|
void input(InputConfig* config, Input input);
|
2012-07-22 21:15:55 +00:00
|
|
|
private:
|
|
|
|
bool mDone;
|
|
|
|
int mInputNum;
|
|
|
|
static std::string sInputs[];
|
|
|
|
static int sInputCount;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|