diff options
Diffstat (limited to 'src/guiFormSpecMenu.h')
-rw-r--r-- | src/guiFormSpecMenu.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h index 60d170fda..116f7b95d 100644 --- a/src/guiFormSpecMenu.h +++ b/src/guiFormSpecMenu.h @@ -297,8 +297,17 @@ private: std::map<std::wstring,int> listbox_selections; } parserData; + typedef struct { + bool key_up; + bool key_down; + bool key_enter; + bool key_escape; + } fs_key_pendig; + std::vector<video::ITexture *> m_Textures; + fs_key_pendig current_keys_pending; + void parseElement(parserData* data,std::string element); void parseSize(parserData* data,std::string element); @@ -321,7 +330,7 @@ private: void parseTabHeader(parserData* data,std::string element); void parseBox(parserData* data,std::string element); - bool parseColor(std::string color, irr::video::SColor& outcolor); + bool parseColor(std::string color, irr::video::SColor& outcolor); }; class FormspecFormSource: public IFormSource |