Commit 598e2100 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

cords in front after iemgui properties apply

parent 5b98a0e4
......@@ -521,8 +521,10 @@ void bng_draw(t_bng *x, t_glist *glist, int mode)
bng_draw_update(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_MOVE)
bng_draw_move(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_NEW)
else if(mode == IEM_GUI_DRAW_MODE_NEW) {
bng_draw_new(x, glist);
sys_vgui(".x%lx.c raise all_cords\n", glist_getcanvas(glist));
}
else if(mode == IEM_GUI_DRAW_MODE_SELECT)
bng_draw_select(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_ERASE)
......
......@@ -548,8 +548,10 @@ void hradio_draw(t_hradio *x, t_glist *glist, int mode)
sys_queuegui(x, glist, hradio_draw_update);
else if(mode == IEM_GUI_DRAW_MODE_MOVE)
hradio_draw_move(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_NEW)
else if(mode == IEM_GUI_DRAW_MODE_NEW) {
hradio_draw_new(x, glist);
sys_vgui(".x%lx.c raise all_cords\n", glist_getcanvas(glist));
}
else if(mode == IEM_GUI_DRAW_MODE_SELECT)
hradio_draw_select(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_ERASE)
......
......@@ -534,8 +534,10 @@ void hslider_draw(t_hslider *x, t_glist *glist, int mode)
sys_queuegui(x, glist, hslider_draw_update);
else if(mode == IEM_GUI_DRAW_MODE_MOVE)
hslider_draw_move(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_NEW)
else if(mode == IEM_GUI_DRAW_MODE_NEW) {
hslider_draw_new(x, glist);
sys_vgui(".x%lx.c raise all_cords\n", glist_getcanvas(glist));
}
else if(mode == IEM_GUI_DRAW_MODE_SELECT)
hslider_draw_select(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_ERASE)
......
......@@ -408,8 +408,10 @@ void my_canvas_draw(t_my_canvas *x, t_glist *glist, int mode)
{
if(mode == IEM_GUI_DRAW_MODE_MOVE)
my_canvas_draw_move(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_NEW)
else if(mode == IEM_GUI_DRAW_MODE_NEW) {
my_canvas_draw_new(x, glist);
sys_vgui(".x%lx.c raise all_cords\n", glist_getcanvas(glist));
}
else if(mode == IEM_GUI_DRAW_MODE_SELECT)
my_canvas_draw_select(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_ERASE)
......
......@@ -758,8 +758,10 @@ void my_numbox_draw(t_my_numbox *x, t_glist *glist, int mode)
sys_queuegui(x, glist, my_numbox_draw_update);
else if(mode == IEM_GUI_DRAW_MODE_MOVE)
my_numbox_draw_move(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_NEW)
else if(mode == IEM_GUI_DRAW_MODE_NEW) {
my_numbox_draw_new(x, glist);
sys_vgui(".x%lx.c raise all_cords\n", glist_getcanvas(glist));
}
else if(mode == IEM_GUI_DRAW_MODE_SELECT)
my_numbox_draw_select(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_ERASE)
......
......@@ -539,8 +539,10 @@ void toggle_draw(t_toggle *x, t_glist *glist, int mode)
toggle_draw_update(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_MOVE)
toggle_draw_move(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_NEW)
else if(mode == IEM_GUI_DRAW_MODE_NEW) {
toggle_draw_new(x, glist);
sys_vgui(".x%lx.c raise all_cords\n", glist_getcanvas(glist));
}
else if(mode == IEM_GUI_DRAW_MODE_SELECT)
toggle_draw_select(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_ERASE)
......
......@@ -549,8 +549,10 @@ void vradio_draw(t_vradio *x, t_glist *glist, int mode)
sys_queuegui(x, glist, vradio_draw_update);
else if(mode == IEM_GUI_DRAW_MODE_MOVE)
vradio_draw_move(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_NEW)
else if(mode == IEM_GUI_DRAW_MODE_NEW) {
vradio_draw_new(x, glist);
sys_vgui(".x%lx.c raise all_cords\n", glist_getcanvas(glist));
}
else if(mode == IEM_GUI_DRAW_MODE_SELECT)
vradio_draw_select(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_ERASE)
......
......@@ -544,8 +544,10 @@ void vslider_draw(t_vslider *x, t_glist *glist, int mode)
sys_queuegui(x, glist, vslider_draw_update);
else if(mode == IEM_GUI_DRAW_MODE_MOVE)
vslider_draw_move(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_NEW)
else if(mode == IEM_GUI_DRAW_MODE_NEW) {
vslider_draw_new(x, glist);
sys_vgui(".x%lx.c raise all_cords\n", glist_getcanvas(glist));
}
else if(mode == IEM_GUI_DRAW_MODE_SELECT)
vslider_draw_select(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_ERASE)
......
......@@ -747,8 +747,10 @@ void vu_draw(t_vu *x, t_glist *glist, int mode)
//fprintf(stderr,"vu_draw %d\n", mode);
if(mode == IEM_GUI_DRAW_MODE_MOVE)
vu_draw_move(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_NEW)
else if(mode == IEM_GUI_DRAW_MODE_NEW) {
vu_draw_new(x, glist);
sys_vgui(".x%lx.c raise all_cords\n", glist_getcanvas(glist));
}
else if(mode == IEM_GUI_DRAW_MODE_SELECT)
vu_draw_select(x, glist);
else if(mode == IEM_GUI_DRAW_MODE_ERASE)
......
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