diff options
| author | Manolo Gouy <Manolo> | 2016-03-06 18:53:10 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-06 18:53:10 +0000 |
| commit | 09cc0a9aab8190af9b07237e10b570f441fa8a9a (patch) | |
| tree | 746d45ab843ef1992bae94293fe73c9c8a168cc6 /src/drivers/SDL/Fl_SDL_Copy_Surface.H | |
| parent | 5c1e50b128f7c6b3c6bfee74a9d625cbbd103277 (diff) | |
Build with SDL driver needs to know also the Fl_Image_Surface class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/SDL/Fl_SDL_Copy_Surface.H')
| -rw-r--r-- | src/drivers/SDL/Fl_SDL_Copy_Surface.H | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/drivers/SDL/Fl_SDL_Copy_Surface.H b/src/drivers/SDL/Fl_SDL_Copy_Surface.H index 8b1378917..9b3742023 100644 --- a/src/drivers/SDL/Fl_SDL_Copy_Surface.H +++ b/src/drivers/SDL/Fl_SDL_Copy_Surface.H @@ -1 +1,15 @@ +class Fl_Copy_Surface::Helper : public Fl_Widget_Surface { // class model + friend class Fl_Copy_Surface; +private: + int width; + int height; + Helper(int w, int h) : Fl_Widget_Surface(NULL), width(w), height(h) {} // to implement + ~Helper() {} // to implement + void set_current(){} // to implement + void translate(int x, int y) {} // to implement + void untranslate() {} // to implement + int w() {return width;} + int h() {return height;} + int printable_rect(int *w, int *h) {*w = width; *h = height; return 0;} +}; |
