Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 21, 2018, 12:03:52 AM (6 years ago)
Author:
landauf
Message:

merged ogre1.9 (including cegui0.8) into new branch

Location:
code/branches/cegui0.8_ogre1.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cegui0.8_ogre1.9

  • code/branches/cegui0.8_ogre1.9/data/gui/scripts/MainMenu.lua

    r11356 r11795  
    77    --buttons are arranged in a 6x1 Matrix (list)
    88    P:setButton(1, 1, {
    9             ["button"] = winMgr:getWindow("orxonox/QuickGameTestButton"),
     9            ["button"] = P.window:getChild("QuickGameTestButton"),
    1010            ["callback"]  = P.QuickGameTestButton_clicked
    1111    })
    1212
    1313    P:setButton(2, 1, {
    14             ["button"] = winMgr:getWindow("orxonox/SingleplayerButton"),
     14            ["button"] = P.window:getChild("SingleplayerButton"),
    1515            ["callback"]  = P.SingleplayerButton_clicked
    1616    })
    1717
    1818    P:setButton(3, 1, {
    19             ["button"] = winMgr:getWindow("orxonox/MultiplayerButton"),
     19            ["button"] = P.window:getChild("MultiplayerButton"),
    2020            ["callback"]  = P.MultiplayerButton_clicked
    2121    })
    2222
    2323    P:setButton(4, 1, {
    24             ["button"] = winMgr:getWindow("orxonox/HighscoreButton"),
     24            ["button"] = P.window:getChild("HighscoreButton"),
    2525            ["callback"]  = P.MultiplayerButton_clicked
    2626    })
    2727
    2828    P:setButton(5, 1, {
    29             ["button"] = winMgr:getWindow("orxonox/SettingsButton"),
     29            ["button"] = P.window:getChild("SettingsButton"),
    3030            ["callback"]  = P.SettingsButton_clicked
    3131    })
    3232
    3333    P:setButton(6, 1, {
    34             ["button"] = winMgr:getWindow("orxonox/CreditsButton"),
     34            ["button"] = P.window:getChild("CreditsButton"),
    3535            ["callback"]  = P.CreditsButton_clicked
    3636    })
    3737
    3838    P:setButton(7, 1, {
    39             ["button"] = winMgr:getWindow("orxonox/ExitButton"),
     39            ["button"] = P.window:getChild("ExitButton"),
    4040            ["callback"]  = P.ExitButton_clicked
    4141    })
Note: See TracChangeset for help on using the changeset viewer.