From 1eb1cfce511444d26cf695a130fa333d507177b4 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 1 Jun 2021 20:11:39 -0700 Subject: [PATCH] remove unused glCompLabelMouseDown --- lib/glcomp/glcomplabel.c | 8 -------- lib/glcomp/glcomplabel.h | 2 -- 2 files changed, 10 deletions(-) diff --git a/lib/glcomp/glcomplabel.c b/lib/glcomp/glcomplabel.c index 72d4870c0..dedf986b3 100644 --- a/lib/glcomp/glcomplabel.c +++ b/lib/glcomp/glcomplabel.c @@ -86,14 +86,6 @@ void glCompLabelSetFontName(glCompLabel * p, char* fontName) update_font(p,p->text,fontName,temp->size); } -void glCompLabelMouseDown(glCompObj * obj, GLfloat x, GLfloat y, - glMouseButtonType t) -{ - /*Put your internal code here */ - if (((glCompLabel *) obj)->common.callbacks.mousedown) - ((glCompLabel *) obj)->common.callbacks.mousedown(obj, x, y, t); -} - void glCompLabelMouseIn(glCompObj * obj, GLfloat x, GLfloat y) { /*Put your internal code here */ diff --git a/lib/glcomp/glcomplabel.h b/lib/glcomp/glcomplabel.h index 67590fa9d..47c7fbd5e 100644 --- a/lib/glcomp/glcomplabel.h +++ b/lib/glcomp/glcomplabel.h @@ -21,8 +21,6 @@ extern "C" { /*events*/ extern int glCompLabelDraw(glCompLabel * p); - extern void glCompLabelMouseDown(glCompObj * obj, GLfloat x, GLfloat y, - glMouseButtonType t); extern void glCompLabelMouseIn(glCompObj * obj, GLfloat x, GLfloat y); extern void glCompLabelMouseOut(glCompObj * obj, GLfloat x, GLfloat y); extern void glCompLabelMouseOver(glCompObj * obj, GLfloat x, -- 2.50.1