CoreImage transitions on windows
CoreImage transitions on windows
- Subject: CoreImage transitions on windows
- From: Pierre CHATEL <email@hidden>
- Date: Sat, 25 Jun 2005 13:47:19 -0300
Hi !
I'm looking for a way to apply a core-image transition to the opening
of an entire window in an soft of mine: the effect should begin with
the screen behind the window and finish with the onscreen window.
I sublassed makeKeyAndOrderFront to display the transition before
really displaying the window, i also found the way to capture the
window in a NSBitmapImageRep before it is displayed.
But, what should i use to create the transition ? If I use a core-
image filter (CIFilter), I will need an "inputTargetImage", which i
have (the offscreen window BMP) and ALSO a "inputImage" (the start
image of the transition), which i don't have!
Should i capture the screen behind the window to compose the effect ?
If yes, how ?
I suspect there is a better solution ! Do I really need a start image
for the CIFilfer ? Maybe their is a better core-image class that i
should use...
Apple used the same solution in his "Reducer" example, but it's way
more easier to apply the transition effect to tab switching in an
NSTabView because you can easily compute the BMPs of the start view
(the originating tab) and the destination tab. The difficulty here is
to apply it to the entire window, even the titlebar.
I'm waiting for your help !
Thanks :-)
Pierre
_______________________________________________
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