diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Paged_Device.H | 11 | ||||
| -rw-r--r-- | FL/Fl_Printer.H | 3 |
2 files changed, 7 insertions, 7 deletions
diff --git a/FL/Fl_Paged_Device.H b/FL/Fl_Paged_Device.H index 99ac9e332..05db7fda5 100644 --- a/FL/Fl_Paged_Device.H +++ b/FL/Fl_Paged_Device.H @@ -108,26 +108,23 @@ public: */ static const page_format page_formats[NO_PAGE_FORMATS]; -private: #ifdef __APPLE__ struct chain_elt { - Fl_Image *image; const uchar *data; struct chain_elt *next; }; - void add_image(Fl_Image *image, const uchar *data); // adds an image to the page image list #endif +private: void traverse(Fl_Widget *widget); // finds subwindows of widget and prints them protected: /** \brief horizontal offset to the origin of graphics coordinates */ int x_offset; /** \brief vertical offset to the origin of graphics coordinates */ int y_offset; - /** \brief chained list of Fl_Image's used in this page */ - struct chain_elt *image_list_; #ifdef __APPLE__ - /** \brief deletes the page image list */ - void delete_image_list(); + struct chain_elt *image_list_; // chained list of images used in this page + virtual void add_image(const uchar *data); // adds an image to the page image list + void delete_image_list(); // deletes the page image list #endif /** \brief The constructor */ Fl_Paged_Device() : Fl_Surface_Device(NULL) {class_name( class_id);}; diff --git a/FL/Fl_Printer.H b/FL/Fl_Printer.H index 66ae5e677..092bec18f 100644 --- a/FL/Fl_Printer.H +++ b/FL/Fl_Printer.H @@ -164,6 +164,9 @@ public: void untranslate(void); int end_page (void); void end_job (void); +#ifdef __APPLE__ + void add_image(const uchar *data); +#endif /** \brief The destructor */ ~Fl_Printer(void); |
