From: Matthew Fernandez Date: Wed, 2 Jun 2021 03:11:39 +0000 (-0700) Subject: remove unused glCompLabelMouseDown X-Git-Tag: 2.47.3~12^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1eb1cfce511444d26cf695a130fa333d507177b4;p=graphviz remove unused glCompLabelMouseDown --- diff --git a/lib/glcomp/glcomplabel.c b/lib/glcomp/glcomplabel.c index 72d4870c0..dedf986b3 100644 --- a/lib/glcomp/glcomplabel.c +++ b/lib/glcomp/glcomplabel.c @@ -86,14 +86,6 @@ void glCompLabelSetFontName(glCompLabel * p, char* fontName) update_font(p,p->text,fontName,temp->size); } -void glCompLabelMouseDown(glCompObj * obj, GLfloat x, GLfloat y, - glMouseButtonType t) -{ - /*Put your internal code here */ - if (((glCompLabel *) obj)->common.callbacks.mousedown) - ((glCompLabel *) obj)->common.callbacks.mousedown(obj, x, y, t); -} - void glCompLabelMouseIn(glCompObj * obj, GLfloat x, GLfloat y) { /*Put your internal code here */ diff --git a/lib/glcomp/glcomplabel.h b/lib/glcomp/glcomplabel.h index 67590fa9d..47c7fbd5e 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 glCompLabelMouseDown(glCompObj * obj, GLfloat x, GLfloat y, - glMouseButtonType t); 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,