summaryrefslogtreecommitdiff
path: root/iup/srclua5/gauge.lua
blob: e25756c66f45dfa8ef39f397241c1e9d4ffdc68a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
------------------------------------------------------------------------------
-- Gauge class 
------------------------------------------------------------------------------
local ctrl = {
  nick = "gauge",
  parent = iup.WIDGET,
  creation = "",
  callback = {},
  include = "iupcontrols.h",
}

function ctrl.createElement(class, param)
   return iup.Gauge(param.action)
end

iup.RegisterWidget(ctrl)
iup.SetClass(ctrl, "iup widget")