mirror of
https://github.com/fltk/fltk.git
synced 2026-05-26 18:17:03 +08:00
Removed Doxygen warning from file src/Fl_Printer.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7894 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+1
-5
@@ -53,7 +53,7 @@ class Fl_System_Printer : public Fl_Paged_Device {
|
||||
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 @@ public:
|
||||
#endif // FL_DOXYGEN
|
||||
}; // class Fl_System_Printer
|
||||
|
||||
/** \brief OS-independant class name */
|
||||
typedef Fl_System_Printer Fl_Printer;
|
||||
#endif
|
||||
|
||||
@@ -129,8 +128,6 @@ typedef Fl_System_Printer Fl_Printer;
|
||||
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 @@ public:
|
||||
#endif // FL_DOXYGEN
|
||||
};
|
||||
|
||||
/** \brief OS-independant class name */
|
||||
typedef Fl_PostScript_Printer Fl_Printer;
|
||||
#endif
|
||||
|
||||
|
||||
+3
-1
@@ -78,7 +78,8 @@ const char *Fl_Printer::property_cancel = "Cancel";
|
||||
|
||||
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 @@ void Fl_Printer::set_current()
|
||||
#endif
|
||||
this->Fl_Surface_Device::set_current();
|
||||
}
|
||||
#endif
|
||||
|
||||
//
|
||||
// End of "$Id$".
|
||||
|
||||
@@ -41,6 +41,7 @@ Fl_System_Printer::Fl_System_Printer(void)
|
||||
y_offset = 0;
|
||||
scale_x = scale_y = 1.;
|
||||
type_ = device_type;
|
||||
gc = 0;
|
||||
driver(fl_graphics_driver);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user