1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

GUIFormSpecMenu focus fixes

This commit is contained in:
Kahrl 2013-08-19 11:26:51 +02:00
parent 72b9b0fe3a
commit 8548bb75b6
6 changed files with 232 additions and 66 deletions

View file

@ -212,6 +212,7 @@ public:
}
void removeChildren();
void setInitialFocus();
/*
Remove and re-add (or reposition) stuff
*/
@ -225,6 +226,7 @@ public:
ItemStack verifySelectedItem();
void acceptInput();
bool preprocessEvent(const SEvent& event);
bool OnEvent(const SEvent& event);
int getListboxIndex(std::string listboxname);
@ -288,6 +290,7 @@ private:
v2s32 basepos;
int bp_set;
v2u32 screensize;
std::wstring focused_fieldname;
std::map<std::wstring,int> listbox_selections;
std::map<std::wstring,int> listbox_scroll;
} parserData;