On 03.06.2010, at 20:50, newgen wrote:

> my code looks like following with fltk1.1:
> 
> fl_font(1, 8);
> 
> now I switched to fltk2.0 and get the error:
> 
> invalid conversion from ‘int’ to ‘fltk::Font*’
> 
> why? did the syntax of the gl_font command change? where is this documented?

Fl_Font is an integer, fltk::Font however is a pointer to an opaque class. You 
can still use the predefined fonts (fltk::HELVETICA?), but not integers.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to