Re: [fltk.development] fluid - Adding win32 icon

2013-03-25 Thread David FLEURY
Le 24/03/2013 22:41, Ian MacArthur a écrit : On 24 Mar 2013, at 17:59, David FLEURY wrote: Hi, I am using fluid under win32, and I miss an icon for this application. I have done this patch to add an icon (only vs2010) May be there are others win32 users of fluid Regards, David This is

Re: [fltk.development] FLTK '@' symbols question

2013-03-25 Thread Greg Ercolano
Question: I want to verify that '@' symbols in labels (eg. @-) are only allowed at either *the very beginning* or *very end* of a string, or at both ends, and nothing else (ie. not in the middle of a string, or mixed into multiple lines). Another interesting thing

Re: [fltk.development] FLTK '@' symbols question

2013-03-25 Thread MacArthur, Ian (Selex ES, UK)
I'm working on fixing STR #2772 (removing extraneous code in fl_measure()) and need to understand in detail how we support '@' symbols in FLTK. Eek! That seems brave! (To me, at least!) Selex ES Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A

Re: [fltk.development] fluid - Adding win32 icon

2013-03-25 Thread MacArthur, Ian (Selex ES, UK)
- I know it is normal for MS stuff to call the resource file just resource.h, but it seems suspect to me; we should call it something that makes it clearer what it is, even fluid_resource.h would be better, IMHO. Also, there's cruft in there we do not need for the simple case of adding an

Re: [fltk.development] fluid - Adding win32 icon

2013-03-25 Thread MacArthur, Ian (Selex ES, UK)
Clearly, yes. I have not succeed to include the png provided into th resource. I am on it, But don't have good resource editor. Is there not one built in to the VS tools? Last time I looked (which may have been VC6!) ISTR there was... Or maybe that's false memory syndrome? In any

Re: [fltk.development] filename.h - struct dirent

2013-03-25 Thread Michael Baeuerle
David FLEURY wrote: Le 24/03/2013 13:16, Michael Baeuerle a écrit : David FLEURY wrote: Is your system with native 'struct dirent' a real Windows or do it masquerade as Windows? No, it's a masquerade to emulate it. On my side, I have unactivate one (the one from ACE framework). If

Re: [fltk.development] FLTK '@' symbols question

2013-03-25 Thread Roman Kantor
Somewhat related, it would be nice if fl_add_symbol() would accept not only drawing functions but also images, even without additional scaling and rotations. In the symbol table there is an int flag field (at the moment this flag is used only with values 0/1 to indicate scalable and

Re: [fltk.development] FLTK '@' symbols question [fl_add_symbol() RFE]

2013-03-25 Thread Greg Ercolano
[Changing the subject a bit to avoid a thread jack] On 03/25/13 09:25, Roman Kantor wrote: Somewhat related, it would be nice if fl_add_symbol() would accept not only drawing functions but also images, even without additional scaling and rotations. In the symbol table there is an int flag

Re: [fltk.development] fluid - Adding win32 icon

2013-03-25 Thread David FLEURY
Another point, is Visual Studio 2012 project files are welcome ? I have migrate (by duplicating) the existing one to VS 2012. If anyone is interested. Can VS12 cope with the existing project files? If so, we'd rather distribute (and maintain) the smallest set of project files that actually

[fltk.development] RFC: Adding when() support in Fl_Tabs

2013-03-25 Thread Greg Ercolano
To solve STR#2939 Fl_Tabs not honoring when(FL_WHEN_NOT_CHANGED) noticed that Fl_Tabs doesn't really make use of when() at all. It seems to me tabs are very much like radio buttons, so it seems it would make sense to model Fl_Tabs handling of when() after radio button's. With radio buttons, the

Re: [fltk.development] RFC: Adding when() support in Fl_Tabs

2013-03-25 Thread Greg Ercolano
On 03/25/13 19:37, Greg Ercolano wrote: With radio buttons, the behavior is: 0) FL_WHEN_NEVER -- callback never invoked 1) FL_WHEN_CHANGED -- invokes callback when click changes a button's state (no callback if no change) 2)