Re: Strange flipping bug in Core Animation?

2008-08-08 Thread Moray Taylor
ead to see > it run > after everything has loaded. > > It might help if you explain what you are trying to do. > It's not clear > from your code. > > -Matt > > > On Aug 7, 2008, at 3:53 AM, Moray Taylor wrote: > > > Dear list, > > > &g

Strange flipping bug in Core Animation?

2008-08-07 Thread Moray Taylor
Dear list, I first posted this to the quartz list, but I'm starting to think I'm the only person on it, some hopefully a Cocoa list reader can help... I think I've stumbled upon a bug/undocumented feature in Core Animation, I've made a quick app to demonstrate the issue. http://s3.amazonaws.co

Breakpoints for CG* functions

2008-07-21 Thread Moray Taylor
Hi there, I'm getting a lot of errors like : CGContextMoveToPoint: invalid context but my usual [NSException raise] breakpoint isn't doing the job, I've tried setting a breakpoint on CGPostError() too, but nothing seems to work. Am I setting the breakpoint correctly? They seem to be OK. (gdb)

Re: trackmouse problems in Leopard

2008-06-30 Thread Moray Taylor
ew*)controlView > { > return NSCellHitContentArea | NSCellHitEditableTextArea | > > NSCellHitTrackableArea; > } > > It might not be exactly what you want, but I'm pretty > sure your > solution is a good implementation of this method. > > Andy Kim > > > On Jun 28

Re: trackmouse problems in Leopard

2008-06-28 Thread Moray Taylor
er <[EMAIL PROTECTED]> wrote: > From: Andreas Mayer <[EMAIL PROTECTED]> > Subject: Re: trackmouse problems in Leopard > To: cocoa-dev@lists.apple.com > Date: Saturday, 28 June, 2008, 5:28 PM > Am 28.06.2008 um 15:24 Uhr schrieb Moray Taylor: > > > I hav

trackmouse problems in Leopard

2008-06-28 Thread Moray Taylor
Hi, hope someone can help... I have an app that uses a custom NSCell that implements the - (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)controlView untilMouseUp:(BOOL)untilMouseUp method. In Tiger, this works just fine, if I build targeting the 10.5 API, it

Re: Problems with a Layer backed NSView in a NSScrollView

2008-06-20 Thread Moray Taylor
> From: Gordon Apple <[EMAIL PROTECTED]> > Subject: Re: Problems with a Layer backed NSView in a NSScrollView > To: cocoa-dev@lists.apple.com > Cc: "Moray Taylor" <[EMAIL PROTECTED]> > Date: Thursday, 19 June, 2008, 10:14 PM > As I stated in my recent post, I imp

Re: Problems with a Layer backed NSView in a NSScrollView

2008-06-19 Thread Moray Taylor
ScrollView > To: [EMAIL PROTECTED] > 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

Problems with a Layer backed NSView in a NSScrollView

2008-06-19 Thread Moray Taylor
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 i