> > ...  renam[ing] of everything from Fl_/fl_foo to fltk::foo
> > seems like a waste of effort.
> 
> I used to hold a similar opinion: That "using namespace foo;" was yet 
> another needless C++ feature/hack that only reflected a lack 
> of naming 
> imagination on the part of the author, but I'm beginning to 
> change my mind.
> 
> I don't think Bill's idea is to rename "Fl_Foo" to 
> "fltk::Foo", but to 
> use the pristine form: "Foo".


For what it's worth (and coming at this from entirely the wrong
direction) when I did my UTF8 hack of 1.1.8, I imported the utf8
functions from fltk2, but renamed them into the fltk-1 style, so that
"utf8froma" became "fl_utf8froma" etc.

(Parameter wise they are identical, so a bunch of #defines or similar
could make them fully interchangeable.)

As Jim says, I don't think the intent is to make them like
fltk::utf8froma(...) as that's not what fltk-2 currently does anyway.



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

Reply via email to