From: Matthew Fernandez Date: Wed, 2 Jun 2021 03:12:18 +0000 (-0700) Subject: remove unused glCompLabelMouseIn X-Git-Tag: 2.47.3~12^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e0f7fe1acafcab8284be5e23276de54e5616dd0b;p=graphviz remove unused glCompLabelMouseIn --- diff --git a/lib/glcomp/glcomplabel.c b/lib/glcomp/glcomplabel.c index dedf986b3..b7efaf2b9 100644 --- a/lib/glcomp/glcomplabel.c +++ b/lib/glcomp/glcomplabel.c @@ -86,13 +86,6 @@ void glCompLabelSetFontName(glCompLabel * p, char* fontName) update_font(p,p->text,fontName,temp->size); } -void glCompLabelMouseIn(glCompObj * obj, GLfloat x, GLfloat y) -{ - /*Put your internal code here */ - if (((glCompLabel *) obj)->common.callbacks.mousein) - ((glCompLabel *) obj)->common.callbacks.mousein(obj, x, y); -} - void glCompLabelMouseOut(glCompObj * obj, GLfloat x, GLfloat y) { /*Put your internal code here */ diff --git a/lib/glcomp/glcomplabel.h b/lib/glcomp/glcomplabel.h index 47c7fbd5e..914d65520 100644 --- a/lib/glcomp/glcomplabel.h +++ b/lib/glcomp/glcomplabel.h @@ -21,7 +21,6 @@ extern "C" { /*events*/ extern int glCompLabelDraw(glCompLabel * p); - extern void glCompLabelMouseIn(glCompObj * obj, GLfloat x, GLfloat y); extern void glCompLabelMouseOut(glCompObj * obj, GLfloat x, GLfloat y); extern void glCompLabelMouseOver(glCompObj * obj, GLfloat x, GLfloat y);