summaryrefslogtreecommitdiff
path: root/iup/srclua3/pplot.lua
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-04 11:56:41 -0800
committerPixel <pixel@nobis-crew.org>2009-11-04 11:59:33 -0800
commitd577d991b97ae2b5ee1af23641bcffc3f83af5b2 (patch)
tree590639d50205d1bcfaff2a7d2dc6ebf3f373c7ed /iup/srclua3/pplot.lua
Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux.
Diffstat (limited to 'iup/srclua3/pplot.lua')
-rwxr-xr-xiup/srclua3/pplot.lua23
1 files changed, 23 insertions, 0 deletions
diff --git a/iup/srclua3/pplot.lua b/iup/srclua3/pplot.lua
new file mode 100755
index 0000000..ba51893
--- /dev/null
+++ b/iup/srclua3/pplot.lua
@@ -0,0 +1,23 @@
+IUPPPLOT = {parent = WIDGET}
+
+function IUPPPLOT:CreateIUPelement (obj)
+ return iupCreatePPlot ()
+end
+
+function iuppplot (o)
+ return IUPPPLOT:Constructor (o)
+end
+iup.pplot = iuppplot
+
+iup_callbacks.edit_cb.pplot = iup_pplot_edit_cb
+
+iup_callbacks.editbegin_cb = {"EDITBEGIN_CB", iup_pplot_editbegin_cb}
+iup_callbacks.editend_cb = {"EDITEND_CB", iup_pplot_editend_cb}
+iup_callbacks.select_cb = {"SELECT_CB", iup_pplot_select_cb}
+iup_callbacks.selectbegin_cb = {"SELECTBEGIN_CB", iup_pplot_selectbegin_cb}
+iup_callbacks.selectend_cb = {"SELECTEND_CB", iup_pplot_selectend_cb}
+iup_callbacks.delete_cb = {"DELETE_CB", iup_pplot_delete_cb}
+iup_callbacks.deletebegin_cb = {"DELETEBEGIN_CB", iup_pplot_deletebegin_cb}
+iup_callbacks.deleteend_cb = {"DELETEEND_CB", iup_pplot_deleteend_cb}
+iup_callbacks.predraw_cb = {"PREDRAW_CB", iup_pplot_predraw_cb}
+iup_callbacks.postdraw_cb = {"POSTDRAW_CB", iup_pplot_postdraw_cb}