diff options
Diffstat (limited to 'iup/srclua5/colorbrowser.lua')
-rwxr-xr-x | iup/srclua5/colorbrowser.lua | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/iup/srclua5/colorbrowser.lua b/iup/srclua5/colorbrowser.lua new file mode 100755 index 0000000..16ac58f --- /dev/null +++ b/iup/srclua5/colorbrowser.lua @@ -0,0 +1,21 @@ +------------------------------------------------------------------------------ +-- ColorBrowser class +------------------------------------------------------------------------------ +local ctrl = { + nick = "colorbrowser", + parent = WIDGET, + creation = "", + callback = { + drag_cb = "ccc", + change_cb = "ccc", + }, + funcname = "ColorBrowser", + include = "iupcontrols.h", +} + +function ctrl.createElement(class, arg) + return ColorBrowser(arg.action) +end + +iupRegisterWidget(ctrl) +iupSetClass(ctrl, "iup widget") |