diff --git a/pd/src/g_bang.c b/pd/src/g_bang.c index 4ded1525b8782122438130595999d35c04dd90cf..0ee86163402de906d467561b417aa664c491e3c5 100644 --- a/pd/src/g_bang.c +++ b/pd/src/g_bang.c @@ -88,15 +88,15 @@ void bng_draw_new(t_bng *x, t_glist *glist) x->x_gui.x_font, x->x_gui.x_fontsize, sys_fontweight, x->x_gui.x_lcol, x, x); if(!x->x_gui.x_fsf.x_snd_able) { - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxBNG%so%d %lxBNG outlet}\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxBNG%so%d %so%d %lxBNG outlet}\n", canvas, xpos, ypos + x->x_gui.x_h-1, xpos + IOWIDTH, - ypos + x->x_gui.x_h, x, nlet_tag, 0, x); + ypos + x->x_gui.x_h, x, nlet_tag, 0, nlet_tag, 0, x); } if(!x->x_gui.x_fsf.x_rcv_able) { - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxBNG%si%d %lxBNG inlet}\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxBNG%si%d %si%d %lxBNG inlet}\n", canvas, xpos, ypos, - xpos + IOWIDTH, ypos+1, x, nlet_tag, 0, x); + xpos + IOWIDTH, ypos+1, x, nlet_tag, 0, nlet_tag, 0, x); } //} } @@ -221,16 +221,16 @@ void bng_draw_io(t_bng* x, t_glist* glist, int old_snd_rcv_flags) else nlet_tag = "bogus"; if((old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && !x->x_gui.x_fsf.x_snd_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxBNG%so%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxBNG%so%d %so%d %lxBNG outlet}\n", canvas, xpos, ypos + x->x_gui.x_h-1, xpos + IOWIDTH, - ypos + x->x_gui.x_h, x, nlet_tag, 0); + ypos + x->x_gui.x_h, x, nlet_tag, 0, nlet_tag, 0, x); if(!(old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && x->x_gui.x_fsf.x_snd_able) sys_vgui(".x%lx.c delete %lxBNG%so%d\n", canvas, x, nlet_tag, 0); if((old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && !x->x_gui.x_fsf.x_rcv_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxBNG%si%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxBNG%si%d %si%d %lxBNG inlet}\n", canvas, xpos, ypos, - xpos + IOWIDTH, ypos+1, x, nlet_tag, 0); + xpos + IOWIDTH, ypos+1, x, nlet_tag, 0, nlet_tag, 0, x); if(!(old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && x->x_gui.x_fsf.x_rcv_able) sys_vgui(".x%lx.c delete %lxBNG%si%d\n", canvas, x, nlet_tag, 0); } diff --git a/pd/src/g_hdial.c b/pd/src/g_hdial.c index 2aa640ac7c0ba16560d8e959ec453af9bf7f3fc7..17dc4afb1e5bd26be5cb48c9772222eb21929caf 100644 --- a/pd/src/g_hdial.c +++ b/pd/src/g_hdial.c @@ -105,11 +105,11 @@ void hradio_draw_new(t_hradio *x, t_glist *glist) x->x_gui.x_font, x->x_gui.x_fontsize, sys_fontweight, x->x_gui.x_lcol, x, x); if(!x->x_gui.x_fsf.x_snd_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxHRDO%so%d %lxHRDO c outlet}\n", - canvas, xx11b, yy12-1, xx11b + IOWIDTH, yy12, x, nlet_tag, 0, x); + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxHRDO%so%d %so%d %lxHRDO outlet}\n", + canvas, xx11b, yy12-1, xx11b + IOWIDTH, yy12, x, nlet_tag, 0, nlet_tag, 0, x); if(!x->x_gui.x_fsf.x_rcv_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxHRDO%si%d %lxHRDO inlet}\n", - canvas, xx11b, yy11, xx11b + IOWIDTH, yy11+1, x, nlet_tag, 0, x); + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxHRDO%si%d %si%d %lxHRDO inlet}\n", + canvas, xx11b, yy11, xx11b + IOWIDTH, yy11+1, x, nlet_tag, 0, nlet_tag, 0, x); //} } @@ -249,18 +249,18 @@ void hradio_draw_io(t_hradio* x, t_glist* glist, int old_snd_rcv_flags) else nlet_tag = "bogus"; if((old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && !x->x_gui.x_fsf.x_snd_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxHRDO%so%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxHRDO%so%d %so%d %lxHRDO outlet}\n", canvas, xpos, ypos + x->x_gui.x_w-1, xpos + IOWIDTH, ypos + x->x_gui.x_w, - x, nlet_tag, 0); + x, nlet_tag, 0, nlet_tag, 0, x); if(!(old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && x->x_gui.x_fsf.x_snd_able) sys_vgui(".x%lx.c delete %lxHRDO%so%d\n", canvas, x, nlet_tag, 0); if((old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && !x->x_gui.x_fsf.x_rcv_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxHRDO%si%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxHRDO%si%d %si%d %lxHRDO inlet}\n", canvas, xpos, ypos, - xpos + IOWIDTH, ypos+1, x,nlet_tag, 0); + xpos + IOWIDTH, ypos+1, x, nlet_tag, 0, nlet_tag, 0, x); if(!(old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && x->x_gui.x_fsf.x_rcv_able) sys_vgui(".x%lx.c delete %lxHRDO%si%d\n", canvas, x, nlet_tag, 0); } diff --git a/pd/src/g_hslider.c b/pd/src/g_hslider.c index fd08d40083cd02778a1465acce82dd60ebad9217..37cc7929ff34ebdcbedcd3a94ba569e8c3923f57 100644 --- a/pd/src/g_hslider.c +++ b/pd/src/g_hslider.c @@ -111,13 +111,13 @@ static void hslider_draw_new(t_hslider *x, t_glist *glist) x->x_gui.x_font, x->x_gui.x_fontsize, sys_fontweight, x->x_gui.x_lcol, x, x); if(!x->x_gui.x_fsf.x_snd_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxHSLDR%so%d %lxHSLDR outlet}\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxHSLDR%so%d %so%d %lxHSLDR outlet}\n", canvas, xpos, ypos + x->x_gui.x_h-1, - xpos+7, ypos + x->x_gui.x_h, x, nlet_tag, 0, x); + xpos+7, ypos + x->x_gui.x_h, x, nlet_tag, 0, nlet_tag, 0, x); if(!x->x_gui.x_fsf.x_rcv_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxHSLDR%si%d %lxHSLDR inlet}\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxHSLDR%si%d %si%d %lxHSLDR inlet}\n", canvas, xpos, ypos, - xpos+7, ypos+1, x, nlet_tag, 0, x); + xpos+7, ypos+1, x, nlet_tag, 0, nlet_tag, 0, x); //} } @@ -242,15 +242,15 @@ static void hslider_draw_io(t_hslider* x,t_glist* glist, int old_snd_rcv_flags) else nlet_tag = "bogus"; if((old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && !x->x_gui.x_fsf.x_snd_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxHSLDR%so%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxHSLDR%so%d %so%d %lxHSLDR outlet}\n", canvas, xpos, ypos + x->x_gui.x_h-1, - xpos+7, ypos + x->x_gui.x_h, x, nlet_tag, 0); + xpos+7, ypos + x->x_gui.x_h, x, nlet_tag, 0, nlet_tag, 0, x); if(!(old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && x->x_gui.x_fsf.x_snd_able) sys_vgui(".x%lx.c delete %lxHSLDR%so%d\n", canvas, x, nlet_tag, 0); if((old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && !x->x_gui.x_fsf.x_rcv_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxHSLDR%si%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxHSLDR%si%d %si%d %lxHSLDR inlet}\n", canvas, xpos, ypos, - xpos+7, ypos+1, x, nlet_tag, 0); + xpos+7, ypos+1, x, nlet_tag, 0, nlet_tag, 0, x); if(!(old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && x->x_gui.x_fsf.x_rcv_able) sys_vgui(".x%lx.c delete %lxHSLDR%si%d\n", canvas, x, nlet_tag, 0); } diff --git a/pd/src/g_numbox.c b/pd/src/g_numbox.c index e1d96d7df05a37676ffd9f3b21176c719096875e..0c70883b956a1ad1337bbb2603f2ca628f211029 100644 --- a/pd/src/g_numbox.c +++ b/pd/src/g_numbox.c @@ -224,17 +224,17 @@ static void my_numbox_draw_new(t_my_numbox *x, t_glist *glist) xpos, ypos + x->x_gui.x_h, IEM_GUI_COLOR_NORMAL, x->x_gui.x_bcol, x, x); if(!x->x_gui.x_fsf.x_snd_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxNUM%so%d %lxNUM outlet}\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxNUM%so%d %so%d %lxNUM outlet}\n", canvas, xpos, ypos + x->x_gui.x_h-1, xpos+IOWIDTH, ypos + x->x_gui.x_h, - x, nlet_tag, 0, x); + x, nlet_tag, 0, nlet_tag, 0, x); if(!x->x_gui.x_fsf.x_rcv_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxNUM%si%d %lxNUM inlet}\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxNUM%si%d %si%d %lxNUM inlet}\n", canvas, xpos, ypos, xpos+IOWIDTH, ypos+1, - x, nlet_tag, 0, x); + x, nlet_tag, 0, nlet_tag, 0, x); } else { sys_vgui( ".x%lx.c create polygon %d %d %d %d %d %d %d %d %d %d -outline #%6.6x \ @@ -417,19 +417,19 @@ static void my_numbox_draw_io(t_my_numbox* x,t_glist* glist, int old_snd_rcv_fla else nlet_tag = "bogus"; if((old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && !x->x_gui.x_fsf.x_snd_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxNUM%so%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxNUM%so%d %so%d %lxNUM outlet}\n", canvas, xpos, ypos + x->x_gui.x_h-1, xpos+IOWIDTH, ypos + x->x_gui.x_h, - x, nlet_tag, 0); + x, nlet_tag, 0, nlet_tag, 0, x); if(!(old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && x->x_gui.x_fsf.x_snd_able) sys_vgui(".x%lx.c delete %lxNUM%so%d\n", canvas, x, nlet_tag, 0); if((old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && !x->x_gui.x_fsf.x_rcv_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxNUM%si%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxNUM%si%d %si%d %lxNUM inlet}\n", canvas, xpos, ypos, xpos+IOWIDTH, ypos+1, - x, nlet_tag, 0); + x, nlet_tag, 0, nlet_tag, 0, x); if(!(old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && x->x_gui.x_fsf.x_rcv_able) sys_vgui(".x%lx.c delete %lxNUM%si%d\n", canvas, x, nlet_tag, 0); diff --git a/pd/src/g_toggle.c b/pd/src/g_toggle.c index 6dc4476794cc747b1a839efe15f0a46c9f92f3a2..8e936964496924faf472255ebe083848deb33234 100644 --- a/pd/src/g_toggle.c +++ b/pd/src/g_toggle.c @@ -96,11 +96,11 @@ void toggle_draw_new(t_toggle *x, t_glist *glist) x->x_gui.x_font, x->x_gui.x_fontsize, sys_fontweight, x->x_gui.x_lcol, x, x); if(!x->x_gui.x_fsf.x_snd_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxTGL%so%d %lxTGL outlet}\n", - canvas, xx, yy + x->x_gui.x_h-1, xx + IOWIDTH, yy + x->x_gui.x_h, x, nlet_tag, 0, x); + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxTGL%so%d %so%d %lxTGL outlet}\n", + canvas, xx, yy + x->x_gui.x_h-1, xx + IOWIDTH, yy + x->x_gui.x_h, x, nlet_tag, 0, nlet_tag, 0, x); if(!x->x_gui.x_fsf.x_rcv_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxTGL%si%d %lxTGL inlet}\n", - canvas, xx, yy, xx + IOWIDTH, yy+1, x, nlet_tag, 0, x); + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxTGL%si%d %si%d %lxTGL inlet}\n", + canvas, xx, yy, xx + IOWIDTH, yy+1, x, nlet_tag, 0, nlet_tag, 0, x); //} } @@ -246,11 +246,11 @@ void toggle_draw_io(t_toggle* x, t_glist* glist, int old_snd_rcv_flags) if(!(old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && x->x_gui.x_fsf.x_snd_able) sys_vgui(".x%lx.c delete %lxTGL%so%d\n", canvas, x, nlet_tag, 0); if((old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && !x->x_gui.x_fsf.x_rcv_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxTGL%si%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxTGL%so%d %so%d %lxTGL outlet}\n", canvas, xpos, ypos, - xpos + IOWIDTH, ypos+1, x, nlet_tag, 0); + xpos + IOWIDTH, ypos+1, x, nlet_tag, 0, nlet_tag, 0, x); if(!(old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && x->x_gui.x_fsf.x_rcv_able) - sys_vgui(".x%lx.c delete %lxTGL%si%d\n", canvas, x, nlet_tag, 0); + sys_vgui(".x%lx.c delete {%lxTGL%si%d %si%d %lxTGL outlet}\n", canvas, x, nlet_tag, 0, nlet_tag, 0, x); } } diff --git a/pd/src/g_vdial.c b/pd/src/g_vdial.c index 0fb8446ff8f0262efd559b47e92cfb567cdb59ab..119e3fef35684a003f42fe5049572d7a37b97b94 100644 --- a/pd/src/g_vdial.c +++ b/pd/src/g_vdial.c @@ -104,11 +104,11 @@ void vradio_draw_new(t_vradio *x, t_glist *glist) x->x_gui.x_font, x->x_gui.x_fontsize, sys_fontweight, x->x_gui.x_lcol, x, x); if(!x->x_gui.x_fsf.x_snd_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVRDO%so%d %lxVRDO outlet}\n", - canvas, xx11, yy11-1, xx11 + IOWIDTH, yy11, x, nlet_tag, 0, x); + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVRDO%so%d %so%d %lxVRDO outlet}\n", + canvas, xx11, yy11-1, xx11 + IOWIDTH, yy11, x, nlet_tag, 0, nlet_tag, 0, x); if(!x->x_gui.x_fsf.x_rcv_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVRDO%si%d %lxVRDO inlet}\n", - canvas, xx11, yy11b, xx11 + IOWIDTH, yy11b+1, x, nlet_tag, 0, x); + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVRDO%si%d %si%d %lxVRDO inlet}\n", + canvas, xx11, yy11b, xx11 + IOWIDTH, yy11b+1, x, nlet_tag, 0, nlet_tag, 0, x); //} } @@ -248,18 +248,18 @@ void vradio_draw_io(t_vradio* x, t_glist* glist, int old_snd_rcv_flags) else nlet_tag = "bogus"; if((old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && !x->x_gui.x_fsf.x_snd_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxVRDO%so%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVRDO%so%d %so%d %lxVRDO outlet}\n", canvas, xpos, ypos+(x->x_number*x->x_gui.x_h)-1, xpos+ IOWIDTH, - ypos+(x->x_number*x->x_gui.x_h), x, nlet_tag, 0); + ypos+(x->x_number*x->x_gui.x_h), x, nlet_tag, 0, nlet_tag, 0, x); if(!(old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && x->x_gui.x_fsf.x_snd_able) sys_vgui(".x%lx.c delete %lxVRDO%so%d\n", canvas, x, nlet_tag, 0); if((old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && !x->x_gui.x_fsf.x_rcv_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxVRDO%si%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVRDO%si%d %si%d %lxVRDO inlet}\n", canvas, xpos, ypos, xpos+ IOWIDTH, ypos+1, - x, nlet_tag, 0); + x, nlet_tag, 0, nlet_tag, 0, x); if(!(old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && x->x_gui.x_fsf.x_rcv_able) sys_vgui(".x%lx.c delete %lxVRDO%si%d\n", canvas, x, nlet_tag, 0); } diff --git a/pd/src/g_vslider.c b/pd/src/g_vslider.c index 72b19b3654e9f44d6abf278a4881708b55e4823c..c24e61f1c92c2da42f267fe04bff9d42b76fece7 100644 --- a/pd/src/g_vslider.c +++ b/pd/src/g_vslider.c @@ -110,17 +110,17 @@ static void vslider_draw_new(t_vslider *x, t_glist *glist) x->x_gui.x_font, x->x_gui.x_fontsize, sys_fontweight, x->x_gui.x_lcol, x, x); if(!x->x_gui.x_fsf.x_snd_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVSLDR%so%d %lxVSLDR outlet}\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVSLDR%so%d %so%d %lxVSLDR outlet}\n", canvas, xpos, ypos + x->x_gui.x_h+4, xpos+7, ypos + x->x_gui.x_h+5, - x, nlet_tag, 0, x); + x, nlet_tag, 0, nlet_tag, 0, x); if(!x->x_gui.x_fsf.x_rcv_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVSLDR%si%d %lxVSLDR inlet}\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVSLDR%si%d %si%d %lxVSLDR inlet}\n", canvas, xpos, ypos, xpos+7, ypos+1, - x, nlet_tag, 0, x); + x, nlet_tag, 0, nlet_tag, 0, x); //} } @@ -246,19 +246,19 @@ static void vslider_draw_io(t_vslider* x,t_glist* glist, int old_snd_rcv_flags) else nlet_tag = "bogus"; if((old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && !x->x_gui.x_fsf.x_snd_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxVSLDR%so%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVSLDR%so%d %so%d %lxVSLDR outlet}\n", canvas, xpos, ypos + x->x_gui.x_h+4, xpos+7, ypos + x->x_gui.x_h+5, - x, nlet_tag, 0); + x, nlet_tag, 0, nlet_tag, 0, x); if(!(old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && x->x_gui.x_fsf.x_snd_able) sys_vgui(".x%lx.c delete %lxVSLDR%so%d\n", canvas, x, nlet_tag, 0); if((old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && !x->x_gui.x_fsf.x_rcv_able) - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxVSLDR%si%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVSLDR%si%d %si%d %lxVSLDR inlet}\n", canvas, xpos, ypos, xpos+7, ypos+1, - x, nlet_tag, 0); + x, nlet_tag, 0, nlet_tag, 0, x); if(!(old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && x->x_gui.x_fsf.x_rcv_able) sys_vgui(".x%lx.c delete %lxVSLDR%si%d\n", canvas, x, nlet_tag, 0); } diff --git a/pd/src/g_vumeter.c b/pd/src/g_vumeter.c index f5cbe0df6859682f0787cf3034b78cc066c5386a..93f24a82fe921f38745602fd2da5d2b313c19397 100644 --- a/pd/src/g_vumeter.c +++ b/pd/src/g_vumeter.c @@ -172,29 +172,29 @@ static void vu_draw_new(t_vu *x, t_glist *glist) x->x_gui.x_lcol, x, x); if(!x->x_gui.x_fsf.x_snd_able) { - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVU%so%d %lxVU outlet}\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVU%so%d %so%d %lxVU outlet}\n", canvas, xpos, ypos + x->x_gui.x_h+3, xpos + IOWIDTH, ypos + x->x_gui.x_h+4, - x, nlet_tag, 0, x); - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVU%so%d %lxVU outlet}\n", + x, nlet_tag, 0, nlet_tag, 0, x); + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVU%so%d %so%d %lxVU outlet}\n", canvas, xpos+x->x_gui.x_w+2-IOWIDTH, ypos + x->x_gui.x_h+3, xpos+x->x_gui.x_w+2, ypos + x->x_gui.x_h+4, - x, nlet_tag, 1, x); + x, nlet_tag, 1, nlet_tag, 1, x); } if(!x->x_gui.x_fsf.x_rcv_able) { - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVU%si%d %lxVU inlet}\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVU%si%d %si%d %lxVU inlet}\n", canvas, xpos, ypos, xpos + IOWIDTH, ypos+1, - x, nlet_tag, 0, x); - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVU%si%d %lxVU inlet}\n", + x, nlet_tag, 0, nlet_tag, 0, x); + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVU%si%d %si%d %lxVU inlet}\n", canvas, xpos+x->x_gui.x_w+2-IOWIDTH, ypos, xpos+x->x_gui.x_w+2, ypos+1, - x, nlet_tag, 1, x); + x, nlet_tag, 1, nlet_tag, 1, x); } x->x_updaterms = x->x_updatepeak = 1; sys_queuegui(x, x->x_gui.x_glist, vu_draw_update); @@ -410,16 +410,16 @@ static void vu_draw_io(t_vu* x, t_glist* glist, int old_snd_rcv_flags) if((old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && !x->x_gui.x_fsf.x_snd_able) { - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxVU%so%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVU%so%d %so%d %lxVU outlet}\n", canvas, xpos, ypos + x->x_gui.x_h+3, xpos + IOWIDTH, ypos + x->x_gui.x_h+4, - x, nlet_tag, 0); - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxVU%so%d\n", + x, nlet_tag, 0, nlet_tag, 0, x); + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVU%so%d %so%d %lxVU outlet}\n", canvas, xpos+x->x_gui.x_w+2-IOWIDTH, ypos + x->x_gui.x_h+3, xpos+x->x_gui.x_w+2, ypos + x->x_gui.x_h+4, - x, nlet_tag, 1); + x, nlet_tag, 1, nlet_tag, 1, x); } if(!(old_snd_rcv_flags & IEM_GUI_OLD_SND_FLAG) && x->x_gui.x_fsf.x_snd_able) { @@ -428,16 +428,16 @@ static void vu_draw_io(t_vu* x, t_glist* glist, int old_snd_rcv_flags) } if((old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && !x->x_gui.x_fsf.x_rcv_able) { - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxVU%si%d\n", + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVU%si%d %si%d %lxVU outlet}\n", canvas, xpos, ypos, xpos + IOWIDTH, ypos+1, - x, nlet_tag, 0); - sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags %lxVU%si%d\n", + x, nlet_tag, 0, nlet_tag, 0, x); + sys_vgui(".x%lx.c create rectangle %d %d %d %d -tags {%lxVU%si%d %si%d %lxVU outlet}\n", canvas, xpos+x->x_gui.x_w+2-IOWIDTH, ypos, xpos+x->x_gui.x_w+2, ypos+1, - x, nlet_tag, 1); + x, nlet_tag, 1, nlet_tag, 1, x); } if(!(old_snd_rcv_flags & IEM_GUI_OLD_RCV_FLAG) && x->x_gui.x_fsf.x_rcv_able) {