"*count: 200 \n" \
"*cycles: 1000 \n" \
"*ncolors: 32 \n" \
- "*titleFont: -*-helvetica-bold-r-normal-*-180-*\n" \
+ "*titleFont: -*-helvetica-bold-r-normal-*-*-180-*-*-*-*-*-*\n" \
"*showFPS: False \n" \
"*wireframe: False \n" \
#include "tube.h"
#include "rotator.h"
#include "gltrackball.h"
-#include "glxfonts.h"
+#include "texfont.h"
#include <ctype.h>
#ifdef USE_GL /* whole file */
GLfloat gcolor1[4] = { 0, 0, 0, 1 };
GLfloat gcolor2[4] = { 1, 1, 1, 1 };
int slices = 16;
- int divs = s->divisions;
- divs = 4;
+ int divs = 4;
/* 6 6
+-+
sp = &juggles[MI_SCREEN(mi)];
- sp->glx_context = init_GL(mi);
+ if (!sp->glx_context) /* re-initting breaks print_texture_label */
+ sp->glx_context = init_GL(mi);
sp->font_data = load_texture_font (mi->dpy, "titleFont");
}
}
- print_gl_string (mi->dpy, sp->font_data,
- mi->xgwa.width, mi->xgwa.height,
- 10, mi->xgwa.height - 10,
- sp->pattern, False);
+ glColor3f (1, 1, 0);
+ print_texture_label (mi->dpy, sp->font_data,
+ mi->xgwa.width, mi->xgwa.height,
+ 1, sp->pattern);
#ifdef MEMTEST
if((int)(sp->time/10) % 1000 == 0)