Re: Animate the way a HUD panel appears.
Re: Animate the way a HUD panel appears.
- Subject: Re: Animate the way a HUD panel appears.
- From: Gustavo Adolfo Pizano <email@hidden>
- Date: Mon, 2 Mar 2009 15:31:39 +0100
Ok i think I messed up a little.
the PanelShipController class is a sub class of NSWindowController, which
is the one in charge of loading the Panel. As fas as I have read thas the
best way to do it.
Now, if i understand good, I have to create my custom class which inherits
from NSPanel, and in IB the class of the HUD panel will be then my custom
NSPanel class. am I ok?
if so then, in that custom class , what, should I have a NSViewAnimation
attribute? to apply the fadeIn fadeOut, or startFrame endFrame properties?
as you can see im kidna new, so any help (as you have done so far, thanks
btw) I would appreciate it,
Gustavo
On Mon, Mar 2, 2009 at 12:45 PM, Gustavo Adolfo Pizano <
email@hidden> wrote:
> Douglas hi, so I should overwrite some methods that allow me to manipulate
> the HUD panel in the PanelShioController class?, which is a subclas of
> NSWindowController?
>
> if yes, then I will check out which methods apply for my requirments,
>
> Thanks
>
> Gus
>
>
>
> On Mon, Mar 2, 2009 at 12:16 PM, douglas welton <
> email@hidden> wrote:
>
>> Gustavo,
>> Yes - a HUD Panel is just a subclass of NSWindow.
>>
>> regards,
>>
>> douglas
>>
>> On Mar 2, 2009, at 5:24 AM, Gustavo Adolfo Pizano wrote:
>>
>> Douglas hello.
>>
>> will this apply also to the HUD Panel?, I was thinking something similar
>> but couldn't see a way to achieve it. inside the panel as I said, I have my
>> custom view, but I dunno how to play with it to make it appear in a "fancy"
>> way.
>>
>> I will look at the example once i get home.
>>
>> thanks
>>
>> Gustavo
>>
>>
>> On Mon, Mar 2, 2009 at 1:47 AM, douglas welton <
>> email@hidden> wrote:
>>
>>> Gustavo,
>>>
>>> Have you looked at the documentation for NSViewAnimation? This will
>>> class gives you a number of options for manipulating several attributes
>>> (frames, alpha, etc) for windows/views.
>>>
>>> You might want to also take a look at the Reducer example, in particular
>>> the Animated TabView Class that uses a custom NSAnimation class along with
>>> some custom drawing to produce visual effects using the default Core Image
>>> Transitions.
>>>
>>> regards,
>>>
>>> douglas
>>>
>>>
>>> On Mar 1, 2009, at 1:05 PM, Gustavo Pizano wrote:
>>>
>>> Hello, I have an application that has a HUD panel, now, when I click the
>>>> button to show the panel the HUD panel simply appears, I was wondering if
>>>> there is a way to make it appear in a diferent way, kinda the way Aperture,
>>>> or iPhoto shows such panels, that they "scroll down", when needed.
>>>>
>>>> I dunno how complex can this be.
>>>>
>>>> Thanks for your help
>>>>
>>>> Gustavo Pizano
>>>>
>>>
>>
>>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden