Commit b8e6a503 authored by Mathieu L Bouchard's avatar Mathieu L Bouchard
Browse files

remove old commented-out code

parent 8cf05889
......@@ -158,15 +158,6 @@ void bng_draw_erase(t_bng* x, t_glist* glist)
sys_vgui(".x%lx.c delete %lxBNG\n", canvas, x);
sys_vgui(".x%lx.c dtag all %lxBNG\n", canvas, x);
scalehandle_draw_erase2(&x->x_gui,glist);
/*
sys_vgui(".x%lx.c delete %lxBASE\n", canvas, x);
sys_vgui(".x%lx.c delete %lxBUT\n", canvas, x);
sys_vgui(".x%lx.c delete %lxLABEL\n", canvas, x);
if(!x->x_gui.x_fsf.x_snd_able)
sys_vgui(".x%lx.c delete %so%d\n", canvas, rtext_gettag(yy), 0);
if(!x->x_gui.x_fsf.x_rcv_able)
sys_vgui(".x%lx.c delete %si%d\n", canvas, rtext_gettag(yy), 0);
*/
}
void bng_draw_config(t_bng* x, t_glist* glist)
......
......@@ -161,18 +161,6 @@ void hradio_draw_erase(t_hradio* x, t_glist* glist)
sys_vgui(".x%lx.c delete %lxHRDO\n", canvas, x);
sys_vgui(".x%lx.c dtag all %lxHRDO\n", canvas, x);
scalehandle_draw_erase2(&x->x_gui,glist);
/*
for(i=0; i<n; i++)
{
sys_vgui(".x%lx.c delete %lxBASE%d\n", canvas, x, i);
sys_vgui(".x%lx.c delete %lxBUT%d\n", canvas, x, i);
}
sys_vgui(".x%lx.c delete %lxLABEL\n", canvas, x);
if(!x->x_gui.x_fsf.x_snd_able)
sys_vgui(".x%lx.c delete %so%d\n", canvas, rtext_gettag(yy), 0);
if(!x->x_gui.x_fsf.x_rcv_able)
sys_vgui(".x%lx.c delete %si%d\n", canvas, rtext_gettag(yy), 0);
*/
}
void hradio_draw_config(t_hradio* x, t_glist* glist)
......
......@@ -166,15 +166,6 @@ static void hslider_draw_erase(t_hslider* x,t_glist* glist)
sys_vgui(".x%lx.c delete %lxHSLDR\n", canvas, x);
sys_vgui(".x%lx.c dtag all %lxHSLDR\n", canvas, x);
scalehandle_draw_erase2(&x->x_gui,glist);
/*
sys_vgui(".x%lx.c delete %lxBASE\n", canvas, x);
sys_vgui(".x%lx.c delete %lxKNOB\n", canvas, x);
sys_vgui(".x%lx.c delete %lxLABEL\n", canvas, x);
if(!x->x_gui.x_fsf.x_snd_able)
sys_vgui(".x%lx.c delete %lxOUT%d\n", canvas, x, 0);
if(!x->x_gui.x_fsf.x_rcv_able)
sys_vgui(".x%lx.c delete %lxIN%d\n", canvas, x, 0);
*/
}
static void hslider_draw_config(t_hslider* x,t_glist* glist)
......
......@@ -103,9 +103,6 @@ void my_canvas_draw_erase(t_my_canvas* x, t_glist* glist)
sys_vgui(".x%lx.c delete %lxMYCNV\n", canvas, x);
sys_vgui(".x%lx.c dtag all %lxMYCNV\n", canvas, x);
scalehandle_draw_erase2(&x->x_gui,glist);
//sys_vgui(".x%lx.c delete %lxBASE\n", canvas, x);
//sys_vgui(".x%lx.c delete %lxRECT\n", canvas, x);
//sys_vgui(".x%lx.c delete %lxLABEL\n", canvas, x);
}
void my_canvas_draw_config(t_my_canvas* x, t_glist* glist)
......
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