Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

updated Settings.lua and all sub-menus to cegui 0.8

File:
1 edited

Legend:

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

    r8079 r11800  
    77    --button are arranged in a 1x2 matrix
    88    P:setButton(1, 1, {
    9             ["button"] = winMgr:getWindow("orxonox/DecisionPopup_button_yes"),
     9            ["button"] = P.window:getChild("DecisionPopup_Background/DecisionPopup_button_yes"),
    1010            ["callback"]  = P.button_yes
    1111    })
    1212
    1313    P:setButton(1, 2, {
    14             ["button"] = winMgr:getWindow("orxonox/DecisionPopup_button_no"),
     14            ["button"] = P.window:getChild("DecisionPopup_Background/DecisionPopup_button_no"),
    1515            ["callback"]  = P.button_no
    1616    })
     
    2626
    2727function P.setText( text )
    28     winMgr:getWindow("orxonox/DecisionPopup_text"):setText( text )
     28    P.window:getChild("DecisionPopup_Background/DecisionPopup_text"):setText( text )
    2929end
    3030
Note: See TracChangeset for help on using the changeset viewer.