22 #ifndef Fl_Gl_Window_H
23 #define Fl_Gl_Window_H
25 #include "Fl_Window.H"
31 typedef void* GLContext;
64 virtual void draw_overlay();
69 friend class _Fl_Gl_Overlay;
71 static int can_do(
int,
const int *);
72 int mode(
int,
const int *);
80 void resize(
int,
int,
int,
int);
107 char valid()
const {
return valid_f_ & 1;}
111 void valid(
char v) {
if (v) valid_f_ |= 1;
else valid_f_ &= 0xfe;}
172 void context(
void*,
int destroy_flag = 0);
182 int can_do_overlay();
189 void redraw_overlay();
198 void make_overlay_current();