I would prefer not to add an if statement to all the label-setting 
function calls.

On 12/08/2011 01:17 AM, MacArthur, Ian (SELEX GALILEO, UK) wrote:
>
>> This was done with a different function, Widget::copy_label()
>> 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 copy_label().
>
> I may be mis-interpreting... If my interpretation is correct, wll, I'm
> not keen, I quite like the current mechanism...
>
>
>
>> On 10/17/2011 10:22 AM, David wrote:
>>>
>>> DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES
>> TO THE LINK BELOW.
>>>
>>> [STR New]
>>>
>>> Link: http://www.fltk.org/str.php?L2737
>>> Version: 1.3-feature
>>>
>>>
>>> I've enhanced FLTK to include a new application level option
>>> Fl::copy_labels(int v) to enable (1) or disable (1) an option to
>>> automatically copy (allocate memory for) Fl_Widget labels.
>> Also added
>>> Fl:copy_labels() to return status of option (enabled or disabled).
>>>
>>> Changed Fl.H and Fl_Widget.cxx
>>>
>>>
>>> Link: http://www.fltk.org/str.php?L2737
>>> Version: 1.3-feature
>>> Attachment: http://www.fltk.org/strfiles/2737/label_changes.zip
>>>
>
>
> SELEX Galileo Ltd
> 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-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to