mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 15:32:12 +08:00
Introduction of the Fl_Printer class requires all member functions of class
Fl_Paged_Device to be virtual. That is done here. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -123,7 +123,7 @@ protected:
|
||||
int y_offset;
|
||||
#ifdef __APPLE__
|
||||
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 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 */
|
||||
@@ -137,13 +137,13 @@ public:
|
||||
virtual int printable_rect(int *w, int *h);
|
||||
virtual void margins(int *left, int *top, int *right, int *bottom);
|
||||
virtual void origin(int x, int y);
|
||||
void origin(int *x, int *y);
|
||||
virtual void origin(int *x, int *y);
|
||||
virtual void scale(float scale_x, float scale_y);
|
||||
virtual void rotate(float angle);
|
||||
virtual void translate(int x, int y);
|
||||
virtual void untranslate(void);
|
||||
void print_widget(Fl_Widget* widget, int delta_x = 0, int delta_y = 0);
|
||||
void print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x = 0, int delta_y = 0);
|
||||
virtual void print_widget(Fl_Widget* widget, int delta_x = 0, int delta_y = 0);
|
||||
virtual void print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x = 0, int delta_y = 0);
|
||||
virtual int end_page (void);
|
||||
virtual void end_job (void);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user