FLTK logo

STR #305

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

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:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#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 ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.