> I just discovered that if you set an Fl_Output box style to NO_BOX, when > you change the text it just places it over the old text without erasing > the old first. This is with a fresh svn update of fltk 1.3 I can set > it to FLAT_BOX and it works fine. > Is this behaviour known and normal?
Yes; that is the intended behaviour. the "NO_BOX" state means that the widget has, well, no box... so no background or frame gets drawn for it at all when it is updated. So, this usually leads to the effect you describe. In general, there are only a few specific places where setting "NO_BOX" makes sense, it is not really the sort of thing you'd want for every day! FLAT_BOX is more likely to be the thing you want. Note also that the "FRAME" styles draw the widget frame, but NOT the widget box background, so they will also often exhibit the same "overlaid text" effect - again, they are intended for specific cases where that behaviour is intended e.g. putting a frame about a content that may be rendered from elsewhere, so we do not want to refresh the background on every update, that sort of thing... -- Ian SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

