summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-02-17 08:39:04 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-02-17 08:39:15 +0100
commitb3f0b853a50851c22824e7969463304abedb700f (patch)
tree6162b648a358a1466655908a265fe71d3fc1374c
parent6dce15bfe3a6d0552e8109d8a08863cfc7170610 (diff)
Documentation: remove Doxygen warnings of undeclared members.
-rw-r--r--src/Fl_Gl_Choice.cxx11
-rw-r--r--src/Fl_Gl_Window.cxx11
-rw-r--r--src/gl_start.cxx10
3 files changed, 20 insertions, 12 deletions
diff --git a/src/Fl_Gl_Choice.cxx b/src/Fl_Gl_Choice.cxx
index e44470469..6b718fcfd 100644
--- a/src/Fl_Gl_Choice.cxx
+++ b/src/Fl_Gl_Choice.cxx
@@ -17,6 +17,11 @@
#include <config.h>
#if HAVE_GL
+/**
+ \cond DriverDev
+ \addtogroup DriverDeveloper
+ \{
+ */
# include <FL/Fl.H>
# include "Fl_Gl_Choice.H"
# include <FL/Fl_Gl_Window.H>
@@ -53,12 +58,6 @@ void Fl_Gl_Window_Driver::del_context(GLContext ctx) {
Fl_Gl_Choice *Fl_Gl_Window_Driver::first;
-/**
- \cond DriverDev
- \addtogroup DriverDeveloper
- \{
- */
-
// this assumes one of the two arguments is zero:
// We keep the list system in Win32 to stay compatible and interpret
// the list later...
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index 3f65d7785..0cd1e4e00 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -63,12 +63,6 @@ extern int fl_gl_load_plugin;
static char SWAP_TYPE = 0 ; // 0 = determine it from environment variable
-////////////////////////////////////////////////////////////////
-
-int Fl_Gl_Window_Driver::copy = COPY;
-GLContext Fl_Gl_Window_Driver::cached_context = NULL;
-Fl_Window* Fl_Gl_Window_Driver::cached_window = NULL;
-float Fl_Gl_Window_Driver::gl_scale = 1; // scaling factor between FLTK and GL drawing units: GL = FLTK * gl_scale
/** Returns non-zero if the hardware supports the given or current OpenGL mode. */
int Fl_Gl_Window::can_do(int a, const int *b) {
@@ -458,6 +452,11 @@ float Fl_Gl_Window::pixels_per_unit() {
\{
*/
+int Fl_Gl_Window_Driver::copy = COPY;
+GLContext Fl_Gl_Window_Driver::cached_context = NULL;
+Fl_Window* Fl_Gl_Window_Driver::cached_window = NULL;
+float Fl_Gl_Window_Driver::gl_scale = 1; // scaling factor between FLTK and GL drawing units: GL = FLTK * gl_scale
+
// creates a unique, dummy Fl_Gl_Window_Driver object used when no Fl_Gl_Window is around
// necessary to support gl_start()/gl_finish()
Fl_Gl_Window_Driver *Fl_Gl_Window_Driver::global() {
diff --git a/src/gl_start.cxx b/src/gl_start.cxx
index 81a704333..9c13dac0a 100644
--- a/src/gl_start.cxx
+++ b/src/gl_start.cxx
@@ -37,7 +37,17 @@ class Fl_Gl_Choice;
#include <FL/Fl_Gl_Window.H>
#include "Fl_Gl_Window_Driver.H"
+/**
+ \cond DriverDev
+ \addtogroup DriverDeveloper
+ \{
+ */
GLContext Fl_Gl_Window_Driver::gl_start_context;
+/**
+ \}
+ \endcond
+ */
+
static int clip_state_number=-1;
static int pw, ph;
float gl_start_scale = 1;