Author: manolo
Date: 2010-03-23 10:03:40 -0700 (Tue, 23 Mar 2010)
New Revision: 7319
Log:
Going around Doxygen bug that made class Fl_PSfile_Device documented as a struct

Modified:
   branches/branch-1.3/FL/Fl_PSfile_Device.H
   branches/branch-1.3/src/Fl_PS_Printer.cxx

Modified: branches/branch-1.3/FL/Fl_PSfile_Device.H
===================================================================
--- branches/branch-1.3/FL/Fl_PSfile_Device.H   2010-03-22 18:51:56 UTC (rev 
7318)
+++ branches/branch-1.3/FL/Fl_PSfile_Device.H   2010-03-23 17:03:40 UTC (rev 
7319)
@@ -1,5 +1,5 @@
 //
-// "$Id:$"
+// "$Id$"
 //
 // Support for graphics output to PostScript file for the Fast Light Tool Kit 
(FLTK).
 //
@@ -41,10 +41,10 @@
 class FL_EXPORT Fl_PSfile_Device : public  Fl_Abstract_Printer {
   public: 
     /**
-     @brief Possible page formats.
+     \brief Possible page formats.
      */
-    enum Page_Format{
-      A0 = 0, 
+    enum Page_Format {
+      A0 = 0,
       A1,
       A2,
       A3,
@@ -78,7 +78,7 @@
     };
     
     /**
-     @brief Possible page layouts.
+     \brief Possible page layouts.
      */
     enum Page_Layout {PORTRAIT = 0, LANDSCAPE = 0x100, REVERSED = 0x200, 
ORIENTATION = 0x300};
     
@@ -128,17 +128,16 @@
     float angle;
     int left_margin;
     int top_margin;
-    
   protected:
-    struct page_format {
+    typedef struct page_format {
       int width;
       int height;
       const char *name;
-    };
-    
+    } page_format;
+   
     FILE *output;
     double pw_, ph_;
-    static const struct page_format page_formats[NO_PAGE_FORMATS];
+    static const page_format page_formats[NO_PAGE_FORMATS];
     
     uchar bg_r, bg_g, bg_b;
     int start_postscript (int pagecount, enum Page_Format format, enum 
Page_Layout layout);
@@ -290,5 +289,5 @@
 #endif // Fl_PSfile_Device_H
 
 //
-// End of "$Id:$"
+// End of "$Id$"
 //


Property changes on: branches/branch-1.3/FL/Fl_PSfile_Device.H
___________________________________________________________________
Name: svn:keywords
   + author date id revision
Name: svn:eol-style
   + native

Modified: branches/branch-1.3/src/Fl_PS_Printer.cxx
===================================================================
--- branches/branch-1.3/src/Fl_PS_Printer.cxx   2010-03-22 18:51:56 UTC (rev 
7318)
+++ branches/branch-1.3/src/Fl_PS_Printer.cxx   2010-03-23 17:03:40 UTC (rev 
7319)
@@ -38,7 +38,7 @@
   #include "print_panel.cxx"
 #endif
 
-const struct Fl_PSfile_Device::page_format 
Fl_PSfile_Device::page_formats[NO_PAGE_FORMATS] = { // order of enum Page_Format
+const Fl_PSfile_Device::page_format 
Fl_PSfile_Device::page_formats[NO_PAGE_FORMATS] = { // order of enum Page_Format
 // comes from appendix B of 5003.PPD_Spec_v4.3.pdf
 
   // A* // index(Ai) = i

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to