[fltk.development] [RFE] STR #2790: Patch allow fluid generate constructor without arguments for Widget_Class

2011-12-09 Thread Domingo Alvarez Duarte
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2790 Version: 1.3-feature Here is a patch that allow fluid generate constructors without parameters for widget_class, it does the same as the last change that made it

Re: [fltk.development] [RFE] STR #2790: Patch allow fluid generate constructor without arguments for Widget_Class

2011-12-09 Thread Domingo Alvarez Duarte
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2790 Version: 1.3-feature Attached file fluid-class-type-constructor-without-parameters_v2.patch... Link: http://www.fltk.org/str.php?L2790 Version: 1.3-featureIndex:

Re: [fltk.development] [RFE] STR #2790: Patch allow fluid generate constructor without arguments for Widget_Class

2011-12-09 Thread Domingo Alvarez Duarte
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2790 Version: 1.3-feature On the first patch I missed the position relative code line, the second one corrects it. Link: http://www.fltk.org/str.php?L2790 Version:

Re: [fltk.development] How to silence new compilerwarnings(gcc4.6.1)

2011-12-09 Thread Bill Spitzak
Sorry I misinterpreted the 255 as being 127. That said, correct isdigit() implementations are supposed to handle the native compiler char-int conversion of the argument. This masking can make the -1 EOF match the 255 character and thus is really incorrect. On 12/07/2011 09:25 PM, Michael Sweet

Re: [fltk.development] [RFE] STR #2766: New configurable optiontochangesymbol prefix character

2011-12-09 Thread Bill Spitzak
I would not do this, as it will make it impossible to link unrelated fltk-using code together as this would have to be a static value. Or we have to waste space to put the value on every widget. The user should be able to turn on the don't interpret @ flag on the widgets they need it for. If

Re: [fltk.development] How to silence new compilerwarnings(gcc4.6.1)

2011-12-09 Thread Michael Sweet
Bill, Neither the C standard nor POSIX require anything other than values from -1 (EOF) to 255 to work. Since we are dealing with char strings we are not going to see an EOF except in the case where a character has the value 255 but is interpreted as a signed value (which is allowed). Thus,

Re: [fltk.development] New FLTK3 user -- layout feature request

2011-12-09 Thread Bill Spitzak
On 12/08/2011 09:47 AM, Matthias Melcher wrote: There is something similar in FLTK 2. It has a virtual function named layout() that adjusts widgets sizes and available space. I am planning on using the layout mechanism in 3 - unless of course there is abetter way?! This is not working in

Re: [fltk.development] [RFE] STR #2766: New configurable optiontochangesymbolprefix character

2011-12-09 Thread Greg Ercolano
On 12/09/11 12:05, Bill Spitzak wrote: I would not do this, as it will make it impossible to link unrelated fltk-using code together as this would have to be a static value. Or we have to waste space to put the value on every widget. The user should be able to turn on the don't interpret @

Re: [fltk.development] [RFE] STR #2737: New option to copyFl_Widgetlabels automatically

2011-12-09 Thread David
This was done with a different function, Widget::copy_label()=20 in fltk 2. Hi Bill, I don't think that's what the OP is asking for - the fltk2 copy_label() method was added to later 1.1 and is in 1.3, but *I think* what the OP wants is a global control to make *all* labels behave as

Re: [fltk.development] [RFE] STR #2766: New configurable optiontochangesymbolprefix character

2011-12-09 Thread David
Already done, patch already there, static member already exists for libs that want to support it. I would not do this, as it will make it impossible to link unrelated fltk-using code together as this would have to be a static value. Or we have to waste space to put the value on every widget.

[fltk.development] [RFE] STR #2793: Option to change FL_SHORTCUT logic

2011-12-09 Thread David
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2793 Version: 1.3-feature This patch adds an option to use new logic that makes more since for shortcut handling. The old/default handler considered where the mouse was

Re: [fltk.development] [RFE] STR #2763: Full Selection Movement when using Keyboard in Browser

2011-12-09 Thread David
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2763 Version: 1.3-feature Attached file browser-full-kb-post-str2792.patch... Link: http://www.fltk.org/str.php?L2763 Version: 1.3-featureIndex: FL/Fl_Browser_.H

Re: [fltk.development] [RFE] STR #2757: Allows shortcuts on browser items

2011-12-09 Thread David
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2757 Version: 1.3-feature Just uploaded new version of patch which adds some additional logic options (now defaults to no selection on alt- key to allow alt- key to