From a4c6c18b3dc3ed11b3aca19df37ef094a19fe025 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 9 May 2023 22:36:41 +0200 Subject: Fix doxygen doc generation and document platform specific files Pure platform specific files like 'src/*_win32.cxx' are excluded from doxygen processing and don't need doxygen specific guard macros. Document this fact prominently at the beginning of each file. Fix exclude patterns and remove duplicates from Doxyfile.in. --- src/Fl_win32.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/Fl_win32.cxx') diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 0837f45b4..8579e0ccd 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -14,12 +14,13 @@ // https://www.fltk.org/bugs.php // +// Note: this file contains platform specific code and will therefore +// not be processed by doxygen (see Doxyfile.in). + // This file contains Windows-specific code for FLTK which is always linked // in. Search other files for "_WIN32" or filenames ending in _win32.cxx // for other system-specific code. -#if defined(_WIN32) && !defined(FL_DOXYGEN) - /* We require Windows 2000 features (e.g. VK definitions) */ # if !defined(WINVER) || (WINVER < 0x0500) # ifdef WINVER @@ -2741,5 +2742,3 @@ void Fl_WinAPI_Window_Driver::capture_titlebar_and_borders(Fl_RGB_Image *&top, F fl_graphics_driver->gc(save_gc); Fl_Surface_Device::pop_current(); } - -#endif // defined(_WIN32) and !defined(FL_DOXYGEN) -- cgit v1.2.3