Alex wrote:

> Hi,
> 
> There seems to be a lacking case consistency among FLTK's headers. Some
> files start with `Fl', some 'fl', most end in `H', some do not. Sure it
> may not matter on Win32, but when you port to unix based systems, the code
> will fail to compile if users are careless in which case they use. And it
> makes it very hard to be correct when you have to look up the correct file
> name before you include it. It would be nice if they had some consistency.
> 
> Personally I would prefer all lowercase filename, no caps at all. But
> that's me.
> 
> I don't know if this has been addressed in V.2, since I'm only using
> 1.1.7, but I find it slightly annoying.

I'm only guessing, but what I have assumed is that the naming scheme is:

   Fl_ denotes classes
   fl_ denotes functions
   
As for the .H, I'm not sure what the convention for using .H or .h in the
FL/ directory. However, in Linux, the installation of the library creates
the corresponding .h symlinks along with a Fl/ directory symlink.

-- 
Alvin
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to