- Timestamp:
- Feb 24, 2018, 1:05:32 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cegui0.8_ogre1.9/data/gui/scripts/DecisionPopup.lua
r8079 r11800 7 7 --button are arranged in a 1x2 matrix 8 8 P:setButton(1, 1, { 9 ["button"] = winMgr:getWindow("orxonox/DecisionPopup_button_yes"),9 ["button"] = P.window:getChild("DecisionPopup_Background/DecisionPopup_button_yes"), 10 10 ["callback"] = P.button_yes 11 11 }) 12 12 13 13 P:setButton(1, 2, { 14 ["button"] = winMgr:getWindow("orxonox/DecisionPopup_button_no"),14 ["button"] = P.window:getChild("DecisionPopup_Background/DecisionPopup_button_no"), 15 15 ["callback"] = P.button_no 16 16 }) … … 26 26 27 27 function P.setText( text ) 28 winMgr:getWindow("orxonox/DecisionPopup_text"):setText( text )28 P.window:getChild("DecisionPopup_Background/DecisionPopup_text"):setText( text ) 29 29 end 30 30
Note: See TracChangeset
for help on using the changeset viewer.