FLTK logo

[master] b3f0b85 - Documentation: remove Doxygen warnings of undeclared members.

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] b3f0b85 - Documentation: remove Doxygen warnings of undeclared members. "ManoloFLTK" Feb 16, 2021  
 
commit b3f0b853a50851c22824e7969463304abedb700f
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Wed Feb 17 08:39:04 2021 +0100
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Wed Feb 17 08:39:15 2021 +0100

    Documentation: remove Doxygen warnings of undeclared members.

 src/Fl_Gl_Choice.cxx | 11 +++++------
 src/Fl_Gl_Window.cxx | 11 +++++------
 src/gl_start.cxx     | 10 ++++++++++
 3 files changed, 20 insertions(+), 12 deletions(-)

diff --git src/Fl_Gl_Choice.cxx src/Fl_Gl_Choice.cxx
index e444704..6b718fc 100644
--- src/Fl_Gl_Choice.cxx
+++ 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 src/Fl_Gl_Window.cxx src/Fl_Gl_Window.cxx
index 3f65d77..0cd1e4e 100644
--- src/Fl_Gl_Window.cxx
+++ 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 src/gl_start.cxx src/gl_start.cxx
index 81a7043..9c13dac 100644
--- src/gl_start.cxx
+++ 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;
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.