diff --git a/externals/build/include/g_all_guis.h b/externals/build/include/g_all_guis.h index 6dea0401515f15540071f505da7e9b697b3dc516..25e22f53803692807d88a0ffb8376a20b005ae75 100644 --- a/externals/build/include/g_all_guis.h +++ b/externals/build/include/g_all_guis.h @@ -235,7 +235,6 @@ EXTERN t_scalehandle *scalehandle_new(t_object *x, t_glist *glist, int scale, t_ EXTERN void scalehandle_free(t_scalehandle *h); EXTERN void properties_set_field_int(long props, const char *gui_field, int value); EXTERN void scalehandle_dragon_label(t_scalehandle *h, float f1, float f2); -EXTERN void scalehandle_unclick_label(t_scalehandle *h); EXTERN void scalehandle_click_label(t_scalehandle *h); EXTERN void scalehandle_click_scale(t_scalehandle *h); EXTERN void scalehandle_unclick_scale(t_scalehandle *h); diff --git a/pd/src/g_all_guis.c b/pd/src/g_all_guis.c index 1e715a147a1f8d7542f41c4f6e3172791a9bb251..df0c07669b55eb75f772ff97566894697de728ca 100644 --- a/pd/src/g_all_guis.c +++ b/pd/src/g_all_guis.c @@ -906,7 +906,6 @@ static void scalehandle_clickhook(t_scalehandle *h, t_floatarg f, h->h_offset_x=xxx; h->h_offset_y=yyy; h->h_clickfn(h,f); - } static void scalehandle_motionhook(t_scalehandle *h, @@ -916,7 +915,6 @@ static void scalehandle_motionhook(t_scalehandle *h, // Now set the offset to the new mouse position h->h_offset_x = f1; h->h_offset_y = f2; - } void iemgui__clickhook3(t_scalehandle *sh, int newstate) { @@ -932,7 +930,7 @@ void iemgui__clickhook3(t_scalehandle *sh, int newstate) { // drawn when object is selected on its canvas (instead of GOP) static void scalehandle_check_and_redraw(t_iemgui *x) { - if(x->x_selected == x->x_glist) + if (x->x_selected == x->x_glist) scalehandle_draw_select2(x); } @@ -941,7 +939,7 @@ static void scalehandle_check_and_redraw(t_iemgui *x) void iemgui_tag_selected(t_iemgui *x) { t_canvas *canvas=glist_getcanvas(x->x_glist); - if(x->x_selected) + if (x->x_selected) { //sys_vgui(".x%lx.c addtag selected withtag x%lx\n", canvas, x); gui_vmess("gui_gobj_select", "xx", canvas, x);