* Very small addition to the key bindings menu.
This commit is contained in:
jean.chalard
2010-02-17 15:24:14 +00:00
parent 4fd38766b1
commit 436da6fcc0
2 changed files with 15 additions and 3 deletions

View File

@@ -1756,4 +1756,16 @@ WGuiKeyBinder::WGuiKeyBinder(string name) : WGuiList(name), modal(false)
Add(NEW OptionKey(it->first, it->second));
}
bool WGuiKeyBinder::isModal() { return modal; }
bool WGuiKeyBinder::CheckUserInput(JButton key) { return false; }
bool WGuiKeyBinder::CheckUserInput(JButton key)
{
switch (key)
{
case JGE_BTN_UP:
prevItem(); break;
case JGE_BTN_DOWN:
nextItem(); break;
default:
;
}
return false;
}