DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2709
Version: 1.3.0


Gents,

We should change the title of this report... It is not x64 or WIN7
specific, it's more like a general bug in fltk-1.3 on WinXX hosts...

Anyway, what I find is that, at r8630 someone (looks like Albrecht)
checked in a mod to fl_round_box.cxx that added a call to:

  fl_line_style(0,1);

at line 46 then:

  fl_line_style(0);

at line 73.

With those lines commented out, the buttons demo then seems to work fine,
without the rendering bug.

So, I speculate that forcing the line style back to the default at line 73
may be the issue?
e.g. if it was not already the default value in the main button drawing
code when the round_box got drawn...

(Fl_Round_Button derives from Fl_Light_Button so the code is maybe doing
something with line styles before the round down box for the button gets
drawn? I can't tell...!)

How do we read the current demanded line_style so that we can reset it to
that, rather than just back to default?

Albrecht, can you recall what r8630 was about?

Also, slightly related, the doxygen header in Fl_Round_Button.H says that
the deafult selection_color for a Fl_Round_Button is FL_RED but in fact
the code sets it to FL_FOREGROUND_COLOR ...


Link: http://www.fltk.org/str.php?L2709
Version: 1.3.0

_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to