45 #ifndef Fl_Gl_Choice_H    46 #define Fl_Gl_Choice_H    52 #  define GLContext HGLRC    53 #elif defined(__APPLE_QUARTZ__)    54 #  include <OpenGL/gl.h>    56 @class NSOpenGLPixelFormat;
    57 @class NSOpenGLContext;
    59 class NSOpenGLPixelFormat;
    60 class NSOpenGLContext;
    62 typedef NSOpenGLContext* FLOpenGLContextPtr;
    63 #  define GLContext FLOpenGLContextPtr    66 #  define GLContext GLXContext    77   PIXELFORMATDESCRIPTOR pfd; 
    78 #elif defined(__APPLE_QUARTZ__)    79   NSOpenGLPixelFormat* pixelformat;
    96 #elif defined(__APPLE_QUARTZ__)   102 GLContext fl_create_gl_context(XVisualInfo* vis);
   106   return fl_create_gl_context(g->vis);
   111 void fl_set_gl_context(
Fl_Window*, GLContext);
   112 void fl_no_gl_context();
   113 void fl_delete_gl_context(GLContext);
 This widget produces an actual window. 
Definition: Fl_Window.H:57
Definition: Fl_Gl_Choice.H:70
This file defines wrapper functions for OpenGL in FLTK.