Changeset 10961 for code/branches/presentationHS15/data/gui/scripts
- Timestamp:
- Dec 9, 2015, 2:45:58 PM (9 years ago)
- Location:
- code/branches/presentationHS15
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationHS15
- Property svn:mergeinfo changed
/code/branches/fabienHS15 (added) merged: 10685,10688,10692,10713-10715,10721,10724,10739,10746,10791,10794-10795,10814,10842,10878
- Property svn:mergeinfo changed
-
code/branches/presentationHS15/data/gui/scripts/InGameMenu.lua
r9016 r10961 7 7 P.multiplayerMode = "startClient" 8 8 9 --button are arranged in a 4x1 matrix, the left lower item is nil9 --button are arranged in a 5x1 matrix, the left lower item is nil 10 10 P:setButton(1, 1, { 11 11 ["button"] = winMgr:getWindow("orxonox/InGameMenu_ReturnButton"), … … 14 14 15 15 P:setButton(2, 1, { 16 ["button"] = winMgr:getWindow("orxonox/InGameMenu_ReloadLevelButton"), 17 ["callback"] = P.button_reloadLevel_clicked 18 }) 19 20 P:setButton(3, 1, { 16 21 ["button"] = winMgr:getWindow("orxonox/InGameMenu_MainMenuButton"), 17 22 ["callback"] = P.button_mainmenu_clicked 18 23 }) 19 24 20 P:setButton( 3, 1, {25 P:setButton(4, 1, { 21 26 ["button"] = winMgr:getWindow("orxonox/InGameMenu_SettingsButton"), 22 27 ["callback"] = P.button_settings_clicked 23 28 }) 24 29 25 P:setButton( 4, 1, {30 P:setButton(5, 1, { 26 31 ["button"] = winMgr:getWindow("orxonox/InGameMenu_QuitButton"), 27 32 ["callback"] = P.button_quit_clicked … … 54 59 end 55 60 61 function P.button_reloadLevel_clicked(e) 62 hideMenuSheet("InGameMenu") 63 orxonox.execute("reloadLevel") 64 end 65 56 66 function P.button_return_clicked(e) 57 67 hideMenuSheet("InGameMenu")
Note: See TracChangeset
for help on using the changeset viewer.