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

22 lines
502 B
Lua
Raw Permalink Normal View History

2023-02-20 16:44:45 +00:00
------------------------------------------------------------------------------
-- GLVal class
------------------------------------------------------------------------------
local ctrl = {
nick = "glval",
funcname = "GLVal",
include = "iupglcontrols.h",
parent = iup.WIDGET,
creation = "",
subdir = "gl",
callback = {
valuechanging_cb = "n",
},
}
function ctrl.createElement(class, param)
return iup.GLVal(param[1])
end
iup.RegisterWidget(ctrl)
iup.SetClass(ctrl, "iupWidget")