CrabUI
|
You can use it in lua
All you need is to add "require "CUITypes" to your script
This the file will be generated by CUI before your script is executed
require "CUITypes" local frame = CUIFrame() frame.Relative = CUINullRect(nil, nil, 0.2, 0.2) frame.Anchor = CUIAnchor.Center frame["guh button"] = CUIButton("Press me") frame["guh button"].Anchor = CUIAnchor.Center frame["guh button"].AddOnMouseDown = function(e) print('guh') end CUI.Main.Append(frame)