summaryrefslogtreecommitdiff
path: root/src/drivers/OpenGL
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/OpenGL')
-rw-r--r--src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.cxx14
-rw-r--r--src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_arci.cxx5
-rw-r--r--src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_line_style.cxx7
-rw-r--r--src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_rect.cxx7
-rw-r--r--src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx5
5 files changed, 11 insertions, 27 deletions
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.cxx b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.cxx
index 227b50de3..5544b136e 100644
--- a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.cxx
+++ b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver.cxx
@@ -3,7 +3,7 @@
//
// Rectangle drawing routines for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2016 by Bill Spitzak and others.
+// Copyright 1998-2017 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
@@ -16,14 +16,18 @@
// http://www.fltk.org/str.php
//
-#ifndef FL_CFG_GFX_OPENGL_CXX
-#define FL_CFG_GFX_OPENGL_CXX
+// Note:
+// This file doesn't contribute any code to the library.
+// It is kept as a placeholder for future usage.
+// This file is not compiled (as of Aug 2017)
+//
+// Fl_OpenGL_Graphics_Driver is implemented in several files
+// named Fl_OpenGL_Graphics_Driver_*.cxx.
+// This may be changed in the future.
#include <FL/gl.h>
#include "Fl_OpenGL_Graphics_Driver.H"
-#endif // FL_CFG_GFX_OPENGL_RECT_CXX
-
//
// End of "$Id$".
//
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_arci.cxx b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_arci.cxx
index 36d36ca12..c0fd58aea 100644
--- a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_arci.cxx
+++ b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_arci.cxx
@@ -16,9 +16,6 @@
// http://www.fltk.org/str.php
//
-#ifndef FL_CFG_GFX_OPENGL_ARCI_CXX
-#define FL_CFG_GFX_OPENGL_ARCI_CXX
-
/**
\file Fl_OpenGL_Graphics_Driver_arci.cxx
\brief Utility functions for drawing circles using integers
@@ -70,8 +67,6 @@ void Fl_OpenGL_Graphics_Driver::pie(int x,int y,int w,int h,double a1,double a2)
glEnd();
}
-#endif // FL_CFG_GFX_OPENGL_ARCI_CXX
-
//
// End of "$Id$".
//
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_line_style.cxx b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_line_style.cxx
index c5698bb4d..047cfba0d 100644
--- a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_line_style.cxx
+++ b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_line_style.cxx
@@ -3,7 +3,7 @@
//
// Line style code for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2016 by Bill Spitzak and others.
+// Copyright 1998-2017 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
@@ -16,9 +16,6 @@
// http://www.fltk.org/str.php
//
-#ifndef FL_CFG_GFX_OPENGL_LINE_STYLE_CXX
-#define FL_CFG_GFX_OPENGL_LINE_STYLE_CXX
-
/**
\file Fl_OpenGL_Graphics_Driver_line_style.cxx
\brief Line style drawing utility hiding different platforms.
@@ -62,8 +59,6 @@ void Fl_OpenGL_Graphics_Driver::line_style(int style, int width, char* dashes) {
}
}
-#endif // FL_CFG_GFX_OPENGL_LINE_STYLE_CXX
-
//
// End of "$Id$".
//
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_rect.cxx b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_rect.cxx
index 457b228b8..308c059f4 100644
--- a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_rect.cxx
+++ b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_rect.cxx
@@ -3,7 +3,7 @@
//
// Rectangle drawing routines for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2016 by Bill Spitzak and others.
+// Copyright 1998-2017 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
@@ -16,9 +16,6 @@
// http://www.fltk.org/str.php
//
-#ifndef FL_CFG_GFX_OPENGL_RECT_CXX
-#define FL_CFG_GFX_OPENGL_RECT_CXX
-
/**
\file Fl_OpenGL_Graphics_Driver_rect.cxx
@@ -205,8 +202,6 @@ void Fl_OpenGL_Graphics_Driver::restore_clip() {
}
-#endif // FL_CFG_GFX_OPENGL_RECT_CXX
-
//
// End of "$Id$".
//
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx
index cbbb68f14..894ab35c1 100644
--- a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx
+++ b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx
@@ -16,9 +16,6 @@
// http://www.fltk.org/str.php
//
-#ifndef FL_CFG_GFX_OPENGL_VERTEX_CXX
-#define FL_CFG_GFX_OPENGL_VERTEX_CXX
-
/**
\file Fl_OpenGL_Graphics_Driver_vertex.cxx
\brief Portable drawing code for drawing arbitrary shapes with
@@ -131,8 +128,6 @@ void Fl_OpenGL_Graphics_Driver::circle(double cx, double cy, double r) {
}
-#endif // FL_CFG_GFX_OPENGL_VERTEX_CXX
-
//
// End of "$Id$".
//