mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
Merge pull request #370 from Areloch/MiscBaseGameUIFixes
Misc. BaseGame UI fixes
This commit is contained in:
commit
72ee2260ca
3 changed files with 21 additions and 4 deletions
|
|
@ -391,7 +391,7 @@ void GuiGameListMenuCtrl::onRenderKeybindOption(Row* row, Point2I currentOffset)
|
|||
//drawer->drawBitmap(row->mBitmap, )
|
||||
|
||||
Point2I button;
|
||||
button.x = currentOffset.x + columnSplit + (columnSplit / 2)/* + (optionWidth / 2)*/;
|
||||
button.x = currentOffset.x + columnSplit + (columnSplit / 2.5)/* + (optionWidth / 2)*/;
|
||||
button.y = currentOffset.y + (rowHeight / 4);
|
||||
|
||||
Point2I buttonSize;
|
||||
|
|
@ -885,6 +885,14 @@ bool GuiGameListMenuCtrl::onKeyDown(const GuiEvent &event)
|
|||
changeRow(1);
|
||||
return true;
|
||||
|
||||
case KEY_LEFT:
|
||||
changeOption(-1);
|
||||
return true;
|
||||
|
||||
case KEY_RIGHT:
|
||||
changeOption(1);
|
||||
return true;
|
||||
|
||||
case KEY_A:
|
||||
case KEY_RETURN:
|
||||
case KEY_NUMPADENTER:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue