Improve documentation generation for older Doxygen versions

Currently supported Doxygen versions: 1.9.1 and higher.
Tested up to Doxygen 1.13.2 as of today.

Older doxygen versions may generate bogus warnings or even fail to
interpret correct C++ syntax.
This commit is contained in:
Albrecht Schlosser 2025-12-08 14:45:31 +01:00
parent 1dbca3db2f
commit 1f6fda64a8
2 changed files with 8 additions and 5 deletions

View File

@ -97,13 +97,13 @@ removed in the next minor FLTK version, presumably 1.6.0.
Please update your code!
The following list is currently incomplete and will be extended later.
\todo This table of deprecated functions since FLTK 1.5 may be incomplete and
should be completed before the release of FLTK 1.5.0.
Symbol To Be Removed In The Next Minor Release | Please Replace With ...
-------------------------------------------------------|-------------------------
void Fl_Window::icon(const void *ic) | void Fl_Window::icon(const Fl_RGB_Image *icon)
const void *Fl_Window::icon() const | no replacement (was platform specific)
const void * Fl_Window::icon() const | no replacement (Windows platform specific)
  |  
Fl_Tree::first_visible() | in 1.3.3 ABI
Fl_Tree::first_visible_item() | ?

View File

@ -396,14 +396,17 @@ void fl_oxy_round_down_box(int x, int y, int w, int h, Fl_Color col);
// See also Fl::box_bg() which returns true if bit 1 == zero.
// /////////////////////////////////////////////////////////////////////
static struct {
typedef struct {
Fl_Box_Draw_F *f;
uchar dx, dy, dw, dh;
int flags;
Fl_Box_Draw_Focus_F *ff;
bool set() { return flags & 1; }
bool bg() { return !(flags & 2); }
} fl_box_table[FL_MAX_BOXTYPE+1] = {
} boxtable_t;
static boxtable_t fl_box_table[FL_MAX_BOXTYPE+1] = {
// must match list in Enumerations.H !!!
{ fl_no_box, 0, 0, 0, 0, 3 }, // FL_NO_BOX
{ fl_flat_box, 0, 0, 0, 0, 1 }, // FL_FLAT_BOX