31 #ifndef Fl_Gl_Window_H
32 #define Fl_Gl_Window_H
34 #include "Fl_Window.H"
40 typedef void* GLContext;
73 virtual void draw_overlay();
78 friend class _Fl_Gl_Overlay;
80 static int can_do(
int,
const int *);
81 int mode(
int,
const int *);
89 void resize(
int,
int,
int,
int);
116 char valid()
const {
return valid_f_ & 1;}
120 void valid(
char v) {
if (v) valid_f_ |= 1;
else valid_f_ &= 0xfe;}
181 void context(
void*,
int destroy_flag = 0);
191 int can_do_overlay();
198 void redraw_overlay();
207 void make_overlay_current();