Skip to content
Snippets Groups Projects
Commit 59d0fb39 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

comment out an unneeded sys_vgui

parent a2ad0b55
No related branches found
No related tags found
No related merge requests found
......@@ -304,11 +304,11 @@ static void vu_draw_config(t_vu* x, t_glist* glist)
/* Not sure if this is necessary anymore */
static void vu_draw_select(t_vu* x,t_glist* glist)
{
t_canvas *canvas=glist_getcanvas(glist);
char lcol[8]; sprintf(lcol,"#%6.6x", x->x_gui.x_lcol);
int issel = x->x_gui.x_selected == canvas && x->x_gui.x_glist == canvas;
sys_vgui(".x%lx.c itemconfigure %lxSCALEN -fill %s\n",
canvas, x, issel ? selection_color : lcol);
//t_canvas *canvas=glist_getcanvas(glist);
//char lcol[8]; sprintf(lcol,"#%6.6x", x->x_gui.x_lcol);
//int issel = x->x_gui.x_selected == canvas && x->x_gui.x_glist == canvas;
//sys_vgui(".x%lx.c itemconfigure %lxSCALEN -fill %s\n",
// canvas, x, issel ? selection_color : lcol);
}
static void vu__clickhook(t_scalehandle *sh, int newstate)
......
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