diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2018-03-10 00:46:12 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2018-03-10 00:46:12 +0000 |
| commit | c0cbf0fbde0ac33d3743a6d50bf0fa9f6664a008 (patch) | |
| tree | 8fb9b3e1db8bfef8052deb549af986023fc86915 /FL/fl_draw.H | |
| parent | dc2fb581b76ea84ebd70a7ced1291dd26b40fc71 (diff) | |
Android: crude graphics clipping
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/fl_draw.H')
| -rw-r--r-- | FL/fl_draw.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/fl_draw.H b/FL/fl_draw.H index 46a60fb14..c7f3dd8bb 100644 --- a/FL/fl_draw.H +++ b/FL/fl_draw.H @@ -122,7 +122,7 @@ inline int fl_not_clipped(int x, int y, int w, int h) {return fl_graphics_driver \param[out] X,Y,W,H position and size of resulting bounding box. \returns Non-zero if the resulting rectangle is different to the original. */ -inline int fl_clip_box(int x , int y, int w, int h, int& X, int& Y, int& W, int& H) +inline int fl_clip_box(int x, int y, int w, int h, int& X, int& Y, int& W, int& H) {return fl_graphics_driver->clip_box(x,y,w,h,X,Y,W,H); } /** Undoes any clobbering of clip done by your program */ inline void fl_restore_clip() { fl_graphics_driver->restore_clip(); } |
