22 #ifndef Fl_Gl_Window_H
23 #define Fl_Gl_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 *);
73 static int gl_plugin_linkage();
81 void resize(
int,
int,
int,
int);
108 char valid()
const {
return valid_f_ & 1;}
112 void valid(
char v) {
if (v) valid_f_ |= 1;
else valid_f_ &= 0xfe;}
173 void context(
void*,
int destroy_flag = 0);
183 int can_do_overlay();
190 void redraw_overlay();
199 void make_overlay_current();