diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-09-17 09:00:48 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-09-17 09:00:48 +0200 |
| commit | 824818303ce41a57de3220375bc42b6433cbec0c (patch) | |
| tree | 776cc221b925676c5af6cc4e19b9fb137798613b /src/Fl_Graphics_Driver.cxx | |
| parent | 5fa994fcfc88312d15d6a8d6efbffcdd800c5c40 (diff) | |
Restore Doxygen doc of fl_graphics_driver
Diffstat (limited to 'src/Fl_Graphics_Driver.cxx')
| -rw-r--r-- | src/Fl_Graphics_Driver.cxx | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx index 121501d1f..397b5580f 100644 --- a/src/Fl_Graphics_Driver.cxx +++ b/src/Fl_Graphics_Driver.cxx @@ -1,7 +1,7 @@ // // Fl_Graphics_Driver class for the Fast Light Tool Kit (FLTK). // -// Copyright 2010-2022 by Bill Spitzak and others. +// Copyright 2010-2023 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 @@ -14,24 +14,26 @@ // https://www.fltk.org/bugs.php // +/** \file Fl_Graphics_Driver.cxx +\brief Implementation of class Fl_Graphics_Driver. +*/ + +#include <FL/Fl_Graphics_Driver.H> +/** Points to the driver that currently receives all graphics requests */ +FL_EXPORT Fl_Graphics_Driver *fl_graphics_driver; + /** \cond DriverDev \addtogroup DriverDeveloper \{ */ -#include <config.h> -#include <FL/Fl.H> -#include <FL/Fl_Graphics_Driver.H> #include "Fl_Screen_Driver.H" -#include <FL/Fl_Image.H> -#include <FL/fl_draw.H> #include <FL/Fl_Image_Surface.H> -#include <FL/math.h> -#include <FL/platform.H> +#include <FL/math.h> // for fabs(), sqrt() +#include <FL/platform.H> // for fl_open_display() #include <stdlib.h> -FL_EXPORT Fl_Graphics_Driver *fl_graphics_driver; // the current driver of graphics operations const Fl_Graphics_Driver::matrix Fl_Graphics_Driver::m0 = {1, 0, 0, 1, 0, 0}; |
