On Mar 28, 2010, at 1:09 AM, Robin Rowe wrote:

>> Not a FLTK call, but someone (Ian?) posted such code for all platforms
>> some time ago.
> 
> This is a common need and trivial to code. Why not make it an FLTK class? 
> Something like this...

While this is indeed a common need by some, it is not GUI-related and 
therefore, it would be best coded as a separate library or as part of another 
open source library.

> 
> class Fl_OS
> {public:
>  const char* Platform(); // Windows|Mac OS X|Linux|Other
>  const int Bits(); // 32|64
>  onnst char* Cpu(); // Intel|PPC
>  const int Cores(); // 1|2|4|8
>  const bool BigEndian(); // T|F
> };


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

Reply via email to