From 346e10f7b811ec02f764977bb65de0d66f035bcc Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 1 Jun 2021 20:12:49 -0700 Subject: [PATCH] remove unused glCompLabelMouseOut --- lib/glcomp/glcomplabel.c | 7 ------- lib/glcomp/glcomplabel.h | 1 - 2 files changed, 8 deletions(-) diff --git a/lib/glcomp/glcomplabel.c b/lib/glcomp/glcomplabel.c index b7efaf2b9..192d57f3e 100644 --- a/lib/glcomp/glcomplabel.c +++ b/lib/glcomp/glcomplabel.c @@ -86,13 +86,6 @@ void glCompLabelSetFontName(glCompLabel * p, char* fontName) update_font(p,p->text,fontName,temp->size); } -void glCompLabelMouseOut(glCompObj * obj, GLfloat x, GLfloat y) -{ - /*Put your internal code here */ - if (((glCompLabel *) obj)->common.callbacks.mouseout) - ((glCompLabel *) obj)->common.callbacks.mouseout(obj, x, y); -} - void glCompLabelMouseOver(glCompObj * obj, GLfloat x, GLfloat y) { /*Put your internal code here */ diff --git a/lib/glcomp/glcomplabel.h b/lib/glcomp/glcomplabel.h index 914d65520..21eacb9d1 100644 --- a/lib/glcomp/glcomplabel.h +++ b/lib/glcomp/glcomplabel.h @@ -21,7 +21,6 @@ extern "C" { /*events*/ extern int glCompLabelDraw(glCompLabel * p); - extern void glCompLabelMouseOut(glCompObj * obj, GLfloat x, GLfloat y); extern void glCompLabelMouseOver(glCompObj * obj, GLfloat x, GLfloat y); extern void glCompLabelMouseUp(glCompObj * obj, GLfloat x, GLfloat y, -- 2.50.1