Skip to content
Snippets Groups Projects
Commit f101ebf6 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

*fixed lingering bugs/regressions in iemguis (99.9% sure this is all of them)

parent ca07227c
No related branches found
No related tags found
No related merge requests found
...@@ -966,9 +966,9 @@ void iemgui_draw_io(t_iemgui *x, int old_sr_flags) ...@@ -966,9 +966,9 @@ void iemgui_draw_io(t_iemgui *x, int old_sr_flags)
if(a && !b) for (i=0; i<n; i++) if(a && !b) for (i=0; i<n; i++)
sys_vgui(".x%lx.c create prect %d %d %d %d " sys_vgui(".x%lx.c create prect %d %d %d %d "
"-stroke $pd_colors(iemgui_nlet) " "-stroke $pd_colors(iemgui_nlet) "
"-tags {x%lxo%d x%lx outlet iemgui}\n", "-tags {x%lxo%d x%lx outlet %s}\n",
canvas, x1+i*k, y2-1, x1+i*k + IOWIDTH, y2, canvas, x1+i*k, y2-1, x1+i*k + IOWIDTH, y2,
x, i, x); x, i, x, x->x_selected == x->x_glist ? "iemgui selected" : "iemgui");
if(!a && b) for (i=0; i<n; i++) if(!a && b) for (i=0; i<n; i++)
sys_vgui(".x%lx.c delete x%lxo%d\n", canvas, x, i); sys_vgui(".x%lx.c delete x%lxo%d\n", canvas, x, i);
...@@ -978,9 +978,9 @@ void iemgui_draw_io(t_iemgui *x, int old_sr_flags) ...@@ -978,9 +978,9 @@ void iemgui_draw_io(t_iemgui *x, int old_sr_flags)
if(a && !b) for (i=0; i<n; i++) if(a && !b) for (i=0; i<n; i++)
sys_vgui(".x%lx.c create prect %d %d %d %d " sys_vgui(".x%lx.c create prect %d %d %d %d "
"-stroke $pd_colors(iemgui_nlet) " "-stroke $pd_colors(iemgui_nlet) "
"-tags {x%lxi%d x%lx inlet iemgui}\n", "-tags {x%lxi%d x%lx inlet %s}\n",
canvas, x1+i*k, y1, x1+i*k + IOWIDTH, y1+1, canvas, x1+i*k, y1, x1+i*k + IOWIDTH, y1+1,
x, i, x); x, i, x, x->x_selected == x->x_glist ? "iemgui selected" : "iemgui");
if(!a && b) for (i=0; i<n; i++) if(!a && b) for (i=0; i<n; i++)
sys_vgui(".x%lx.c delete x%lxi%d\n", canvas, x, i); sys_vgui(".x%lx.c delete x%lxi%d\n", canvas, x, i);
} }
......
...@@ -164,7 +164,6 @@ static void vu_draw_new(t_vu *x, t_glist *glist) ...@@ -164,7 +164,6 @@ static void vu_draw_new(t_vu *x, t_glist *glist)
"-tags {%lxPLED x%lx text iemgui}\n", "-tags {%lxPLED x%lx text iemgui}\n",
canvas, mid+1, y1+12, canvas, mid+1, y1+12,
mid+1, y1+12, x->x_led_size, x->x_gui.x_bcol, x, x); mid+1, y1+12, x->x_led_size, x->x_gui.x_bcol, x, x);
iemgui_draw_io(&x->x_gui,7);
x->x_updaterms = x->x_updatepeak = 1; x->x_updaterms = x->x_updatepeak = 1;
sys_queuegui(x, x->x_gui.x_glist, vu_draw_update); sys_queuegui(x, x->x_gui.x_glist, vu_draw_update);
} }
......
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