1 2 3 4 5 6 7 8 9
local core = require((...):match("(.-)[^%.]+$") .. 'core') return function(text, x,y,w,h,align, draw) local id = core.generateID() w, h, align = w or 0, h or 0, align or 'left' core.registerDraw(id, draw or core.style.Label, text,x,y,w,h,align) return false end