This appears to have been fixed in 1.3:

class FL_EXPORT Fl_Browser_ : public Fl_Group {
  [..]
  Fl_Font textfont_;
  Fl_Fontsize textsize_;        <--
  Fl_Color textcolor_;
  [..]

Dave Freese wrote:
> class Fl_Browser_ {...}
> defines the browser textfont_ as uchar
> 
> This results in incorrect font display when the font number is >255
> 
> uchar textfont_, textsize;
> 
> should be changed to
> 
> Fl_Font textfont_;
> uchar textsize;
> 
> and
> 
>   void textfont(uchar s) {textfont_ = s;}
> 
> should be
> 
>   void textfont(Fl_Font s) {textfont_ = s;}
> 
> The overloaded textfont method
> 
>   Fl_Font textfont() const {return (Fl_Font)textfont_;}
> 
> is correct.
> 
> Thank you,
> 
> Dave Freese
> http://www.w1hkj.com, [email protected]
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to