summaryrefslogtreecommitdiff
path: root/src/drivers/OpenGL/Fl_OpenGL_Display_Device.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/OpenGL/Fl_OpenGL_Display_Device.H')
-rw-r--r--src/drivers/OpenGL/Fl_OpenGL_Display_Device.H37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Display_Device.H b/src/drivers/OpenGL/Fl_OpenGL_Display_Device.H
new file mode 100644
index 000000000..9730fc9c4
--- /dev/null
+++ b/src/drivers/OpenGL/Fl_OpenGL_Display_Device.H
@@ -0,0 +1,37 @@
+//
+// "$Id$"
+//
+// implementation of class Fl_Gl_Device_Plugin for the Fast Light Tool Kit (FLTK).
+//
+// Copyright 2010-2014 by Bill Spitzak and others.
+//
+// This library is free software. Distribution and use rights are outlined in
+// the file "COPYING" which should have been included with this file. If this
+// file is missing or damaged, see the license at:
+//
+// http://www.fltk.org/COPYING.php
+//
+// Please report all bugs and problems to:
+//
+// http://www.fltk.org/str.php
+//
+
+
+#include <FL/Fl_Device.H>
+
+class Fl_OpenGL_Graphics_Driver;
+
+/**
+ OpenGL Surface.
+ This surface is needed as an interface between GL windows and the GL graphics driver.
+ */
+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();
+};
+
+
+//
+// End of "$Id$".
+//