Lua stuffs is working :D

This commit is contained in:
Simon Holmberg
2012-10-17 01:52:58 +02:00
parent a6391527ec
commit 9f838a6d39
11 changed files with 578 additions and 349 deletions
+10
View File
@@ -0,0 +1,10 @@
local frame = CreateFrame('Frame');
frame.X = 100;
local button = CreateFrame('Button', frame);
button:SetTexture('images/Enter');
button.Width = 100;
button.Height = 50;
button.OnClick = function(clickPos)
Console.WriteLine(clickPos.X .. ' ' .. clickPos.Y);
end