On 17 Feb 2009, at 10:33 am, Joel Reymont wrote:
I just wish it asked the delegate for the labels :-(.
I agree, that would seem an obviously useful thing to do, but it
doesn't.
I found the source code for NSRulerView in GNUStep and it appears
that the code that draws the marks is intert
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
On 17 Feb 2009, at 4:18 am, Joel Reymont wrote:
Has anyone used NSRulerView with graphic or other non-text views?
Sure - it works fine. It certainly doesn't appear to care or have any
knowledge of the kind of view it encloses, and there's no reason why
it should. You tell it everything i
Has anyone used NSRulerView with graphic or other non-text views?
Nothing extensive - I've done some tests to learn NSRulerView and it
seems to work fine with my custom NSViews. My client view is loaded
from a nib per document. After nib is loaded, the ruler is set in
MyDoument (below), wh
I would like to use NSRulerView to label stock charts. It already
provides the hash marks and seems awfully handly, although the labels
will need adjustment.
Has anyone used NSRulerView with graphic or other non-text views?
I would like to reuse and extend rather than build from scratch.