Skip to content
Snippets Groups Projects
Commit 74bef34d authored by pokergaming's avatar pokergaming
Browse files

first attempt at dialog for new garray (menu array)

parent bb543390
No related branches found
No related tags found
No related merge requests found
......@@ -519,10 +519,14 @@ void canvas_menuarray(t_glist *canvas)
if (canvas_hasarray(canvas)) return;
t_glist *x = (t_glist *)canvas;
pd_vmess(&x->gl_pd, gensym("editmode"), "i", 1);
char cmdbuf[200];
sprintf(cmdbuf, "pdtk_array_dialog %%s array%d 100 3 1 .x%lx black black\n",
++gcount, (long unsigned int)canvas);
gfxstub_new(&x->gl_pd, x, cmdbuf);
//char cmdbuf[200];
gcount++;
gui_vmess("gui_create_array", "ssi",
canvas_tag(x), gfxstub_new2(&x->gl_pd, x),
gcount);
//sprintf(cmdbuf, "pdtk_array_dialog %%s array%d 100 3 1 .x%lx black black\n",
// ++gcount, (long unsigned int)canvas);
//gfxstub_new(&x->gl_pd, x, cmdbuf);
}
/* called from canvas_dialog to return array properties for the gui */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment