From 8892fb6aabcbfd2c4695c154c22751b5fe5c9004 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Tue, 16 Aug 2005 04:06:28 +0000 Subject: Configure.in was broken. Also, better GUI update queueing for IEM guis and for 'data' (which should affect arrays.) svn path=/trunk/; revision=3430 --- pd/src/g_hslider.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pd/src/g_hslider.c') diff --git a/pd/src/g_hslider.c b/pd/src/g_hslider.c index be744d41..624f1afe 100644 --- a/pd/src/g_hslider.c +++ b/pd/src/g_hslider.c @@ -30,8 +30,9 @@ static t_class *hslider_class; /* widget helper functions */ -static void hslider_draw_update(t_hslider *x, t_glist *glist) +static void hslider_draw_update(t_gobj *client, t_glist *glist) { + t_hslider *x = (t_hslider *)client; t_canvas *canvas=glist_getcanvas(glist); int ypos=text_ypix(&x->x_gui.x_obj, glist); @@ -182,7 +183,7 @@ static void hslider_draw_select(t_hslider* x,t_glist* glist) void hslider_draw(t_hslider *x, t_glist *glist, int mode) { if(mode == IEM_GUI_DRAW_MODE_UPDATE) - hslider_draw_update(x, glist); + 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) -- cgit v1.2.1