23 lines
532 B
Lua
Executable File
23 lines
532 B
Lua
Executable File
------------------------------------------------------------------------------
|
|
-- GLCanvasBox class
|
|
------------------------------------------------------------------------------
|
|
local ctrl = {
|
|
nick = "glcanvasbox",
|
|
parent = iup.BOX,
|
|
creation = "-",
|
|
funcname = "GLCanvasBox",
|
|
include = "iupglcontrols.h",
|
|
subdir = "gl",
|
|
callback = {
|
|
action = "ff",
|
|
swapbuffers_cb = "",
|
|
},
|
|
}
|
|
|
|
function ctrl.createElement(class, param)
|
|
return iup.GLCanvasBox()
|
|
end
|
|
|
|
iup.RegisterWidget(ctrl)
|
|
iup.SetClass(ctrl, "iupWidget")
|