FROM : Moray Taylor
DATE : Thu Jun 19 19:54:48 2008
Thanks for the reply...
I've tried
[[[self pageScrollView] contentView] setWantsLayer:YES];
This results in a still flipped display, and very badly corrupted, lots of artifacts etc....
[[self pageScrollView] setWantsLayer:YES];
Nice display, but still flipped.
The transform that used to work before I tried the above line makes no difference if I set the scrollview to be layer backed.
Any ideas?
--- On Thu, 19/6/08, Scott Anguish <<email_removed>> wrote:
> From: Scott Anguish <<email_removed>>
> Subject: Re: Problems with a Layer backed NSView in a NSScrollView
> To: <email_removed>
> Date: Thursday, 19 June, 2008, 5:50 PM
> have you tried just setting the contentview of the scroll
> view to
> layer backed?
>
> otherwise you can remvoe the extra transofrm you added to
> the view
> itself.
>
>
> On Jun 19, 2008, at 11:38 AM, Moray Taylor wrote:
>
> > Hi there!
> >
> > I've been tearing my hair out trying to figure
> this out, so
> > hopefully someone will take pity!
> >
> > Basicaly, I've a CALayer-backed custom view, which
> works pretty
> > great, I use a transform to flip it, and it works
> fine, the problem
> > happens when I put it in a NSScrollView....
> >
> > If I put it in the scrollview, and set the
> scrollview's
> > setWantsLayer to YES, then it works good, very fast
> and smooth
> > scrolling, BUT, it's completely upside down!
> >
> > If I setWantsLayer to NO, then it's the right way
> up, but jerky and
> > generally doesn't work (i.e. the scroll bar
> doesn't do anything in
> > the scrollview)
> >
> > I've tried flipping and unflipping the view,
> applying a transform to
> > the CALayer (I had a transform to begin with, removed
> it, no
> > difference), nothing I do will flip it back!
> >
> > Please help!
> >
> > Thanks
> >
> > Moray
> >
> >
> >
> __________________________________________________________
> > Sent from Yahoo! Mail.
> > A Smarter Email
> http://uk.docs.yahoo.com/nowyoucan.html
> > _______________________________________________
> >
> > Cocoa-dev mailing list (<email_removed>)
> >
> > 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:
> >
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
> >
> > This email sent to <email_removed>
__________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
DATE : Thu Jun 19 19:54:48 2008
Thanks for the reply...
I've tried
[[[self pageScrollView] contentView] setWantsLayer:YES];
This results in a still flipped display, and very badly corrupted, lots of artifacts etc....
[[self pageScrollView] setWantsLayer:YES];
Nice display, but still flipped.
The transform that used to work before I tried the above line makes no difference if I set the scrollview to be layer backed.
Any ideas?
--- On Thu, 19/6/08, Scott Anguish <<email_removed>> wrote:
> From: Scott Anguish <<email_removed>>
> Subject: Re: Problems with a Layer backed NSView in a NSScrollView
> To: <email_removed>
> Date: Thursday, 19 June, 2008, 5:50 PM
> have you tried just setting the contentview of the scroll
> view to
> layer backed?
>
> otherwise you can remvoe the extra transofrm you added to
> the view
> itself.
>
>
> On Jun 19, 2008, at 11:38 AM, Moray Taylor wrote:
>
> > Hi there!
> >
> > I've been tearing my hair out trying to figure
> this out, so
> > hopefully someone will take pity!
> >
> > Basicaly, I've a CALayer-backed custom view, which
> works pretty
> > great, I use a transform to flip it, and it works
> fine, the problem
> > happens when I put it in a NSScrollView....
> >
> > If I put it in the scrollview, and set the
> scrollview's
> > setWantsLayer to YES, then it works good, very fast
> and smooth
> > scrolling, BUT, it's completely upside down!
> >
> > If I setWantsLayer to NO, then it's the right way
> up, but jerky and
> > generally doesn't work (i.e. the scroll bar
> doesn't do anything in
> > the scrollview)
> >
> > I've tried flipping and unflipping the view,
> applying a transform to
> > the CALayer (I had a transform to begin with, removed
> it, no
> > difference), nothing I do will flip it back!
> >
> > Please help!
> >
> > Thanks
> >
> > Moray
> >
> >
> >
> __________________________________________________________
> > Sent from Yahoo! Mail.
> > A Smarter Email
> http://uk.docs.yahoo.com/nowyoucan.html
> > _______________________________________________
> >
> > Cocoa-dev mailing list (<email_removed>)
> >
> > 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:
> >
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
> >
> > This email sent to <email_removed>
__________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
| Related mails | Author | Date |
|---|---|---|
| Moray Taylor | Jun 19, 17:38 | |
| Moray Taylor | Jun 19, 19:54 | |
| Gordon Apple | Jun 19, 23:14 | |
| Brian Christensen | Jun 20, 07:17 | |
| Moray Taylor | Jun 20, 14:16 | |
| Kai | Jun 20, 15:26 |






Cocoa mail archive

