- Timestamp:
- Feb 22, 2018, 1:03:44 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cegui0.8_ogre1.9/data/gui/scripts/CreditsMenu.lua
r9016 r11797 7 7 function P.onLoad() 8 8 P:setButton(1, 1, { 9 ["button"] = winMgr:getWindow("orxonox/CreditsBackButton"),9 ["button"] = P.window:getChild("CreditsBackButton"), 10 10 ["callback"] = P.CreditsBackButton_clicked 11 11 }) … … 13 13 14 14 function P.onShow() 15 local description = winMgr:getWindow("orxonox/CreditsText")15 local description = P.window:getChild("CreditsWindow/CreditsMenuWrapper/CreditsMenuPane/CreditsText") 16 16 17 17 height = getStaticTextWindowHeight(description) 18 description:setSize(CEGUI.U Vector2(CEGUI.UDim(1.0, -P.scrollbarWidth), CEGUI.UDim(0.0, height)))18 description:setSize(CEGUI.USize(CEGUI.UDim(1.0, -P.scrollbarWidth), CEGUI.UDim(0.0, height))) 19 19 end 20 20
Note: See TracChangeset
for help on using the changeset viewer.