Re: Using NSRulerView with a non-text view
Re: Using NSRulerView with a non-text view
- Subject: Re: Using NSRulerView with a non-text view
- From: Joel Reymont <email@hidden>
- Date: Mon, 16 Feb 2009 23:33:13 +0000
On Feb 16, 2009, at 11:25 PM, Graham Cox wrote:
You tell it everything it needs to know when you register the
settings - how far apart the marks are and how many submarks that is
divided into and so forth. It asks its delegate for everything else.
I just wish it asked the delegate for the labels :-(.
I found the source code for NSRulerView in GNUStep and it appears that
the code that draws the marks is intertwined with the code that draws
the label.
Is there a way for me to supply the labels without overriding the
whole drawing method?
Thanks, Joel
---
http://tinyco.de
Mac Trading Apps
_______________________________________________
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