Flipping a window, Dashboard-style
Flipping a window, Dashboard-style
- Subject: Flipping a window, Dashboard-style
- From: Larry Gerndt <email@hidden>
- Date: Tue, 9 Aug 2005 16:26:15 -0700
Dashboard widget windows can be made to flip over, showing their
"back side" which contains controls that affect the behavior of
widget. My colleagues and I think this is a great idea and we intend
to implement this is our Cocoa app for some of our windows. Some
kind souls out there have already provided sample projects which come
very close to what we need.
Robert Pointon's "Core Image NSView Transitions", located at
http://www.macs.hw.ac.uk/~rpointon/osx/coreimage.html,
provides a way of animating an NSTabView using a variety of
transition effects. However this does not attempt to flip an entire
window with titlebar and all. It only flips views of the tab view,
and there must be a margin of sufficient size between the tab view
and window's titlebar because some transition types actually draw
above the original top edge of the view (for example the cube and
flip transitions).
Uli Kusterer's "Window Flipper" example, located at
http://www.zathras.de/angelweb/sourcecode.htm#WindowFlipper
*does* flip a window, but unfortunately, the method he used results
(NSAffineTransforms) results in poor appearance and performance.
After spending a few hours looking at these examples, I have my
doubts whether there is any clean way of accomplishing an entire
window flip using CoreImage filters (for excellent appearance and
performance) as Robert has done, but I could be wrong, and if someone
can think of a good way, I would be highly indebted to them. Thanks
in advance.
--
Larry Gerndt
Blog: CoreData
AIM: SonOfTheSonOfMan
"Let the truth be told though the heavens fall" -- James
Garrison
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden