Namespaces | |
namespace | fltk |
Functions | |
fltk/gl.h | |
void | fltk::glstart () |
void | fltk::glfinish () |
void | fltk::glsetcolor (Color) |
void | fltk::glstrokerect (int x, int y, int w, int h) |
void | fltk::glfillrect (int x, int y, int w, int h) |
void | fltk::glsetfont (Font *f, float size) |
float | fltk::glgetascent () |
float | fltk::glgetdescent () |
float | fltk::glgetwidth (const char *) |
float | fltk::glgetwidth (const char *, int n) |
void | fltk::gldrawtext (const char *) |
void | fltk::gldrawtext (const char *, int n) |
void | fltk::gldrawtext (const char *, float x, float y, float z=0) |
void | fltk::gldrawtext (const char *, int n, float x, float y, float z=0) |
void | fltk::gldrawimage (const uchar *, int x, int y, int w, int h, int d=3, int ld=0) |
Portably include the OpenGL header files, and define a few OpenGL drawing functions provided by fltk. You may want to use the OpenGL Extension Wrangler (glew), which will make it much easier to call modern OpenGL extensions. If so, include glew.h before this file, or define USE_GLEW to 1 before including this.