diff options
| author | Manolo Gouy <Manolo> | 2016-09-12 12:02:38 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-09-12 12:02:38 +0000 |
| commit | b43a5cf1fe6cfa49d11841e180352f777f95d2a2 (patch) | |
| tree | 24d63a66836b7eb0b769676aec1e00c3a131a5d2 /FL/Fl_Graphics_Driver.H | |
| parent | 0af00dd0ac8986ca929997452ce932226dd0f808 (diff) | |
Create virtual void Fl_Graphics_Driver::draw(Fl_Shared_Image*,...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Graphics_Driver.H')
| -rw-r--r-- | FL/Fl_Graphics_Driver.H | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index 0a7282eee..57c8d2404 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -32,6 +32,7 @@ #include <stdlib.h> class Fl_Graphics_Driver; +class Fl_Shared_Image; /** a platform-specific class implementing a system font */ class Fl_Font_Descriptor #ifdef FL_DOXYGEN @@ -300,6 +301,7 @@ public: the image offset by the cx and cy arguments. */ virtual void draw(Fl_Bitmap *bm, int XP, int YP, int WP, int HP, int cx, int cy) {} + virtual void draw(Fl_Shared_Image *img, int x, int y); virtual int draw_scaled(Fl_Image *img, int X, int Y, int W, int H); virtual void copy_offscreen(int x, int y, int w, int h, Fl_Offscreen pixmap, int srcx, int srcy); |
