From: Matthew Fernandez Date: Sun, 6 Jun 2021 00:01:13 +0000 (-0700) Subject: remove unused glCompImageMouseOver X-Git-Tag: 2.47.3~7^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c0daba29fb9a85809afe9dfaa6beaeca22b3a79;p=graphviz remove unused glCompImageMouseOver --- diff --git a/lib/glcomp/glcompimage.c b/lib/glcomp/glcompimage.c index 6fc517d8e..e0451fbe8 100644 --- a/lib/glcomp/glcompimage.c +++ b/lib/glcomp/glcompimage.c @@ -147,13 +147,6 @@ void glCompImageDraw(void *obj) } -void glCompImageMouseOver(glCompObj * obj, GLfloat x, GLfloat y) -{ - /*Put your internal code here */ - if (((glCompImage *) obj)->common.callbacks.mouseover) - ((glCompImage *) obj)->common.callbacks.mouseover(obj, x, y); -} - void glCompImageMouseUp(glCompObj * obj, GLfloat x, GLfloat y, glMouseButtonType t) { diff --git a/lib/glcomp/glcompimage.h b/lib/glcomp/glcompimage.h index 3f6a7b80b..862d53110 100644 --- a/lib/glcomp/glcompimage.h +++ b/lib/glcomp/glcompimage.h @@ -25,8 +25,6 @@ extern "C" { int width, int height,int is2D); extern int glCompImageLoadPng(glCompImage * i, char *pngFile,int is2D); extern void glCompImageDraw(void *obj); - extern void glCompImageMouseOver(glCompObj * obj, GLfloat x, - GLfloat y); extern void glCompImageMouseUp(glCompObj * obj, GLfloat x, GLfloat y, glMouseButtonType t);