Commit 530090ac authored by Ivica Bukvic's avatar Ivica Bukvic Committed by Hans-Christoph Steiner
Browse files

Pd-0.42.5-extended-l2ork-dev-20110920.tar.bz2

parent b52b3c4b
......@@ -42,10 +42,10 @@ void my_canvas_draw_new(t_my_canvas *x, t_glist *glist)
t_canvas *canvas=glist_getcanvas(glist);
t_scalehandle *sh = (t_scalehandle *)x->x_gui.x_handle;
sprintf(sh->h_pathname, ".x%x.h%x", (int)canvas, (int)sh);
sprintf(sh->h_pathname, ".x%lx.h%lx", (t_int)canvas, (t_int)sh);
t_scalehandle *lh = (t_scalehandle *)x->x_gui.x_lhandle;
sprintf(lh->h_pathname, ".x%x.h%x", (int)canvas, (int)lh);
sprintf(lh->h_pathname, ".x%lx.h%lx", (t_int)canvas, (t_int)lh);
//if (glist_isvisible(glist)) {
......@@ -311,7 +311,7 @@ static void my_canvas__clickhook(t_scalehandle *sh, t_floatarg f, t_floatarg xxx
if (glist_isvisible(x->x_gui.x_glist)) {
sys_vgui("lower %s\n", sh->h_pathname);
t_scalehandle *othersh = (t_scalehandle *)x->x_gui.x_handle;
sys_vgui("lower .x%x.h%x\n", (int)glist_getcanvas(x->x_gui.x_glist), (int)othersh);
sys_vgui("lower .x%lx.h%lx\n", (t_int)glist_getcanvas(x->x_gui.x_glist), (t_int)othersh);
}
sh->h_dragx = 0;
......@@ -651,9 +651,9 @@ static void *my_canvas_new(t_symbol *s, int argc, t_atom *argv)
x->x_gui.x_handle = pd_new(scalehandle_class);
sh = (t_scalehandle *)x->x_gui.x_handle;
sh->h_master = (t_gobj*)x;
sprintf(buf, "_h%x", (int)sh);
sprintf(buf, "_h%lx", (t_int)sh);
pd_bind(x->x_gui.x_handle, sh->h_bindsym = gensym(buf));
sprintf(sh->h_outlinetag, "h%x", (int)sh);
sprintf(sh->h_outlinetag, "h%lx", (t_int)sh);
sh->h_dragon = 0;
sh->h_scale = 1;
x->x_gui.scale_offset_x = 0;
......@@ -666,9 +666,9 @@ static void *my_canvas_new(t_symbol *s, int argc, t_atom *argv)
x->x_gui.x_lhandle = pd_new(scalehandle_class);
lh = (t_scalehandle *)x->x_gui.x_lhandle;
lh->h_master = (t_gobj*)x;
sprintf(lhbuf, "_h%x", (int)lh);
sprintf(lhbuf, "_h%lx", (t_int)lh);
pd_bind(x->x_gui.x_lhandle, lh->h_bindsym = gensym(lhbuf));
sprintf(lh->h_outlinetag, "h%x", (int)lh);
sprintf(lh->h_outlinetag, "h%tx", (t_int)lh);
lh->h_dragon = 0;
lh->h_scale = 0;
x->x_gui.label_offset_x = 0;
......
......@@ -193,10 +193,10 @@ static void my_numbox_draw_new(t_my_numbox *x, t_glist *glist)
t_canvas *canvas=glist_getcanvas(glist);
t_scalehandle *sh = (t_scalehandle *)x->x_gui.x_handle;
sprintf(sh->h_pathname, ".x%x.h%x", (int)canvas, (int)sh);
sprintf(sh->h_pathname, ".x%lx.h%lx", (t_int)canvas, (t_int)sh);
t_scalehandle *lh = (t_scalehandle *)x->x_gui.x_lhandle;
sprintf(lh->h_pathname, ".x%x.h%x", (int)canvas, (int)lh);
sprintf(lh->h_pathname, ".x%lx.h%lx", (t_int)canvas, (t_int)lh);
//if (glist_isvisible(canvas)) {
......@@ -618,7 +618,7 @@ static void my_numbox__clickhook(t_scalehandle *sh, t_floatarg f, t_floatarg xxx
if (glist_isvisible(x->x_gui.x_glist)) {
sys_vgui("lower %s\n", sh->h_pathname);
t_scalehandle *othersh = (t_scalehandle *)x->x_gui.x_handle;
sys_vgui("lower .x%x.h%x\n", (int)glist_getcanvas(x->x_gui.x_glist), (int)othersh);
sys_vgui("lower .x%lx.h%lx\n", (t_int)glist_getcanvas(x->x_gui.x_glist), (t_int)othersh);
}
sh->h_dragx = 0;
......@@ -1225,9 +1225,9 @@ static void *my_numbox_new(t_symbol *s, int argc, t_atom *argv)
x->x_gui.x_handle = pd_new(scalehandle_class);
sh = (t_scalehandle *)x->x_gui.x_handle;
sh->h_master = (t_gobj*)x;
sprintf(buf, "_h%x", (int)sh);
sprintf(buf, "_h%lx", (t_int)sh);
pd_bind(x->x_gui.x_handle, sh->h_bindsym = gensym(buf));
sprintf(sh->h_outlinetag, "h%x", (int)sh);
sprintf(sh->h_outlinetag, "h%lx", (t_int)sh);
sh->h_dragon = 0;
sh->h_scale = 1;
x->x_gui.scale_offset_x = 0;
......@@ -1240,9 +1240,9 @@ static void *my_numbox_new(t_symbol *s, int argc, t_atom *argv)
x->x_gui.x_lhandle = pd_new(scalehandle_class);
lh = (t_scalehandle *)x->x_gui.x_lhandle;
lh->h_master = (t_gobj*)x;
sprintf(lhbuf, "_h%x", (int)lh);
sprintf(lhbuf, "_h%lx", (t_int)lh);
pd_bind(x->x_gui.x_lhandle, lh->h_bindsym = gensym(lhbuf));
sprintf(lh->h_outlinetag, "h%x", (int)lh);
sprintf(lh->h_outlinetag, "h%lx", (t_int)lh);
lh->h_dragon = 0;
lh->h_scale = 0;
x->x_gui.label_offset_x = 0;
......
......@@ -11,7 +11,7 @@ extern "C" {
#define PD_MAJOR_VERSION 0
#define PD_MINOR_VERSION 42
#define PD_BUGFIX_VERSION 5
#define PD_TEST_VERSION "extended-l2ork-20110916"
#define PD_TEST_VERSION "extended-l2ork-20110920"
/* old name for "MSW" flag -- we have to take it for the sake of many old
"nmakefiles" for externs, which will define NT and not MSW */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment