On 21.06.2011, at 15:10, Edzard Egberts wrote: > MacArthur, Ian (SELEX GALILEO, UK) schrieb: >> >>> where the problem comes from - should't linestyle get lost by >>> setting of >>> colour? To me it seems, first rect starts with wrong linestyle, but >>> where does it come from? And why is it wiped out only on >>> bottom and left side? >> >> Is it possible that it is the same for all four sides, but the effect is >> only visible on 2 sides because of tiling of adjacent widgets or >> something? > > No, it regards to single boxes made by FLUID. And just changing type to > FL_BORDER_FRAME shows boxes in expected way. > >> Maybe there is an off-by-one in setting the origin or box size or >> something...? > > Inserting fl_line_style() shouldn't patch this kind of problem, don't > you think so? And using Linux doesn't show this problem at all - it's > same source synced.
First of all, is this 1.1.3 or 1.3.0 ? 1.1.3 is really old, but I think we said that before ;-) Secondly, did you set the line style anywhere els in you app? FLTK does not reset the line style anywhere before drawing widgets or boxes. You must reset the linestyle to the default (0, IIRC), before you draw() method returns, or the line style will continue throughout the user interface. Which version of MSWindows is this? Maybe there is some bad antialiasing going on? - Matthias _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

