Re: [fltk.general] fltk2.0.x-alpha-r9296 missing

2013-03-25 Thread MacArthur, Ian (Selex ES, UK)
The 2.0.x branch is missing from the download area and the trunk does not compile out of the box. Note that these two observations may not be un-related... fltk-2 is, as you know, deprecated, and no one is available to maintain nor fix it, so we can't really go on distributing it, until it

[fltk.general] Fl_Tabs: How to find the tab that is clicked upon

2013-03-25 Thread testalucida
Hi, imagine a Fl_Tabs instance with only one card. Clicking on its tab will not result in a callback action. Catching the FL_PUSH event provides the position of the mouse-click but I don't know the click occuring within the tab or somewhere right of it. Is there a way how to get the tab giving

Re: [fltk.general] Fl_Tabs: How to find the tab that is clicked upon

2013-03-25 Thread testalucida
Hi Ian, excuse me bothering you... it's much easier than I thougt: I just overlooked the which( x, y ) method which exactly fits my needs. Thanks for answering. imagine a Fl_Tabs instance with only one card. Clicking on its tab will not result in a callback action. Catching the FL_PUSH

Re: [fltk.general] Fl_Tabs: How to find the tab that is clicked upon

2013-03-25 Thread MacArthur, Ian (Selex ES, UK)
On 03/25/13 05:16, testalucida wrote: _ /x\ o I'm interested in click x but not in click o. What Ian said, and I'd offer that setting when(FL_WHEN_NOT_CHANGED) /should/ work for your case, but does not. Yes; I tried that too, to no avail... However, I now think we

[fltk.general] Widget ordering in group

2013-03-25 Thread humpty
I have a window with full of widgets made with fluid. Some of them are text fields to be user filled in order. When I hit the tab key to change widget focus, the ordering is haphazard. Do widgets in groups have a tab-key ordering ? How do you change the order? Can you change the ordering

Re: [fltk.general] Widget ordering in group

2013-03-25 Thread MacArthur, Ian (Selex ES, UK)
I have a window with full of widgets made with fluid. Some of them are text fields to be user filled in order. When I hit the tab key to change widget focus, the ordering is haphazard. Do widgets in groups have a tab-key ordering ? How do you change the order? Can you change the

Re: [fltk.general] Widget ordering in group

2013-03-25 Thread Matthias Melcher
The Tab navigation is in the order on which the widgets were created. The arrow navigation takes their position and size into account. MacArthur, Ian (Selex ES, UK) ian.macart...@selex-es.com schrieb: I have a window with full of widgets made with fluid. Some of them are text fields to be

Re: [fltk.general] Fl_Tabs: How to find the tab that is clicked upon

2013-03-25 Thread testalucida
thank you guys for caring about my problem have a nice day testalucida On 03/25/13 05:16, testalucida wrote: _ /x\ o I'm interested in click x but not in click o. = What Ian said, and I'd offer that setting when(FL_WHEN_NOT_CHANGED) /should/ work for

Re: [fltk.general] Widget ordering in group

2013-03-25 Thread Richard Sanders
On Mon, 25 Mar 2013 08:52:22 -0700, humpty hum...@mail.com wrote: I have a window with full of widgets made with fluid. Some of them are text fields to be user filled in order. When I hit the tab key to change widget focus, the ordering is haphazard. Do widgets in groups have a tab-key ordering

Re: [fltk.general] Fl_Tabs: How to find the tab that is clicked upon

2013-03-25 Thread Greg Ercolano
On 03/25/13 07:53, testalucida wrote: I just overlooked the which( x, y ) method which exactly fits my needs. Great -- yes, it's easy to miss, because it wasn't documented! ;) Fixed in r9849: - Fl_Widget *

[fltk.bugs] [MOD] STR #2939: Fl_Tabs not honoroing when(FL_WHEN_NOT_CHANGED)

2013-03-25 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2939 Version: 1.3.3 testalucida posted on fltk.general today: using Fl_Tabs, wanting to make a single tab group, and wants to receive callbacks whenever the one tab is

Re: [fltk.bugs] [MOD] STR #2939: Fl_Tabs not honoroing when(FL_WHEN_NOT_CHANGED)

2013-03-25 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2939 Version: 1.3.3 Also attaching a patch suggestion for Fl_Widget's when() docs to elaborate on the use of FL_WHEN_NOT_CHANGED. Link: http://www.fltk.org/str.php?L2939

[fltk.bugs] [LOW] STR #2940: Docs for label() '@' symbols need some improvement

2013-03-25 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2940 Version: 1.3.3 There are some behaviors of @ symbols that aren't documented but should be in this section: http://fltk.org/doc-1.3/common.html I posted a bit about

Re: [fltk.bugs] [MOD] STR #2939: Fl_Tabs not honoring when(FL_WHEN_NOT_CHANGED)

2013-03-25 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2939 Version: 1.3.2 Taking ownership, fixed subject typo. Put an RFC on fltk.development to see if implementing all the when() behavior of radio buttons makes sense

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)