Changeset 6906 for code/trunk/data/gui
- Timestamp:
- May 17, 2010, 1:22:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/gui/scripts/PickupInventory.lua
r6750 r6906 74 74 75 75 local name = "orxonox/PickupInventory/Carrier" .. index 76 76 77 77 --Design parameters: 78 78 local imageHeight = 50 … … 86 86 box:setPosition(CEGUI.UVector2(CEGUI.UDim(0, horizontalOffset), CEGUI.UDim(0, 0))) 87 87 box:setSize(CEGUI.UVector2(CEGUI.UDim(1.0, -horizontalOffset), CEGUI.UDim(1, 0))) 88 89 offset = offset+textHeight90 local title = winMgr:createWindow("MenuWidgets/StaticText", name .. "/Title")91 title:setText(carrier:getCarrierName())92 title:setSize(CEGUI.UVector2(CEGUI.UDim(1, 0), CEGUI.UDim(0, offset)))93 title:setProperty("FrameEnabled", "set:False")94 box:addChildWindow(title)95 88 96 89 local numPickups = orxonox.PickupManager:getInstance():getNumPickups(carrier)
Note: See TracChangeset
for help on using the changeset viewer.