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?
I'm not an FLTK2 guy, but I think FLTK2 did away with integers
to represent fonts, and is using a more flexible data type "Font".
If you were using fl_font() in FLTK1 and then switched to FLTK2,
I'm guessing you had to switch from calling fl_font() to some other
method, and the FLTK2 docs for that method should show what the new
argument list is.
Which method are you now calling, and do the docs for that method
say it should be an integer?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk