Changeset 8377 for code/branches/tutoriallevel2/data/gui/scripts
- Timestamp:
- May 2, 2011, 1:33:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutoriallevel2/data/gui/scripts/NotificationLayer.lua
r8371 r8377 31 31 ["visible"] = false, 32 32 ["fontSize"] = 12, 33 ["fontColor"] = " #FFFFFFFF",33 ["fontColor"] = "FFFFFFFF", 34 34 ["items"] = {}, 35 35 ["first"] = 1, … … 196 196 197 197 -- Change the font size and font color of all notifications in a queueHeightHelper 198 -- The parameters are (in order) 'name of the queue', 'font size', ' RGBAof the font color in hex notation'.198 -- The parameters are (in order) 'name of the queue', 'font size', 'ARGB of the font color in hex notation'. 199 199 function P.changeQueueFont(queueName, size, color) 200 200 local queue = P.queueList[queueName] … … 227 227 end 228 228 if changeColor then 229 --item:setProperty("TextColours", "tl:[" .. queue.fontColor .. "] tr:[" .. queue.fontColor .. "] bl:[" .. queue.fontColor .. "] br:[" .. queue.fontColor .. "]") 229 item:setProperty("TextColours", "tl:" .. queue.fontColor .. " tr:" .. queue.fontColor .. " bl:" .. queue.fontColor .. " br:" .. queue.fontColor .. "") 230 cout(0, "tl:[" .. queue.fontColor .. "] tr:[" .. queue.fontColor .. "] bl:[" .. queue.fontColor .. "] br:[" .. queue.fontColor .. "]") 230 231 end 231 232 end
Note: See TracChangeset
for help on using the changeset viewer.