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

index 192d57f3e1f3c9f68b4da38663710b84e14e0121..c28c11c579dd063aa7f05197b713c49f4bd953f6 100644 (file)
@@ -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)
 {
index 21eacb9d1b87b3dd05a4824d3ac77762c4c498f0..7b515cb38bde7fe51206ee611aad9bca492690d1 100644 (file)
@@ -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);