• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Implementing the Dock genie effect in windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing the Dock genie effect in windows


  • Subject: Re: Implementing the Dock genie effect in windows
  • From: John Stiles <email@hidden>
  • Date: Tue, 15 Feb 2005 10:27:43 -0800

On Feb 15, 2005, at 2:33 AM, Ken Tabb wrote:

Good morning Cocoa people,

Does anyone know of a way to mimic the Dock's genie effect on a given window, so that one of my windows can appear to 'pop out' of another window? Microsoft <shudder> managed it with their Formatting palette in Word vX, where it 'genies' out of (and back into) the Word toolbar. I've had a search on the web but can't see anything.

I've got the Dock's scale effect sewn up but I'm guessing the genie effect requires specific mesh deformations / some amount of playing with the affine transform parameters!

For extra brownie points is there a publicly supported way of finding out if the user likes to use Genie / Scale on his / her dock? I know I could read the mineffect string in ~/Library/Preferences/com.apple.dock.plist, but if Apple ever changes the file or location they store this info in, I'm stuffed. Granted they could change the API too, but at least you get fair warning about that stuff...

Thanks in advance for any help you can give,

From what I've heard, Microsoft copied the effect in their own code. They aren't calling some hidden API. FWIW I don't think the genie effect is using transforms; I think it's just a trick the window server uses where each scanline is scaled horizontally by a different amount. At the very least, if I was going to reimplement it, that'd how I'd tackle it.


_______________________________________________
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


References: 
 >Implementing the Dock genie effect in windows (From: Ken Tabb <email@hidden>)

  • Prev by Date: Re: Beta testers needed
  • Next by Date: Re: IB question
  • Previous by thread: Re: Implementing the Dock genie effect in windows
  • Next by thread: No new connections after exception on writeData:
  • Index(es):
    • Date
    • Thread