On 3/1/09 7:05 PM, Gustavo Pizano said:
>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, th
Gustavo,
The best thing would probably be for you to read the documentation on
NSWindowController and NSWindow, then decide - based on your code's
functionality - where to make the best additions to your code to
accomplish your goal.
regards,
douglas
On Mar 2, 2009, at 9:31 AM, Gustavo
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 i
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
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,
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.
thank
Hello Fabian.
I just setup the HUD panel in IB, and inside the panel my CustomView which
has some layers . Teh HUD panel its controler by a ShipControllerPanel
class, which has the init method that initialize the panel from the
NSBundle, and load it to memory just once.
when you tell me subclass
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
Subclass it, override orderBack and orderOut, do some funky stuff...
what did you try?
Fabian
On Sun, Mar 1, 2009 at 7: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