Changeset 11118 for code/branches/cegui0.8/data/gui/scripts/MainMenu.lua
- Timestamp:
- Feb 16, 2016, 10:10:43 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cegui0.8/data/gui/scripts/MainMenu.lua
r8079 r11118 7 7 --buttons are arranged in a 6x1 Matrix (list) 8 8 P:setButton(1, 1, { 9 ["button"] = winMgr:getWindow("orxonox/QuickGameTestButton"),9 ["button"] = P.window:getChild("QuickGameTestButton"), 10 10 ["callback"] = P.QuickGameTestButton_clicked 11 11 }) 12 12 13 13 P:setButton(2, 1, { 14 ["button"] = winMgr:getWindow("orxonox/SingleplayerButton"),14 ["button"] = P.window:getChild("SingleplayerButton"), 15 15 ["callback"] = P.SingleplayerButton_clicked 16 16 }) 17 17 18 18 P:setButton(3, 1, { 19 ["button"] = winMgr:getWindow("orxonox/MultiplayerButton"),19 ["button"] = P.window:getChild("MultiplayerButton"), 20 20 ["callback"] = P.MultiplayerButton_clicked 21 21 }) 22 22 23 23 P:setButton(4, 1, { 24 ["button"] = winMgr:getWindow("orxonox/SettingsButton"),24 ["button"] = P.window:getChild("SettingsButton"), 25 25 ["callback"] = P.SettingsButton_clicked 26 26 }) 27 27 28 28 P:setButton(5, 1, { 29 ["button"] = winMgr:getWindow("orxonox/CreditsButton"),29 ["button"] = P.window:getChild("CreditsButton"), 30 30 ["callback"] = P.CreditsButton_clicked 31 31 }) 32 32 33 33 P:setButton(6, 1, { 34 ["button"] = winMgr:getWindow("orxonox/ExitButton"),34 ["button"] = P.window:getChild("ExitButton"), 35 35 ["callback"] = P.ExitButton_clicked 36 36 })
Note: See TracChangeset
for help on using the changeset viewer.