iup-stack/iup/srclua5/gl/gllabel.lua

20 lines
482 B
Lua
Executable File

------------------------------------------------------------------------------
-- GLLabel class
------------------------------------------------------------------------------
local ctrl = {
nick = "gllabel",
funcname = "GLLabel",
include = "iupglcontrols.h",
parent = iup.WIDGET,
creation = "S",
subdir = "gl",
callback = {}
}
function ctrl.createElement(class, param)
return iup.GLLabel(param.title)
end
iup.RegisterWidget(ctrl)
iup.SetClass(ctrl, "iupWidget")