From d577d991b97ae2b5ee1af23641bcffc3f83af5b2 Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 4 Nov 2009 11:56:41 -0800 Subject: Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux. --- iup/srclua3/pplot.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 iup/srclua3/pplot.lua (limited to 'iup/srclua3/pplot.lua') 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} -- cgit v1.2.3