]> granicus.if.org Git - graphviz/commitdiff
remove unused glCompImageMouseOver
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 6 Jun 2021 00:01:13 +0000 (17:01 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 9 Jun 2021 03:13:25 +0000 (20:13 -0700)
lib/glcomp/glcompimage.c
lib/glcomp/glcompimage.h

index 6fc517d8e3437cb167f1faebe7f09a08b5368d0a..e0451fbe8ec7ee050d970d3279cca01589148191 100644 (file)
@@ -147,13 +147,6 @@ void glCompImageDraw(void *obj)
 
 }
 
-void glCompImageMouseOver(glCompObj * obj, GLfloat x, GLfloat y)
-{
-    /*Put your internal code here */
-    if (((glCompImage *) obj)->common.callbacks.mouseover)
-       ((glCompImage *) obj)->common.callbacks.mouseover(obj, x, y);
-}
-
 void glCompImageMouseUp(glCompObj * obj, GLfloat x, GLfloat y,
                        glMouseButtonType t)
 {
index 3f6a7b80bd00fab591cdd3ef6e57459d836bbd87..862d53110650e88e9be3c18054e776c79869adde 100644 (file)
@@ -25,8 +25,6 @@ extern "C" {
                               int width, int height,int is2D);
     extern int glCompImageLoadPng(glCompImage * i, char *pngFile,int is2D);
     extern void glCompImageDraw(void *obj);
-    extern void glCompImageMouseOver(glCompObj * obj, GLfloat x,
-                                    GLfloat y);
     extern void glCompImageMouseUp(glCompObj * obj, GLfloat x, GLfloat y,
                                   glMouseButtonType t);