summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-02-01 10:13:54 +0000
committerManolo Gouy <Manolo>2011-02-01 10:13:54 +0000
commit45e539fff80a5b0040d517f01d82b7aa6cdb7d31 (patch)
tree4d02950654586736bf5d0c38c9272aa2d4261a89 /FL
parent2192b8aed24833a5282c53be6f1df2b5861d0b31 (diff)
fl_draw_image() on Mac OS and to a printer requires the image data to be kept until the
page is finished. Thus, we now duplicate this data when the output is a printer, so the caller of the function does not have to take into account this Mac OS specificity. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8349 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Paged_Device.H12
1 files changed, 0 insertions, 12 deletions
diff --git a/FL/Fl_Paged_Device.H b/FL/Fl_Paged_Device.H
index 592ef82be..2782f6566 100644
--- a/FL/Fl_Paged_Device.H
+++ b/FL/Fl_Paged_Device.H
@@ -107,13 +107,6 @@ public:
/** \brief width, height and name of all elements of the enum \ref Page_Format.
*/
static const page_format page_formats[NO_PAGE_FORMATS];
-
-#ifdef __APPLE__
- struct chain_elt {
- const uchar *data;
- struct chain_elt *next;
- };
-#endif
private:
void traverse(Fl_Widget *widget); // finds subwindows of widget and prints them
protected:
@@ -121,11 +114,6 @@ protected:
int x_offset;
/** \brief vertical offset to the origin of graphics coordinates */
int y_offset;
-#ifdef __APPLE__
- struct chain_elt *image_list_; // chained list of images used in this page
- 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);};
/** \brief The destructor */