diff options
Diffstat (limited to 'src/c_fl_gl_window.h')
-rw-r--r-- | src/c_fl_gl_window.h | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/src/c_fl_gl_window.h b/src/c_fl_gl_window.h index 6d91724..0079008 100644 --- a/src/c_fl_gl_window.h +++ b/src/c_fl_gl_window.h @@ -8,28 +8,14 @@ #define FL_GL_WINDOW_GUARD - - typedef void* GLWINDOW; - - -extern "C" void gl_window_set_draw_hook(GLWINDOW n, void * d); -extern "C" void fl_gl_window_draw(GLWINDOW n); -extern "C" void gl_window_set_handle_hook(GLWINDOW n, void * h); -extern "C" int fl_gl_window_handle(GLWINDOW n, int e); - - - - extern "C" GLWINDOW new_fl_gl_window(int x, int y, int w, int h, char* label); extern "C" GLWINDOW new_fl_gl_window2(int w, int h, char* label); extern "C" void free_fl_gl_window(GLWINDOW w); - - extern "C" void fl_gl_window_show(GLWINDOW w); extern "C" void fl_gl_window_hide(GLWINDOW w); extern "C" void fl_gl_window_hide_overlay(GLWINDOW w); @@ -39,6 +25,7 @@ extern "C" void fl_gl_window_flush(GLWINDOW w); extern "C" int fl_gl_window_pixel_h(GLWINDOW w); extern "C" int fl_gl_window_pixel_w(GLWINDOW w); extern "C" float fl_gl_window_pixels_per_unit(GLWINDOW w); +extern "C" void fl_gl_window_resize(GLWINDOW gw, int x, int y, int w, int h); extern "C" unsigned int fl_gl_window_get_mode(GLWINDOW w); @@ -63,5 +50,10 @@ extern "C" void fl_gl_window_redraw_overlay(GLWINDOW w); extern "C" void fl_gl_window_swap_buffers(GLWINDOW w); +extern "C" void fl_gl_window_draw(GLWINDOW n); +extern "C" int fl_gl_window_handle(GLWINDOW n, int e); + + #endif + |