iup-stack/iup/srclua5/elem/colordlg.lua

26 lines
533 B
Lua
Executable File

------------------------------------------------------------------------------
-- ColorDlg class
------------------------------------------------------------------------------
local ctrl = {
nick = "colordlg",
parent = iup.WIDGET,
subdir = "elem",
creation = "",
funcname = "ColorDlg",
callback = {
colorupdate_cb = "",
}
}
function ctrl.popup(ih, x, y)
iup.Popup(ih,x,y)
end
function ctrl.createElement(class, param)
return iup.ColorDlg()
end
iup.RegisterWidget(ctrl)
iup.SetClass(ctrl, "iupWidget")