diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2018-06-23 16:47:40 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2018-06-23 16:47:40 +0000 |
| commit | a9fd08ff5ab8bbf3838200ceace671a72627d212 (patch) | |
| tree | b7821c8f82a8ab75c682d9175c24bfaaf2993501 /src/drivers/PostScript | |
| parent | 8c993648dbb568e35271ad4c8bd346d7eb97e69b (diff) | |
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
Diffstat (limited to 'src/drivers/PostScript')
| -rw-r--r-- | src/drivers/PostScript/Fl_PostScript.cxx | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/src/drivers/PostScript/Fl_PostScript.cxx b/src/drivers/PostScript/Fl_PostScript.cxx index ca2ea3085..c0c283422 100644 --- a/src/drivers/PostScript/Fl_PostScript.cxx +++ b/src/drivers/PostScript/Fl_PostScript.cxx @@ -30,6 +30,12 @@ const char *Fl_PostScript_File_Device::file_chooser_title = "Select a .ps file"; /** + * @cond DriverDev + * @addtogroup DriverDeveloper + * @{ + */ + +/** @brief The constructor. */ Fl_PostScript_Graphics_Driver::Fl_PostScript_Graphics_Driver(void) @@ -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) |
