John Banek wrote:
> An Fl_Output widget created with no box may not always clear the output field 
> when new text is outputted. The placement in the main window may make a 
> difference. I have 2 screen layouts for essentially the same app. On one the 
> field is properly drawn. On the other any new text written draws on top of 
> the existing text.
> 
> Specifying a box top for the widget corrects this. Changing the main window 
> size will redraw the text properly. High-Lighting the text will redraw it 
> properly.
> 
> My guess is if no box type is specified the screen area for the output field 
> is not cleared before the output text is written. High-lighting the text or 
> moving the main window will redraw the background and erases the old pixel 
> data.
> 
> FLTK  1.1.7
> Win XP Pro SP2 & SP3
> Visual Studio C++ 2005

This is as intended and documented:

"FL_NO_BOX means nothing is drawn at all, so whatever is already on the screen 
remains."

http://www.fltk.org/doc-1.1/common.html#boxtypes

Albrecht
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to