[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tooltips issue
From: |
Gregory Casamento |
Subject: |
Re: Tooltips issue |
Date: |
Sun, 14 Dec 2014 01:29:50 -0500 |
I believe that the proper fix is to make GNUstep take into account the
intervening layers in front.
GC
On Sun, Dec 14, 2014 at 1:01 AM, Germán Arias <address@hidden> wrote:
> Looking at the machinery of GNUstep to display ToolTips, this only take in
> account the coordinates of rectangles, and not information about levels
> (front, back,...). So, I will need change the way used by FisicaLab to
> display tooltips.
>
> Germán
>
> On 2014-12-13 00:47:43 -0600 Germán Arias <address@hidden> wrote:
>
>> See:
>>
>> http://youtu.be/ZCMN3-mgIaQ
>>
>> No idea if this is a bug, or I'm doing something wrong. The chalkboard is a
>> grid of buttons (50x50), I add the buttons with something like:
>>
>> [botonCell setBordered: NO];
>> [botonCell addToolTipRect: NSMakeRect(0, 0, 50, 50)
>> owner: self
>> userData: nil];
>> [self addSubview: botonCell];
>> [botonCell release];
>>
>> Is this a bad approach? Maybe I need add the visible rect at scrollview and
>> then with -hitTest: get the button to display the tooltip?
>>
>> PS: No idea why the video show the menu as a white rectangle. I don't use
>> Terminal.app because Control-C (copy) can't stop the recording.
>>
>> Germán
>>
>>
>> _______________________________________________
>> Gnustep-dev mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/gnustep-dev
>>
>
>
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev
--
Gregory Casamento
GNUstep Lead Developer / OLC, Principal Consultant
http://www.gnustep.org - http://heronsperch.blogspot.com
http://ind.ie/phoenix/