Re: Runloops and Window Dragging
Re: Runloops and Window Dragging
- Subject: Re: Runloops and Window Dragging
- From: Caylan Larson <email@hidden>
- Date: Wed, 02 Oct 2013 19:47:51 -0500
On Oct 2, 2013, at 5:06 PM, Jens Alfke <email@hidden> wrote:
>> I am using CGWindowListCreateImage to fetch an image of the windows behind my app. This works beautifully and is OK for my needs.
>
> I assume you’re doing this to apply some kind of fancy effects to the image, so your window acts like a filter?
Correct. The images are previews of renderings. Instead what I've done is create a very large child window with a hole punched for my window. When the window settles down I render the window with the filter. There doesn't seem to be a better way. It works well enough and satisfies my UI needs.
Caylan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden