From 2d5e45224e9484a3a77f1ee6d5df377b6342a0b6 Mon Sep 17 00:00:00 2001 From: arif Date: Mon, 23 Mar 2009 19:36:38 +0000 Subject: [PATCH] licence issues --- lib/glcomp/glcomp.vcproj | 18 +++++++++--------- lib/glcomp/glcompbutton.c | 19 ++++++++++++++++--- 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/lib/glcomp/glcomp.vcproj b/lib/glcomp/glcomp.vcproj index 6a0d70bc9..469cf7e23 100644 --- a/lib/glcomp/glcomp.vcproj +++ b/lib/glcomp/glcomp.vcproj @@ -160,19 +160,19 @@ > glCompButton *glCompButtonNew(GLfloat x, GLfloat y, GLfloat w, GLfloat h, @@ -182,10 +195,10 @@ int glCompDrawButton(glCompButton * p) fonty = (p->height - p->thickness * (GLfloat) 2 - p->fontsize) / (GLfloat) 2.0 + p->pos.y + p->thickness; - fontSize(p->font,p->fontsize); + p->font->fontheight=p->fontsize; // fontColorA (p->fontcolor.R,p->fontcolor.B,p->fontcolor.G,p->fontcolor.A); fontColor(p->font,0, 0, 0, 1); - fontDrawString(p->font,(GLfloat) fontx, (GLfloat) fonty, + glprintf(p->font,(GLfloat) fontx, (GLfloat) fonty, (p->fontsize *(GLfloat) strlen(p->caption) * GLCOMPSET_FONT_SIZE_FACTOR), p->caption); } -- 2.40.0