- Timestamp:
- Feb 24, 2018, 3:09:05 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cegui0.8_ogre1.9/data/gui/scripts/InGameMenu.lua
r11052 r11806 9 9 --button are arranged in a 5x1 matrix, the left lower item is nil 10 10 P:setButton(1, 1, { 11 ["button"] = winMgr:getWindow("orxonox/InGameMenu_ReturnButton"),11 ["button"] = P.window:getChild("InGameMenu_ReturnButton"), 12 12 ["callback"] = P.button_return_clicked 13 13 }) 14 14 15 15 P:setButton(2, 1, { 16 ["button"] = winMgr:getWindow("orxonox/InGameMenu_ReloadLevelButton"),16 ["button"] = P.window:getChild("InGameMenu_ReloadLevelButton"), 17 17 ["callback"] = P.button_reloadLevel_clicked 18 18 }) 19 19 20 20 P:setButton(3, 1, { 21 ["button"] = winMgr:getWindow("orxonox/InGameMenu_MainMenuButton"),21 ["button"] = P.window:getChild("InGameMenu_MainMenuButton"), 22 22 ["callback"] = P.button_mainmenu_clicked 23 23 }) 24 24 25 25 P:setButton(4, 1, { 26 ["button"] = winMgr:getWindow("orxonox/InGameMenu_SettingsButton"),26 ["button"] = P.window:getChild("InGameMenu_SettingsButton"), 27 27 ["callback"] = P.button_settings_clicked 28 28 }) 29 29 30 30 P:setButton(5, 1, { 31 ["button"] = winMgr:getWindow("orxonox/InGameMenu_QuitButton"),31 ["button"] = P.window:getChild("InGameMenu_QuitButton"), 32 32 ["callback"] = P.button_quit_clicked 33 33 })
Note: See TracChangeset
for help on using the changeset viewer.