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

23 lines
532 B
Lua
Raw Permalink Normal View History

2023-02-20 16:44:45 +00:00
------------------------------------------------------------------------------
-- 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")