diff options
| author | Manolo Gouy <Manolo> | 2016-03-09 10:30:29 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-09 10:30:29 +0000 |
| commit | fc3adbd7cbd73106dd3ec47216b485b6cd39a2a9 (patch) | |
| tree | 6bcc6b76c59c45dfc7e6b0efb124aff4c415fcd7 /src/drivers/OpenGL/Fl_OpenGL_Display_Device.H | |
| parent | 309213bfaeaff9b3beec9548aeb7762d7dbaa2f8 (diff) | |
Rewrite Fl_Gl_Device_Plugin.cxx in a platform-independent way.
The platform-specific code lands in src/Drivers/OpenGL/Fl_OpenGL_Display_Device.cxx
and the FL_PORTING clause should be compilable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11327 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/OpenGL/Fl_OpenGL_Display_Device.H')
| -rw-r--r-- | src/drivers/OpenGL/Fl_OpenGL_Display_Device.H | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Display_Device.H b/src/drivers/OpenGL/Fl_OpenGL_Display_Device.H index 9730fc9c4..5637e6525 100644 --- a/src/drivers/OpenGL/Fl_OpenGL_Display_Device.H +++ b/src/drivers/OpenGL/Fl_OpenGL_Display_Device.H @@ -20,6 +20,8 @@ #include <FL/Fl_Device.H> class Fl_OpenGL_Graphics_Driver; +class Fl_Gl_Window; +class Fl_RGB_Image; /** OpenGL Surface. @@ -29,6 +31,7 @@ class FL_EXPORT Fl_OpenGL_Display_Device : public Fl_Surface_Device { public: Fl_OpenGL_Display_Device(Fl_OpenGL_Graphics_Driver *graphics_driver); static Fl_OpenGL_Display_Device *display_device(); + static Fl_RGB_Image* capture_gl_rectangle(Fl_Gl_Window*, int, int, int, int); }; |
