]> granicus.if.org Git - graphviz/commitdiff
remove unused glCompImageMouseUp
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 6 Jun 2021 00:01:38 +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 e0451fbe8ec7ee050d970d3279cca01589148191..3637c326b5760c7e140d13d4390ae752d7ce3660 100644 (file)
@@ -146,11 +146,3 @@ void glCompImageDraw(void *obj)
     }
 
 }
-
-void glCompImageMouseUp(glCompObj * obj, GLfloat x, GLfloat y,
-                       glMouseButtonType t)
-{
-    /*Put your internal code here */
-    if (((glCompImage *) obj)->common.callbacks.mouseup)
-       ((glCompImage *) obj)->common.callbacks.mouseup(obj, x, y, t);
-}
index 862d53110650e88e9be3c18054e776c79869adde..0551779845f8f89956b03af85dfb37900260e497 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 glCompImageMouseUp(glCompObj * obj, GLfloat x, GLfloat y,
-                                  glMouseButtonType t);
 
 #ifdef __cplusplus
 }