]> granicus.if.org Git - graphviz/commitdiff
remove unused glCompLabelMouseDown
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 2 Jun 2021 03:11:39 +0000 (20:11 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 17:03:34 +0000 (10:03 -0700)
lib/glcomp/glcomplabel.c
lib/glcomp/glcomplabel.h

index 72d4870c0ceb4a069899caf7101a3eb9bd6359a6..dedf986b3f7ae88fab710eba5e421c2873205f55 100644 (file)
@@ -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 */
index 67590fa9ddefb190a9f50bab9d049b66f1392572..47c7fbd5e6294779a15fa31f3a1f5f2cd9eefca4 100644 (file)
@@ -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,