Using the brush tool

Terry Judd tsj at unimelb.edu.au
Mon Mar 15 21:40:49 EDT 2010


I guess you could also set and reset the tool as you enter and leave the
paint object. Your tool buttons would then only have to store the tool
choice for you to set when you need it...

Brush button..
on mouseUp
  set the cPaintTool of this cd to "brush"
end mouseUp

Paint object
on mouseEnter
  do "choose "&the cPaintTool of this cd&"tool"
end mouseEnter

on mouseLeave
  choose browse tool
end mouseLeave

...or something like that.

Terry...


On 16/03/10 12:33 PM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:

> Mike Brown wrote:
>> Do you know what commands sets the cursor from the brush tool back to
>> the normal behavior?
> 
> The same one you use to change the tool to the brush tool, only
> specifying the browse tool instead:
> 
>   choose browse tool
> 
> As for keeping some buttons in browse mode while having paint tools in
> use, you can try two options:
> 
> - Try setting the cantSelect of the buttons you want to maintain
> browse-mode behavior.  When that property is set they respond as though
> they're in browse mode even when the tool is the pointer tool - may work
> for the brush tool as well.
> 
> - Have those buttons in a palette stack, limiting your toplevel stack to
> the painting canvas.
> 
> For the long term, it would be really great if we could have tool modes
> for group controls, so you could have a tool pane running in browse mode
> and a group as your paint canvas, all in one window.
> 
> There's a request for this, if you feel like it's something worth voting
> for:
> <http://quality.runrev.com/qacenter/show_bug.cgi?id=623>
> 
> --
>   Richard Gaskin
>   Fourth World
>   Rev training and consulting: http://www.fourthworld.com
>   Webzine for Rev developers: http://www.revjournal.com
>   revJournal blog: http://revjournal.com/blog.irv
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list