Changeset 11499 for code/branches/HUD_HS16/data/gui/scripts/MainMenu.lua
- Timestamp:
- Oct 23, 2017, 2:56:00 PM (7 years ago)
- Location:
- code/branches/HUD_HS16
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/HUD_HS16
- Property svn:mergeinfo changed
-
code/branches/HUD_HS16/data/gui/scripts/MainMenu.lua
r11497 r11499 2 2 3 3 local P = createMenuSheet("MainMenu") 4 P.loadAlong = { "SingleplayerMenu", "MultiplayerMenu", " HighscoreMenu", "SettingsMenu", "CreditsMenu" }4 P.loadAlong = { "SingleplayerMenu", "MultiplayerMenu", "SettingsMenu", "CreditsMenu" } 5 5 6 6 function P.onLoad() … … 22 22 23 23 P:setButton(4, 1, { 24 ["button"] = winMgr:getWindow("orxonox/HighscoreButton"),25 ["callback"] = P.MultiplayerButton_clicked26 })27 28 P:setButton(5, 1, {29 24 ["button"] = winMgr:getWindow("orxonox/SettingsButton"), 30 25 ["callback"] = P.SettingsButton_clicked 31 26 }) 32 27 33 P:setButton( 6, 1, {28 P:setButton(5, 1, { 34 29 ["button"] = winMgr:getWindow("orxonox/CreditsButton"), 35 30 ["callback"] = P.CreditsButton_clicked 36 31 }) 37 32 38 P:setButton( 7, 1, {33 P:setButton(6, 1, { 39 34 ["button"] = winMgr:getWindow("orxonox/ExitButton"), 40 35 ["callback"] = P.ExitButton_clicked … … 56 51 end 57 52 58 function P.HighscoreButton_clicked(e)59 showMenuSheet("HighscoreMenu", true)60 end61 62 53 function P.SettingsButton_clicked(e) 63 54 showMenuSheet("SettingsMenu", true)
Note: See TracChangeset
for help on using the changeset viewer.