Re: Scrolling [SOLVED]

2010-01-15 Thread David Blanton
Hi Graham - We generate a bitmap sized to [view visibleRect] so we have to do it this way. Our model is portable, we use it on Windows (which is where it was architected). The scrolling is very fast. As of now we have added a number of elements to our bitmap which can be sized and rotate

Re: Scrolling [SOLVED]

2010-01-15 Thread Graham Cox
On 16/01/2010, at 9:19 AM, David Blanton wrote: > - (void)drawRect:(NSRect)rect { > [super drawRect:rect]; > > ... > if(m_scrolling) > { > NSLog(@"drawRect scrolling"); > > float v = 100*[m_vScroller floatValue]; >

Re: Scrolling [SOLVED]

2010-01-15 Thread Quincey Morris
On Jan 15, 2010, at 14:19, David Blanton wrote: > The solution was to override trackKnob and in it set a flag that scrolling > was in play. Then in my drawRect I check the flag to do appropriate > scrolling. Then in coming back from [super trackKnob] I knw scrolling is > done so I can clear t

Re: Scrolling [SOLVED]

2010-01-15 Thread David Blanton
Thanks for the heads up Kyle. The solution was to override trackKnob and in it set a flag that scrolling was in play. Then in my drawRect I check the flag to do appropriate scrolling. Then in coming back from [super trackKnob] I knw scrolling is done so I can clear the flag; - (void)tr

Re: Scrolling [SOLVED]

2010-01-15 Thread Kyle Sluder
Mailing list archives are very useful resources to developers, since they capture a lot of searches for related terminology that doesn't appear in the official documentation. Mailing list archives also tend to strip out email addresses, making it hard for people who encounter your thread to contact

Re: Scrolling [SOLVED]

2010-01-15 Thread David Blanton
Never mind. Figured it all out. If anyone is interested ping me off- list. -db ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at