> In retrospect, I wonder if your code might be integrated into 
> Fl_Preferences. The Root enum currently has two values:
> 
> enum Root { SYSTEM=0, USER };
> 
> But if another one was added:
> 
> enum Root { SYSTEM=0, USER, APPLICATION };
> 
> then the class could make a Root node using the application 
> directory instead. I don't know about others, but I am always 
> weary of making modifications to the Windows registry using 
> SYSTEM, and prefer to keep data and preferences local to the 
> application itself... As I have discovered to my cost, using 
> the "." to get the current directory does not always work. 
> Just an idea.


Sounds like a fair idea to me - but I don't know how feasible it is.
Fl_Pref's is Matthias' baby, so maybe he could express a view on the
goodness or otherwise of this idea?

Also, for what it is worth, if we do add this function, I'd prefer it
was not hidden inside Fl_Pref's but was in the fl_functions or similar,
so that it might be generally available (since I use it a lot anyway!)

-- 
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 mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to