]> granicus.if.org Git - graphviz/commitdiff
remove unused glCompImageMouseDown
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 23:59:44 +0000 (16:59 -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 8c85bd52294935425ba96ee0fb3f5efa6a1e3441..9f63c2dc32ac5ba56fa1959434fbcffbf93d7215 100644 (file)
@@ -147,14 +147,6 @@ void glCompImageDraw(void *obj)
 
 }
 
-void glCompImageMouseDown(glCompObj * obj, GLfloat x, GLfloat y,
-                         glMouseButtonType t)
-{
-    /*Put your internal code here */
-    if (((glCompImage *) obj)->common.callbacks.mousedown)
-       ((glCompImage *) obj)->common.callbacks.mousedown(obj, x, y, t);
-}
-
 void glCompImageMouseIn(glCompObj * obj, GLfloat x, GLfloat y)
 {
     /*Put your internal code here */
index 5b8925215ab3a14ece0361ef04c57b3d33f7621d..07ed4852e8ed0824cf55fb3702582903a7709737 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 glCompImageMouseDown(glCompObj * obj, GLfloat x, GLfloat y,
-                                    glMouseButtonType t);
     extern void glCompImageMouseIn(glCompObj * obj, GLfloat x, GLfloat y);
     extern void glCompImageMouseOut(glCompObj * obj, GLfloat x, GLfloat y);
     extern void glCompImageMouseOver(glCompObj * obj, GLfloat x,