diff options
| author | Fabien Costantini <fabien@onepost.net> | 2008-09-18 19:09:34 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2008-09-18 19:09:34 +0000 |
| commit | e8478458bf96bb62158a61b39416e515767d94a7 (patch) | |
| tree | 0ba17d2b9ae36dc475c63e1d0499204208a632f7 /src/Fl_Font.H | |
| parent | d75b9717c7c1d607a83d0b9625296a0a3bce25c3 (diff) | |
Doxygen documentation: Fixed most important warnings for the Fl_Widget, Fl_Window, Fl_Valuator classes that should be now a 100% documented. For the rest I drastically reduced the undocumented APIs, but many others (less important) remains.
It looks and feels pretty good now :-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Font.H')
| -rw-r--r-- | src/Fl_Font.H | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/Fl_Font.H b/src/Fl_Font.H index 43045266c..f69b74f3c 100644 --- a/src/Fl_Font.H +++ b/src/Fl_Font.H @@ -30,11 +30,6 @@ // Fl_Fontdesc: an entry into the fl_font() table. There is one of these // for each fltk font number. // -// Fl_Font_Descriptor: a structure for an actual system font, with junk to -// help choose it and info on character sizes. Each Fl_Fontdesc has a -// linked list of these. These are created the first time each system -// font/size combination is used. - #ifndef FL_FONT_ #define FL_FONT_ @@ -46,9 +41,17 @@ typedef struct _XftFont XftFont; # include <FL/Xutf8.h> # endif // USE_XFT +/** + This a structure for an actual system font, with junk to + help choose it and info on character sizes. Each Fl_Fontdesc has a + linked list of these. These are created the first time each system + font/size combination is used. +*/ class Fl_Font_Descriptor { public: - Fl_Font_Descriptor *next; // linked list for this Fl_Fontdesc + /** linked list for this Fl_Fontdesc */ + Fl_Font_Descriptor *next; +#ifndef FL_DOXYGEN // don't bother with platorm dependant details in the doc. # ifdef WIN32 HFONT fid; int *width[64]; @@ -84,7 +87,10 @@ public: unsigned int listbase;// base of display list, 0 = none char glok[64]; # endif + FL_EXPORT ~Fl_Font_Descriptor(); + +#endif // FL_DOXYGEN }; extern FL_EXPORT Fl_Font_Descriptor *fl_fontsize; // the currently selected one |
