23 lines
532 B
Lua
23 lines
532 B
Lua
|
------------------------------------------------------------------------------
|
||
|
-- 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")
|