22 lines
581 B
Lua
Executable File
22 lines
581 B
Lua
Executable File
------------------------------------------------------------------------------
|
|
-- GLBackgroundBox class
|
|
------------------------------------------------------------------------------
|
|
local ctrl = {
|
|
nick = "glbackgroundbox",
|
|
parent = iup.BOX,
|
|
include = "iupgl.h",
|
|
subdir = "ctrl",
|
|
creation = "I",
|
|
funcname = "GLBackgroundBox",
|
|
callback = {
|
|
action = "ff", -- must repeat this callback because of its non-exclusive name
|
|
}
|
|
}
|
|
|
|
function ctrl.createElement(class, param)
|
|
return iup.GLBackgroundBox()
|
|
end
|
|
|
|
iup.RegisterWidget(ctrl)
|
|
iup.SetClass(ctrl, "iupWidget")
|