| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #305
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 4 - High, e.g. key functionality not working |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Core Library |
Summary: | Fl_Scroll erase part of background even when box is FL_NO_BOX |
Version: | 1.1.4rc2 |
Created By: | ariock.bluebottle |
Assigned To: | mike |
Fix Version: | 1.1.5rc1 |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | ariock.bluebottle 01:27 Mar 03, 2004 |
| Now while subclassing FL_Scroll it was imposible for me to draw afther the last widget of the scrolling area nor afther the max(width) of all the children of the scroll, the reason was some missing check in Fl_Scroll::draw_clip()
void Fl_Scroll::draw_clip(void* v,int X, int Y, int W, int H) { ...
// fill any area to right & bottom of widgets: //**************** this was added if(s->box()) { //**************** if(R < X+W && B > Y) { fl_color(s->color()); fl_rectf(R,Y,X+W-R,B-Y); } if (B < Y+H) { fl_color(s->color()); fl_rectf(X,B,W,Y+H-B); } //***************** } //***************** fl_pop_clip(); } | |
|
#2 | mike 19:44 Mar 10, 2004 |
| Thanks, applied to CVS for 1.1.5. | |
[ Return to Bugs & Features ]
|
| |