Re: Tick marks on scroll bars

2016-06-13 Thread Jens Alfke
> On Jun 13, 2016, at 9:18 AM, じょいすじょん > wrote: > > Did you do run into any issues with rubberbanding and responsive/momentum > scrolling? Why would I? I just overrode the method that draws the background. —Jens ___ Cocoa-dev mailing list (Cocoa-d

Re: Tick marks on scroll bars

2016-06-13 Thread じょいすじょん
Did you do run into any issues with rubberbanding and responsive/momentum scrolling? > On Jun 14, 2016, at 1:03 AM, Jens Alfke wrote: > > I've done it by subclassing NSScroller. (The code's not open-source, though.) > As far as I know, that's the only way to do it. It's fairly easy. > > —Jens

Re: Tick marks on scroll bars

2016-06-13 Thread Jens Alfke
I've done it by subclassing NSScroller. (The code's not open-source, though.) As far as I know, that's the only way to do it. It's fairly easy. —Jens ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Tick marks on scroll bars

2016-06-13 Thread Jonathan Taylor
Hi all, Does anyone know a way of implementing "tick marks" on a scroll bar, in the way that Xcode does to mark code lines where there is an error/warning? From reading header files, I can't see any obvious built-in API to implement this feature, but perhaps somebody knows of a custom class tha