Re: [fltk.development] RFC: Fl_Tooltip API additions

2012-05-31 Thread Dejan Lekic
On Mon, 14 May 2012 17:46:33 -0700, Greg Ercolano wrote:

> Curious if there's any objections to adding the following controls to
> the Fl_Tooltip API. Would like to be able to have more control over
> global tooltips:
> 
>   // Set/get the left/right and top/bottom margins for all 
tooltips //   
>These allow the app to control the margin area around tooltips 
on X
>   and Y. // Currently these are hard coded to 6 pixels on X and 
Y.
> //
>   void Fl_Tooltip::margin_width(int val); int  
Fl_Tooltip::margin_width()
>   const; void Fl_Tooltip::margin_height(int val); int 
>   Fl_Tooltip::margin_height() const;
> 
>   // Set/get the tooltip maximum width
>   //Currently this is hardcoded in Fl_Tooltip to 400. //
>   void Fl_Tooltip::max_width(int val);
>   int  Fl_Tooltip::max_width() const;
> 
> Looking for +/-1 dev votes and/or comments, alternative names, etc.

+1



-- 
Dejan Lekic
  mailto:dejan.lekic(a)gmail.com
  http://dejan.lekic.org 
___
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev


Re: [fltk.development] RFC: Fl_Tooltip API additions

2012-05-16 Thread Greg Ercolano
On 05/15/12 04:50, Matthias Melcher wrote:
> On 15.05.2012, at 11:53, MacArthur, Ian (SELEX GALILEO, UK) wrote:

>>> Curious if there's any objections to adding the following controls
>>> to the Fl_Tooltip API. Would like to be able to have more control
>>> over global tooltips:
>>>
>>> // Set/get the left/right and top/bottom margins for all tooltips
>>> // These allow the app to control the margin area around tooltips 
>>> on X and Y.
>>> // Currently these are hard coded to 6 pixels on X and Y.
>>> //
>>> void Fl_Tooltip::margin_width(int val);
>>> int  Fl_Tooltip::margin_width() const;
>>> void Fl_Tooltip::margin_height(int val);
>>> int  Fl_Tooltip::margin_height() const;
>>>
>>> // Set/get the tooltip maximum width
>>> //Currently this is hardcoded in Fl_Tooltip to 400.
>>> //
>>> void Fl_Tooltip::max_width(int val);
>>> int  Fl_Tooltip::max_width() const;


>> Yes, sure; +1
> 
> I have no problem with that either: +1

Done: r9510.

I used 'wrap_width() instead of 'max_width()', as this setting
has more to do with the word wrap behavior for the tooltip's text.
___
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev


Re: [fltk.development] RFC: Fl_Tooltip API additions

2012-05-16 Thread Greg Ercolano
On 05/15/12 04:50, Matthias Melcher wrote:
> On 15.05.2012, at 11:53, MacArthur, Ian (SELEX GALILEO, UK) wrote:

>>> Curious if there's any objections to adding the following controls
>>> to the Fl_Tooltip API. Would like to be able to have more control
>>> over global tooltips:
>>>
>>> // Set/get the left/right and top/bottom margins for all tooltips
>>> // These allow the app to control the margin area around tooltips 
>>> on X and Y.
>>> // Currently these are hard coded to 6 pixels on X and Y.
>>> //
>>> void Fl_Tooltip::margin_width(int val);
>>> int  Fl_Tooltip::margin_width() const;
>>> void Fl_Tooltip::margin_height(int val);
>>> int  Fl_Tooltip::margin_height() const;
>>>
>>> // Set/get the tooltip maximum width
>>> //Currently this is hardcoded in Fl_Tooltip to 400.
>>> //
>>> void Fl_Tooltip::max_width(int val);
>>> int  Fl_Tooltip::max_width() const;


>> Yes, sure; +1
> 
> I have no problem with that either: +1

Done: r9510.

I used 'wrap_width() instead of 'max_width()', as this setting
has more to do with the word wrap behavior for the tooltip's text.

___
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev


Re: [fltk.development] RFC: Fl_Tooltip API additions

2012-05-15 Thread Albrecht Schlosser
On 15.05.2012 13:50, Matthias Melcher wrote:
>
> On 15.05.2012, at 11:53, MacArthur, Ian (SELEX GALILEO, UK) wrote:
>
>>
>>> Curious if there's any objections to adding the following controls
>>> to the Fl_Tooltip API. Would like to be able to have more control
>>> over global tooltips:
>>>
>>> // Set/get the left/right and top/bottom margins for all tooltips
>>> // These allow the app to control the margin area around tooltips
>>> on X and Y.
>>> // Currently these are hard coded to 6 pixels on X and Y.
>>> //
>>> void Fl_Tooltip::margin_width(int val);
>>> int  Fl_Tooltip::margin_width() const;
>>> void Fl_Tooltip::margin_height(int val);
>>> int  Fl_Tooltip::margin_height() const;
>>>
>>> // Set/get the tooltip maximum width
>>> //Currently this is hardcoded in Fl_Tooltip to 400.
>>> //
>>> void Fl_Tooltip::max_width(int val);
>>> int  Fl_Tooltip::max_width() const;
>>>
>>> Looking for +/-1 dev votes and/or comments, alternative names, etc.
>>
>>
>> Yes, sure; +1
>
> I have no problem with that either: +1

+1 from me, too.

Albrecht
___
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev


Re: [fltk.development] RFC: Fl_Tooltip API additions

2012-05-15 Thread Matthias Melcher

On 15.05.2012, at 11:53, MacArthur, Ian (SELEX GALILEO, UK) wrote:

> 
>> Curious if there's any objections to adding the following controls
>> to the Fl_Tooltip API. Would like to be able to have more control
>> over global tooltips:
>> 
>>  // Set/get the left/right and top/bottom margins for all tooltips
>>  // These allow the app to control the margin area around tooltips
>> on X and Y.
>>  // Currently these are hard coded to 6 pixels on X and Y.
>>//
>>  void Fl_Tooltip::margin_width(int val);
>>  int  Fl_Tooltip::margin_width() const;
>>  void Fl_Tooltip::margin_height(int val);
>>  int  Fl_Tooltip::margin_height() const;
>> 
>>  // Set/get the tooltip maximum width
>>  //Currently this is hardcoded in Fl_Tooltip to 400.
>>  //
>>  void Fl_Tooltip::max_width(int val);
>>  int  Fl_Tooltip::max_width() const;
>> 
>> Looking for +/-1 dev votes and/or comments, alternative names, etc.
> 
> 
> Yes, sure; +1

I have no problem with that either: +1

___
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev


Re: [fltk.development] RFC: Fl_Tooltip API additions

2012-05-15 Thread MacArthur, Ian (SELEX GALILEO, UK)

> Curious if there's any objections to adding the following controls
> to the Fl_Tooltip API. Would like to be able to have more control
> over global tooltips:
> 
>   // Set/get the left/right and top/bottom margins for all tooltips
>   // These allow the app to control the margin area around tooltips
> on X and Y.
>   // Currently these are hard coded to 6 pixels on X and Y.
> //
>   void Fl_Tooltip::margin_width(int val);
>   int  Fl_Tooltip::margin_width() const;
>   void Fl_Tooltip::margin_height(int val);
>   int  Fl_Tooltip::margin_height() const;
> 
>   // Set/get the tooltip maximum width
>   //Currently this is hardcoded in Fl_Tooltip to 400.
>   //
>   void Fl_Tooltip::max_width(int val);
>   int  Fl_Tooltip::max_width() const;
> 
> Looking for +/-1 dev votes and/or comments, alternative names, etc.


Yes, sure; +1



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
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev