Re: Sliding an image
Re: Sliding an image
- Subject: Re: Sliding an image
- From: Mike Davis <email@hidden>
- Date: Sat, 1 May 2004 10:55:41 +0200
I don't want the slide back effect, which is easy in AppKit. I'm
talking about dragging buttons around a matrix and the matrix
reflowing.
On 1 May 2004, at 10:43, M. Uli Kusterer wrote:
At 7:48 Uhr +0200 01.05.2004, Allan Odgaard wrote:
On 30. Apr 2004, at 23:59, Mike Davis wrote:
I know this was asked for at WWDC as the code in NSWorkspace doesn't
actually do anything [...]
Which answer was given? It seems that both the Dock and Finder is
able to slide dragged images around (when they are dropped) -- would
the functionality exist in Carbon?
The Drag Manager automagically slides back an image if it is dropped
on an unnacceptable location. Carbon provides a way to prevent this
feedback, IIRC, but I don't think you can use it separately.
What exactly is this for, anyway? It would help in coming up with a
useful solution.
That being said, you could create a transparent, borderless window
with your image in it, and simply move that around. Since windows are
composited with Quartz even on my aging and ill iBook, this will
actually be faster than moving around the image inside its window.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.