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