| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #114
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 4 - High, e.g. key functionality not working |
Scope: | 2 - Specific to an operating system |
Subsystem: | MacOS |
Summary: | OSX does not clip images |
Version: | 1.1.4rc1 |
Created By: | mgrinberg.yahoo |
Assigned To: | mike |
Fix Version: | 1.1.4rc2 |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | mgrinberg.yahoo 20:22 Jul 25, 2003 |
| This problem occurs when a widget with an image label is inside a scroll and its top part is not visible because of the scrolling position. On Windows only the bottom part of the image is drawn as expected but on OSX no clipping is applied and the whole image is drawn regardless of the scroll position. Below are the diffs for Fl_Image.cxx that fix this bug:
335,338c335,338 < src.left = 0; src.right = w(); < src.top = 0; src.bottom = h(); < dst.left = X; dst.right = X+w(); < dst.top = Y; dst.bottom = Y+h(); --- > src.left = cx; src.right = cx+W; > src.top = cy; src.bottom = cy+H; > dst.left = X; dst.right = X+W; > dst.top = Y; dst.bottom = Y+H;
| |
|
#2 | mike 19:01 Jul 28, 2003 |
| Commited to CVS for 1.1.4rc2; thanks! | |
[ Return to Bugs & Features ]
|
| |