iup-stack/iup/srclua5/elem/animatedlabel.lua

19 lines
500 B
Lua
Raw Normal View History

2023-02-20 16:44:45 +00:00
------------------------------------------------------------------------------
-- AnimatedLabel class
------------------------------------------------------------------------------
local ctrl = {
nick = "animatedlabel",
parent = iup.WIDGET, -- not a BOX
subdir = "elem",
creation = "I",
funcname = "AnimatedLabel",
callback = {}
}
function ctrl.createElement(class, param)
return iup.AnimatedLabel(param[0]) -- not a BOX
end
iup.RegisterWidget(ctrl)
iup.SetClass(ctrl, "iupWidget")