diff options
| author | Manolo Gouy <Manolo> | 2014-02-22 14:51:50 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2014-02-22 14:51:50 +0000 |
| commit | 56ac442c9307a81a1a67dab4ebf3e8a964b02ddd (patch) | |
| tree | 7a83fd5af4d2907760a632bf4391bc5d3e9c5766 /FL | |
| parent | 291a25f54717a09f474a23932263cbe5cc710664 (diff) | |
Better separate printer-specific code using virtual Fl_GDI_Printer_Graphics_Driver::draw(Fl_Bitmap*...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10110 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Bitmap.H | 4 | ||||
| -rw-r--r-- | FL/Fl_Device.H | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/FL/Fl_Bitmap.H b/FL/Fl_Bitmap.H index 196ad9fe4..a5a9b4590 100644 --- a/FL/Fl_Bitmap.H +++ b/FL/Fl_Bitmap.H @@ -33,6 +33,7 @@ struct Fl_Menu_Item; class FL_EXPORT Fl_Bitmap : public Fl_Image { friend class Fl_Quartz_Graphics_Driver; friend class Fl_GDI_Graphics_Driver; + friend class Fl_GDI_Printer_Graphics_Driver; friend class Fl_Xlib_Graphics_Driver; public: @@ -42,7 +43,8 @@ public: int alloc_array; private: - + int start(int XP, int YP, int WP, int HP, int &cx, int &cy, + int &X, int &Y, int &W, int &H); #if defined(__APPLE__) || defined(WIN32) /** for internal use */ void *id_; diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index 217fd468e..460fb278e 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -482,6 +482,7 @@ public: static const char *class_id; const char *class_name() {return class_id;}; void draw(Fl_Pixmap *pxm, int XP, int YP, int WP, int HP, int cx, int cy); + void draw(Fl_Bitmap *bm, int XP, int YP, int WP, int HP, int cx, int cy); }; #endif #if !(defined(__APPLE__) || defined(WIN32)) |
