[Drawkit] Keeping a drawing tool selected
Uli Kusterer
kusterer at gmail.com
Thu Jul 10 10:13:20 PDT 2008
On 10.07.2008, at 04:22, Graham Cox wrote:
> Currently, if you set the "Select" tool, it turns this setting back
> on. While that reflects a common usage it's probably not very
> general - I'll think about how that should be resolved. Anyway you
> might want to keep setting this flag to NO each time you set a tool
> to work around this. You can see an example of this in the simple
> demo.
Sounds like a job for a delegate method -
(BOOL)drawingTool:shouldRevertToTool: (DKTool**)ioTool or so. This one
would also allow the delegate to specify an alternate tool to revert to.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
More information about the Drawkit
mailing list