diff options
Diffstat (limited to 'iup/srclua3/colorbar.lua')
-rwxr-xr-x | iup/srclua3/colorbar.lua | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/iup/srclua3/colorbar.lua b/iup/srclua3/colorbar.lua new file mode 100755 index 0000000..41953de --- /dev/null +++ b/iup/srclua3/colorbar.lua @@ -0,0 +1,21 @@ +IUPCOLORBAR = {parent = WIDGET} + +function IUPCOLORBAR:CreateIUPelement(obj) + return iupCreateColorbar(obj) +end + +function iupcolorbar (o) + return IUPCOLORBAR:Constructor (o) +end +iup.colorbar = iupcolorbar + + +iup_callbacks.cellcb = {"CELL_CB", iup_colorbar_cell_cb} +iup_callbacks.selectcb = {"SELECT_CB", iup_colorbar_select_cb} +iup_callbacks.switchcb = {"SWITCH_CB", iup_colorbar_switch_cb} +iup_callbacks.extendedcb = {"EXTENDED_CB", iup_colorbar_extended_cb} + +iup_callbacks.cell_cb = iup_callbacks.cellcb +iup_callbacks.select_cb = iup_callbacks.selectcb +iup_callbacks.switch_cb = iup_callbacks.switchcb +iup_callbacks.extended_cb = iup_callbacks.extendedcb |