Changeset 7732 for code/trunk/data/gui/scripts/QuestGUI.lua
- Timestamp:
- Dec 8, 2010, 3:29:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/gui/scripts/QuestGUI.lua
r7456 r7732 21 21 22 22 P.player = orxonox.GUIManager:getInstance():getPlayer(P.name) 23 P.rootWindow = P.createQuestGUI() ;23 P.rootWindow = P.createQuestGUI() 24 24 25 25 questsList:addChildWindow(P.rootWindow) … … 74 74 end 75 75 76 return index ;76 return index 77 77 end 78 78 … … 140 140 offset = offset + height 141 141 142 local descriptionTitle = winMgr:createWindow("MenuWidgets/StaticText", name .. "/Description/Title") ;142 local descriptionTitle = winMgr:createWindow("MenuWidgets/StaticText", name .. "/Description/Title") 143 143 window:addChildWindow(descriptionTitle) 144 144 descriptionTitle:setProperty("HorzFormatting", "HorzCentred") … … 151 151 offset = offset + height 152 152 153 local description = winMgr:createWindow("MenuWidgets/StaticText", name .. "/Description") ;153 local description = winMgr:createWindow("MenuWidgets/StaticText", name .. "/Description") 154 154 window:addChildWindow(description) 155 155 description:setProperty("HorzFormatting", "WordWrapLeftAligned") … … 165 165 local numHints = orxonox.QuestManager:getInstance():getNumHints(quest, P.player) 166 166 if numHints > 0 then 167 local hintsTitle = winMgr:createWindow("MenuWidgets/StaticText", name .. "/Hints/Title") ;167 local hintsTitle = winMgr:createWindow("MenuWidgets/StaticText", name .. "/Hints/Title") 168 168 window:addChildWindow(hintsTitle) 169 169 hintsTitle:setProperty("HorzFormatting", "HorzCentred") … … 247 247 local offset = 0 248 248 249 local descriptionTitle = winMgr:createWindow("MenuWidgets/StaticText", name .. "/Description/Title") ;249 local descriptionTitle = winMgr:createWindow("MenuWidgets/StaticText", name .. "/Description/Title") 250 250 window:addChildWindow(descriptionTitle) 251 251 descriptionTitle:setProperty("HorzFormatting", "HorzCentred") … … 258 258 offset = offset + height 259 259 260 local description = winMgr:createWindow("MenuWidgets/StaticText", name .. "/Description") ;260 local description = winMgr:createWindow("MenuWidgets/StaticText", name .. "/Description") 261 261 window:addChildWindow(description) 262 262 description:setProperty("HorzFormatting", "WordWrapLeftAligned")
Note: See TracChangeset
for help on using the changeset viewer.