diff options
author | Pixel <pixel@nobis-crew.org> | 2009-11-04 11:56:41 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-11-04 11:59:33 -0800 |
commit | d577d991b97ae2b5ee1af23641bcffc3f83af5b2 (patch) | |
tree | 590639d50205d1bcfaff2a7d2dc6ebf3f373c7ed /iup/srclua3/dial.lua |
Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux.
Diffstat (limited to 'iup/srclua3/dial.lua')
-rwxr-xr-x | iup/srclua3/dial.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/iup/srclua3/dial.lua b/iup/srclua3/dial.lua new file mode 100755 index 0000000..ee2c488 --- /dev/null +++ b/iup/srclua3/dial.lua @@ -0,0 +1,15 @@ +IUPDIAL = {parent = WIDGET} + +function IUPDIAL:CreateIUPelement (obj) + return iupCreateDial (obj[1]) +end + +function iupdial (o) + return IUPDIAL:Constructor (o) +end +iup.dial = iupdial + +iup_callbacks.mousemove.dial = iup_val_mousemove_cb -- same callback at IupVal + +-- iup_callbacks.buttonpress = {"BUTTON_PRESS_CB", iup_val_button_press_cb} -- same callback at IupVal +-- iup_callbacks.buttonrelease = {"BUTTON_RELEASE_CB", iup_val_button_release_cb} -- same callback at IupVal |