From: Matthew Fernandez Date: Wed, 2 Jun 2021 03:13:26 +0000 (-0700) Subject: remove unused glCompLabelMouseOver X-Git-Tag: 2.47.3~12^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=460226f993db02a1318591acf1e0854dbc03588a;p=graphviz remove unused glCompLabelMouseOver --- diff --git a/lib/glcomp/glcomplabel.c b/lib/glcomp/glcomplabel.c index 192d57f3e..c28c11c57 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 glCompLabelMouseOver(glCompObj * obj, GLfloat x, GLfloat y) -{ - /*Put your internal code here */ - if (((glCompLabel *) obj)->common.callbacks.mouseover) - ((glCompLabel *) obj)->common.callbacks.mouseover(obj, x, y); -} - void glCompLabelMouseUp(glCompObj * obj, GLfloat x, GLfloat y, glMouseButtonType t) { diff --git a/lib/glcomp/glcomplabel.h b/lib/glcomp/glcomplabel.h index 21eacb9d1..7b515cb38 100644 --- a/lib/glcomp/glcomplabel.h +++ b/lib/glcomp/glcomplabel.h @@ -21,8 +21,6 @@ extern "C" { /*events*/ extern int glCompLabelDraw(glCompLabel * p); - extern void glCompLabelMouseOver(glCompObj * obj, GLfloat x, - GLfloat y); extern void glCompLabelMouseUp(glCompObj * obj, GLfloat x, GLfloat y, glMouseButtonType t);