Documentation: remove Doxygen warnings of undeclared members.

This commit is contained in:
ManoloFLTK 2021-02-17 08:39:04 +01:00
parent 6dce15bfe3
commit b3f0b853a5
3 changed files with 20 additions and 12 deletions

View File

@ -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...

View File

@ -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() {

View File

@ -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;