> 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?
The API if fltk2 is substantially different from that used in fltk-1.1. Indeed, the whole raison d'etre for fltk2 was to introduce new API conventions... If you need a fltk-1.1 compatible API, you need to use fltk-1.3, or stick with fltk-1.1. SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

