> > Anyway... I've started on this now. I've made a new "type" > specifically > > for font indexes, the plan being that if we decide to > change the size > > I hope this type is only internal implementation of private member so > there are no cryptic type names in public api. Please keep > public api as > "int" or similar standard type.
The public API should be using Fl_Font everywhere - which is an enum, so the actual underlying type in the public API is opaque (although in practice it seems to be a 4-byte unsigned value on the platforms I checked.) Internally, font indexes were "uchar" which is a local typedef unsigned char (obviously) but that was not publicly visible. My new type will similarly be "internal only". -- Ian SELEX Sensors and Airborne Systems Limited 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-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
