Author: manolo
Date: 2010-11-26 02:22:40 -0800 (Fri, 26 Nov 2010)
New Revision: 7894
Log:
Removed Doxygen warning from file src/Fl_Printer.cxx
Modified:
branches/branch-1.3/FL/Fl_Printer.H
branches/branch-1.3/src/Fl_Printer.cxx
branches/branch-1.3/src/Fl_Quartz_Printer.mm
Modified: branches/branch-1.3/FL/Fl_Printer.H
===================================================================
--- branches/branch-1.3/FL/Fl_Printer.H 2010-11-25 18:52:37 UTC (rev 7893)
+++ branches/branch-1.3/FL/Fl_Printer.H 2010-11-26 10:22:40 UTC (rev 7894)
@@ -53,7 +53,7 @@
private:
/** \brief the printer's graphics context, if there's one, NULL otherwise */
void *gc;
- void set_current();
+ void set_current(void);
#ifdef __APPLE__
float scale_x;
float scale_y;
@@ -116,7 +116,6 @@
#endif // FL_DOXYGEN
}; // class Fl_System_Printer
-/** \brief OS-independant class name */
typedef Fl_System_Printer Fl_Printer;
#endif
@@ -129,8 +128,6 @@
Fl_Printer is typedef'ed to Fl_PostScript_Printer under Unix/Linux.
*/
class Fl_PostScript_Printer : public Fl_PostScript_File_Device {
-private:
- void set_current();
public:
static const char *device_type;
int start_job(int pages, int *firstpage = NULL, int *lastpage = NULL);
@@ -158,7 +155,6 @@
#endif // FL_DOXYGEN
};
-/** \brief OS-independant class name */
typedef Fl_PostScript_Printer Fl_Printer;
#endif
Modified: branches/branch-1.3/src/Fl_Printer.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Printer.cxx 2010-11-25 18:52:37 UTC (rev
7893)
+++ branches/branch-1.3/src/Fl_Printer.cxx 2010-11-26 10:22:40 UTC (rev
7894)
@@ -78,7 +78,8 @@
const char *Fl_Printer::device_type = "Fl_Printer";
-void Fl_Printer::set_current()
+#if defined(__APPLE__) || defined(WIN32)
+void Fl_System_Printer::set_current(void)
{
#ifdef __APPLE__
fl_gc = (CGContextRef)gc;
@@ -87,6 +88,7 @@
#endif
this->Fl_Surface_Device::set_current();
}
+#endif
//
// End of "$Id$".
Modified: branches/branch-1.3/src/Fl_Quartz_Printer.mm
===================================================================
--- branches/branch-1.3/src/Fl_Quartz_Printer.mm 2010-11-25 18:52:37 UTC
(rev 7893)
+++ branches/branch-1.3/src/Fl_Quartz_Printer.mm 2010-11-26 10:22:40 UTC
(rev 7894)
@@ -41,6 +41,7 @@
y_offset = 0;
scale_x = scale_y = 1.;
type_ = device_type;
+ gc = 0;
driver(fl_graphics_driver);
}
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit