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

remove unclick function

parent 56a7f78f
No related branches found
No related tags found
No related merge requests found
...@@ -235,7 +235,6 @@ EXTERN t_scalehandle *scalehandle_new(t_object *x, t_glist *glist, int scale, t_ ...@@ -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 scalehandle_free(t_scalehandle *h);
EXTERN void properties_set_field_int(long props, const char *gui_field, int value); 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_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_label(t_scalehandle *h);
EXTERN void scalehandle_click_scale(t_scalehandle *h); EXTERN void scalehandle_click_scale(t_scalehandle *h);
EXTERN void scalehandle_unclick_scale(t_scalehandle *h); EXTERN void scalehandle_unclick_scale(t_scalehandle *h);
......
...@@ -906,7 +906,6 @@ static void scalehandle_clickhook(t_scalehandle *h, t_floatarg f, ...@@ -906,7 +906,6 @@ static void scalehandle_clickhook(t_scalehandle *h, t_floatarg f,
h->h_offset_x=xxx; h->h_offset_x=xxx;
h->h_offset_y=yyy; h->h_offset_y=yyy;
h->h_clickfn(h,f); h->h_clickfn(h,f);
} }
static void scalehandle_motionhook(t_scalehandle *h, static void scalehandle_motionhook(t_scalehandle *h,
...@@ -916,7 +915,6 @@ 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 // Now set the offset to the new mouse position
h->h_offset_x = f1; h->h_offset_x = f1;
h->h_offset_y = f2; h->h_offset_y = f2;
} }
void iemgui__clickhook3(t_scalehandle *sh, int newstate) { void iemgui__clickhook3(t_scalehandle *sh, int newstate) {
...@@ -932,7 +930,7 @@ 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) // drawn when object is selected on its canvas (instead of GOP)
static void scalehandle_check_and_redraw(t_iemgui *x) 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); scalehandle_draw_select2(x);
} }
...@@ -941,7 +939,7 @@ static void scalehandle_check_and_redraw(t_iemgui *x) ...@@ -941,7 +939,7 @@ static void scalehandle_check_and_redraw(t_iemgui *x)
void iemgui_tag_selected(t_iemgui *x) { void iemgui_tag_selected(t_iemgui *x) {
t_canvas *canvas=glist_getcanvas(x->x_glist); 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); //sys_vgui(".x%lx.c addtag selected withtag x%lx\n", canvas, x);
gui_vmess("gui_gobj_select", "xx", canvas, x); gui_vmess("gui_gobj_select", "xx", canvas, x);
......
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