Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 20, 2011, 1:10:38 AM (14 years ago)
Author:
landauf
Message:
  • the "back" button of MultiplayerMenu and SettingsMenu now fills the whole row at the bottom, so it can be accessed from both columns by pressing 'down'
  • added keyboard support for KeyBindMenu, MiscConfigMenu, and MouseControlsMenu
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/usability/data/gui/scripts/MultiplayerMenu.lua

    r7922 r7924  
    1010    P.multiplayerMode = "startClient"
    1111
    12     --button are arranged in a 2x2 matrix, the left lower item is nil
     12    --button are arranged in a 2x2 matrix, the lower items are both the back button
    1313    P:initButtons(2, 2)
    1414
     
    2323    })
    2424
    25     P:setButton(2, 2, {
     25    P:setButton(2, 1, {
    2626            ["button"] = winMgr:getWindow("orxonox/MultiplayerBackButton"),
    2727            ["callback"]  = P.MultiplayerBackButton_clicked
    2828    })
     29
     30    P:setButton(2, 2, P:getButton(2, 1))
    2931end
    3032
Note: See TracChangeset for help on using the changeset viewer.