Re: Magnified Dock-Like View
Re: Magnified Dock-Like View
- Subject: Re: Magnified Dock-Like View
- From: Glenn Andreas <email@hidden>
- Date: Mon, 2 Aug 2004 09:19:03 -0500
At 12:39 AM -0400 8/2/04, Steve Sheets wrote:
Has anyone duplicated the function/appearance of the Dock in code?
Created a multi-button like view, where the view has several icons
displayed across, and when the cursor is over an icon, that image is
expanded (like under a magnify glass)?
In the Dock, each of those is a separate window, so its "expansion"
is a matter of completly reshuffling the winodws around, and
changing their sizes (probably with some help from the window
server's scaling routines).
So it's not a single view - you'll probably best off making a bunch
of different views/cells. I'd start with a sublcass of NSMatrix
(since that can already hold multiple numbers of similar cells), and
override the drawing and tracking routines.
--
Glenn Andreas email@hidden
mondo blobbo, Cythera, Theldrow, oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.