Doxygen: created Group to document drivers, disabled by default

Uncomment `ENABLED_SECTIONS += DriverDev` in documentation/Doxyfile.in
to enable driver documentation.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12968 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher
2018-06-23 16:47:40 +00:00
parent 8c993648db
commit a9fd08ff5a
41 changed files with 565 additions and 71 deletions
+22 -3
View File
@@ -29,6 +29,12 @@
const char *Fl_PostScript_File_Device::file_chooser_title = "Select a .ps file";
/**
* @cond DriverDev
* @addtogroup DriverDeveloper
* @{
*/
/**
@brief The constructor.
*/
@@ -48,6 +54,12 @@ Fl_PostScript_Graphics_Driver::~Fl_PostScript_Graphics_Driver() {
if(ps_filename_) free(ps_filename_);
}
/**
* @}
* @endcond
*/
Fl_PostScript_File_Device::Fl_PostScript_File_Device(void)
{
Fl_Surface_Device::driver( new Fl_PostScript_Graphics_Driver() );
@@ -107,6 +119,12 @@ Fl_PostScript_File_Device::~Fl_PostScript_File_Device() {
if (ps) delete ps;
}
/**
* @cond DriverDev
* @addtogroup DriverDeveloper
* @{
*/
int Fl_PostScript_Graphics_Driver::clocale_printf(const char *format, ...)
{
va_list args;
@@ -116,8 +134,6 @@ int Fl_PostScript_Graphics_Driver::clocale_printf(const char *format, ...)
return retval;
}
#ifndef FL_DOXYGEN
// Prolog string
static const char * prolog =
@@ -1477,7 +1493,10 @@ void Fl_PostScript_File_Device::end_job (void)
Fl_Display_Device::display_device()->set_current();
}
#endif // FL_DOXYGEN
/**
* @}
* @endcond
*/
#endif // !defined(FL_NO_PRINT_SUPPORT)