Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't get right Theme Background? What is it?



On Tue, 29 Nov 2005 16:56:55, "David M. Cotter" <email@hidden> wrote:

> DOH!  Now I remember why I was *forced* to use offscreens!!
> 
> It's the only way to get the thing into a drag image!!
> 
> I'd like to special case for when we're building the drag image,
> obviously, and ONLY use the offscreen then, but there is no callback
> that i'm aware of to inform me that "during THIS particular draw
> call, the destination is a drag image offscreen, so you have to take
> special precautions"

You mean there are still drawing problems, now that happen during
drag&drop? Maybe to check if the current port is screen/offscreen
(IsPortOffscreen).

Even if appearance manager and control manager's setup calls work
with windows only, you may call them and then grab window port's
colors/pattern and apply them to the current port, that might be
your offscreen or even the offscreen that DataBrowser uses to
create the drag image).

Mike

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Can't get right Theme Background? What is it? (From: "David M. Cotter" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.