remove unused glCompImageMouseIn
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 6 Jun 2021 00:00:16 +0000 (17:00 -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 9f63c2dc32ac5ba56fa1959434fbcffbf93d7215..361c9fffb0b7a13b5fd46102b6420e0dae2488bb 100644 (file)
@@ -147,13 +147,6 @@ void glCompImageDraw(void *obj)
 
 }
 
-void glCompImageMouseIn(glCompObj * obj, GLfloat x, GLfloat y)
-{
-    /*Put your internal code here */
-    if (((glCompImage *) obj)->common.callbacks.mousein)
-       ((glCompImage *) obj)->common.callbacks.mousein(obj, x, y);
-}
-
 void glCompImageMouseOut(glCompObj * obj, GLfloat x, GLfloat y)
 {
     /*Put your internal code here */
index 07ed4852e8ed0824cf55fb3702582903a7709737..9643f8f6ac190bf8c87cc274e81bfd955679a818 100644 (file)
@@ -25,7 +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 glCompImageMouseIn(glCompObj * obj, GLfloat x, GLfloat y);
     extern void glCompImageMouseOut(glCompObj * obj, GLfloat x, GLfloat y);
     extern void glCompImageMouseOver(glCompObj * obj, GLfloat x,
                                     GLfloat y);