Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 24, 2018, 3:09:05 AM (6 years ago)
Author:
landauf
Message:

migrated all ingame menus to cegui 0.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cegui0.8_ogre1.9/data/gui/scripts/InGameMenu.lua

    r11052 r11806  
    99    --button are arranged in a 5x1 matrix, the left lower item is nil
    1010    P:setButton(1, 1, {
    11             ["button"] = winMgr:getWindow("orxonox/InGameMenu_ReturnButton"),
     11            ["button"] = P.window:getChild("InGameMenu_ReturnButton"),
    1212            ["callback"]  = P.button_return_clicked
    1313    })
    1414
    1515    P:setButton(2, 1, {
    16             ["button"] = winMgr:getWindow("orxonox/InGameMenu_ReloadLevelButton"),
     16            ["button"] = P.window:getChild("InGameMenu_ReloadLevelButton"),
    1717            ["callback"]  = P.button_reloadLevel_clicked
    1818    })
    1919
    2020    P:setButton(3, 1, {
    21             ["button"] = winMgr:getWindow("orxonox/InGameMenu_MainMenuButton"),
     21            ["button"] = P.window:getChild("InGameMenu_MainMenuButton"),
    2222            ["callback"]  = P.button_mainmenu_clicked
    2323    })
    2424
    2525    P:setButton(4, 1, {
    26             ["button"] = winMgr:getWindow("orxonox/InGameMenu_SettingsButton"),
     26            ["button"] = P.window:getChild("InGameMenu_SettingsButton"),
    2727            ["callback"]  = P.button_settings_clicked
    2828    })
    2929
    3030    P:setButton(5, 1, {
    31             ["button"] = winMgr:getWindow("orxonox/InGameMenu_QuitButton"),
     31            ["button"] = P.window:getChild("InGameMenu_QuitButton"),
    3232            ["callback"]  = P.button_quit_clicked
    3333    })
Note: See TracChangeset for help on using the changeset viewer.