Changeset 7924
- Timestamp:
- Feb 20, 2011, 1:10:38 AM (14 years ago)
- Location:
- code/branches/usability/data/gui/scripts
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/usability/data/gui/scripts/KeyBindMenu.lua
r7403 r7924 100 100 local funct = luaState:createLuaFunctor("KeyBindMenu.callback()") 101 101 orxonox.KeyBinderManager:getInstance():registerKeybindCallback(funct) 102 103 P:initButtons(1, 1) 104 P:setButton(1, 1, { 105 ["button"] = winMgr:getWindow("orxonox/KeyBindBackButton"), 106 ["callback"] = P.KeyBindBackButton_clicked 107 }) 102 108 end 103 109 -
code/branches/usability/data/gui/scripts/MiscConfigMenu.lua
r7403 r7924 85 85 P.createLines() 86 86 87 P:initButtons(1, 1) 88 P:setButton(1, 1, { 89 ["button"] = winMgr:getWindow("orxonox/MiscConfigMenu/MiscConfigBackButton"), 90 ["callback"] = P.MiscConfigBackButton_clicked 91 }) 87 92 end 88 93 -
code/branches/usability/data/gui/scripts/MouseControlsMenu.lua
r6746 r7924 32 32 invert_active = false 33 33 end 34 35 P:initButtons(1, 1) 36 P:setButton(1, 1, { 37 ["button"] = winMgr:getWindow("orxonox/MouseControlsBackButton"), 38 ["callback"] = P.MouseControlsBackButton_clicked 39 }) 34 40 end 35 41 -
code/branches/usability/data/gui/scripts/MultiplayerMenu.lua
r7922 r7924 10 10 P.multiplayerMode = "startClient" 11 11 12 --button are arranged in a 2x2 matrix, the l eft lower item is nil12 --button are arranged in a 2x2 matrix, the lower items are both the back button 13 13 P:initButtons(2, 2) 14 14 … … 23 23 }) 24 24 25 P:setButton(2, 2, {25 P:setButton(2, 1, { 26 26 ["button"] = winMgr:getWindow("orxonox/MultiplayerBackButton"), 27 27 ["callback"] = P.MultiplayerBackButton_clicked 28 28 }) 29 30 P:setButton(2, 2, P:getButton(2, 1)) 29 31 end 30 32 -
code/branches/usability/data/gui/scripts/SettingsMenu.lua
r7922 r7924 33 33 ["callback"] = P.SettingsBackButton_clicked 34 34 }) 35 36 P:setButton(4, 2, P:getButton(4, 1)) 35 37 end 36 38
Note: See TracChangeset
for help on using the changeset viewer.