Changeset 10175 for code/branches/presentationHS14/data/gui/scripts
- Timestamp:
- Dec 11, 2014, 3:55:25 PM (10 years ago)
- Location:
- code/branches/presentationHS14
- Files:
-
- 2 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationHS14
- Property svn:mergeinfo changed
/code/branches/storymodeHS14 (added) merged: 10085,10157
- Property svn:mergeinfo changed
-
code/branches/presentationHS14/data/gui/scripts/SingleplayerMenu.lua
r9348 r10175 2 2 3 3 local P = createMenuSheet("SingleplayerMenu") 4 P.loadAlong = {"ShipSelectionMenu" }4 P.loadAlong = {"ShipSelectionMenu","CampaignMenu"} 5 5 P.levelList = {} 6 6 P.activeTabIndexes = {} … … 19 19 P.createFilterTab("Tests", "test") 20 20 P.createFilterTab("Show All", nil) 21 21 22 22 23 -- update description and screenshot boxes 23 24 P.SingleplayerSelectionChanged() 24 25 25 --buttons are arranged in a 1x 3matrix26 --buttons are arranged in a 1x4 matrix 26 27 P:setButton(1, 1, { 27 28 ["button"] = winMgr:getWindow("orxonox/SingleplayerStartButton"), … … 37 38 ["button"] = winMgr:getWindow("orxonox/SingleplayerBackButton"), 38 39 ["callback"] = P.SingleplayerBackButton_clicked 40 }) 41 P:setButton(1, 4,{ 42 ["button"] = winMgr:getWindow("orxonox/CampaignButton"), 43 ["callback"] = P.CampaignButton_clicked 39 44 }) 40 45 end … … 166 171 end 167 172 173 function P.CampaignButton_clicked(e) 174 showMenuSheet("CampaignMenu", true) 175 end 176 168 177 return P
Note: See TracChangeset
for help on using the changeset viewer.