Changeset 7732 for code/trunk/data/gui/scripts/CreditsMenu.lua
- Timestamp:
- Dec 8, 2010, 3:29:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/gui/scripts/CreditsMenu.lua
r7689 r7732 4 4 5 5 P.buttonList = {} 6 P.scrollbarWidth = 13 6 7 7 8 function P.onLoad() … … 17 18 P.oldindex = -2 18 19 P.index = -1 20 21 local description = winMgr:getWindow("orxonox/CreditsText") 22 description:setProperty("HorzFormatting", "WordWrapLeftAligned") 23 description:setProperty("VertFormatting", "TopAligned") 24 description:setText(" Orxonox version 0.0.3 \n\n Programming Language: C++ - lua - tcl \n Environment: OpenAL - Ogre - OIS - CEGUI - enet - ODE \n Licence: GNU General Public Licence - Creative Commons \n http://www.orxonox.net \n \n Credits:") 25 26 description:setSize(CEGUI.UVector2(CEGUI.UDim(1.0, -P.scrollbarWidth), CEGUI.UDim(1.0, 0))) 27 height = getStaticTextWindowHeight(description) 28 description:setHeight(CEGUI.UDim(0, height)) 19 29 end 20 30
Note: See TracChangeset
for help on using the changeset viewer.