diff options
| author | Manolo Gouy <Manolo> | 2011-01-31 13:02:55 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-01-31 13:02:55 +0000 |
| commit | 1993f08a33c95167b7a90579ffb178c6af625086 (patch) | |
| tree | 8ec047c804cffff019350e75d9a68cffa7b52b8d /FL/Fl_Paged_Device.H | |
| parent | 2c5006563f893723f0f224d7b3115e5fd03272ca (diff) | |
Added Fl_Printer::add_image(const ichar*) needed for correct memory usage by
Fl_Paged_Device::print_window_part().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8341 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Paged_Device.H')
| -rw-r--r-- | FL/Fl_Paged_Device.H | 11 |
1 files changed, 4 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);}; |
