From: Matthew Fernandez Date: Sun, 6 Jun 2021 00:00:16 +0000 (-0700) Subject: remove unused glCompImageMouseIn X-Git-Tag: 2.47.3~7^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7abf12ffdc5fdb1834330012847cc13bd8efacf;p=graphviz remove unused glCompImageMouseIn --- diff --git a/lib/glcomp/glcompimage.c b/lib/glcomp/glcompimage.c index 9f63c2dc3..361c9fffb 100644 --- a/lib/glcomp/glcompimage.c +++ b/lib/glcomp/glcompimage.c @@ -147,13 +147,6 @@ void glCompImageDraw(void *obj) } -void glCompImageMouseIn(glCompObj * obj, GLfloat x, GLfloat y) -{ - /*Put your internal code here */ - if (((glCompImage *) obj)->common.callbacks.mousein) - ((glCompImage *) obj)->common.callbacks.mousein(obj, x, y); -} - void glCompImageMouseOut(glCompObj * obj, GLfloat x, GLfloat y) { /*Put your internal code here */ diff --git a/lib/glcomp/glcompimage.h b/lib/glcomp/glcompimage.h index 07ed4852e..9643f8f6a 100644 --- a/lib/glcomp/glcompimage.h +++ b/lib/glcomp/glcompimage.h @@ -25,7 +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 glCompImageMouseIn(glCompObj * obj, GLfloat x, GLfloat y); extern void glCompImageMouseOut(glCompObj * obj, GLfloat x, GLfloat y); extern void glCompImageMouseOver(glCompObj * obj, GLfloat x, GLfloat y);