summaryrefslogtreecommitdiff
path: root/iup/srclua3/colorbar.lua
blob: 41953de681f19e152d9c2f61bdd59c8513eb4185 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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