Skip to content
Snippets Groups Projects
Commit 6c4d6015 authored by dg's avatar dg
Browse files

temporary remove print

git-svn-id: http://svn.net-core.org/repos/t-engine4@539 51575b47-30f0-44d4-a5cc-537603b46e54
parent fdab8c68
No related branches found
No related tags found
No related merge requests found
...@@ -209,7 +209,7 @@ getmetatable(tmps).__index.drawColorString = function(s, font, str, x, y, r, g, ...@@ -209,7 +209,7 @@ getmetatable(tmps).__index.drawColorString = function(s, font, str, x, y, r, g,
b = b or 255 b = b or 255
local oldr, oldg, oldb = r, g, b local oldr, oldg, oldb = r, g, b
for i, v in ipairs(list) do for i, v in ipairs(list) do
print("LSIT", i, v) -- print("LSIT", i, v)
local nr, ng, nb = lpeg.match("#" * lpeg.C(Pcolorcode) * lpeg.C(Pcolorcode) * lpeg.C(Pcolorcode) * "#", v) local nr, ng, nb = lpeg.match("#" * lpeg.C(Pcolorcode) * lpeg.C(Pcolorcode) * lpeg.C(Pcolorcode) * "#", v)
local col = lpeg.match("#" * lpeg.C(Pcolorname) * "#", v) local col = lpeg.match("#" * lpeg.C(Pcolorname) * "#", v)
if nr and ng and nb then if nr and ng and nb then
...@@ -224,7 +224,7 @@ getmetatable(tmps).__index.drawColorString = function(s, font, str, x, y, r, g, ...@@ -224,7 +224,7 @@ getmetatable(tmps).__index.drawColorString = function(s, font, str, x, y, r, g,
end end
else else
local w, h = font:size(v) local w, h = font:size(v)
print("DRAW", v,r,g,b) -- print("DRAW", v,r,g,b)
s:drawString(font, v, x, y, r, g, b) s:drawString(font, v, x, y, r, g, b)
x = x + w x = x + w
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment