diff options
| author | Manolo Gouy <Manolo> | 2016-02-26 12:51:47 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-02-26 12:51:47 +0000 |
| commit | 682f95079691dd9c9b0677cb66e727397f910e0d (patch) | |
| tree | 9be00996ebe41d8d87fb1965ceff4f6f69b41310 /FL/Fl_Printer.H | |
| parent | e1f5f5f7ec75ed203fb14571e6bcbf6b0bd30771 (diff) | |
Create class Fl_Widget_Surface that supports draw(Fl_Widget *, int, int).
This simplifies the implementation of Fl_Copy_Surface and Fl_Image_Surface
which now are made to derive from Fl_Widget_Surface.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11220 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Printer.H')
| -rw-r--r-- | FL/Fl_Printer.H | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Printer.H b/FL/Fl_Printer.H index 918f20ed0..052a102bf 100644 --- a/FL/Fl_Printer.H +++ b/FL/Fl_Printer.H @@ -84,6 +84,7 @@ public: int end_page (void); void end_job (void); #ifdef __APPLE__ // PORTME: Fl_Surface_Driver ? - platform printer driver + void draw_decorated_window(Fl_Window *win, int x_offset, int y_offset); void print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x, int delta_y); #endif /** \brief The destructor */ @@ -196,6 +197,7 @@ public: void end_job (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); + void draw_decorated_window(Fl_Window *win, int x_offset, int y_offset); void set_current(void); Fl_Graphics_Driver* driver(void); |
