>
</File>
<File
- RelativePath=".\glcomptexture.h"
+ RelativePath=".\glcomptext.h"
>
</File>
<File
- RelativePath=".\glCompTrackBar.h"
+ RelativePath=".\glcomptexture.h"
>
</File>
<File
- RelativePath=".\glpangofont.h"
+ RelativePath=".\glcomptrackbar.h"
>
</File>
<File
- RelativePath=".\glTexFont.h"
+ RelativePath=".\glpangofont.h"
>
</File>
<File
>
</File>
<File
- RelativePath=".\glcomptextpng.c"
+ RelativePath=".\glcomptext.c"
>
</File>
<File
- RelativePath=".\glcomptexture.c"
+ RelativePath=".\glcomptextpng.c"
>
</File>
<File
- RelativePath=".\glCompTrackBar.c"
+ RelativePath=".\glcomptexture.c"
>
</File>
<File
- RelativePath=".\glpangofont.c"
+ RelativePath=".\glcomptrackbar.c"
>
</File>
<File
- RelativePath=".\glTexFont.c"
+ RelativePath=".\glpangofont.c"
>
</File>
<File
+/**********************************************************
+* This software is part of the graphviz package *
+* http://www.graphviz.org/ *
+* *
+* Copyright (c) 1994-2007 AT&T Corp. *
+* and is licensed under the *
+* Common Public License, Version 1.0 *
+* by AT&T Corp. *
+* *
+* Information and Software Systems Research *
+* AT&T Research, Florham Park NJ *
+**********************************************************/
+
#include "glcompbutton.h"
#include "glcomptexture.h"
-#include "glTexFont.h"
+#include "glcomptext.h"
#include <string.h>
glCompButton *glCompButtonNew(GLfloat x, GLfloat y, GLfloat w, GLfloat h,
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);
}