Resuscitation of Scott Raney Paint Tools

Sannyasin Brahmanathaswami brahma at hindu.org
Sat Jun 22 23:07:19 EDT 2019


HH and Bernd

I did the cmd-F on the whole Paint stack, as Hermann originally suggestioned

Bernd:

set the selectedColor2 of me to the mouseColor --<--- add this

This was needed to actually get a color! 

I guess previously Scott had access to  the "selectedColor" somehow in Metacard

Thanks to you both.

The UI is a bit messy, but I want to give a demo of what is possible for a coloring book with  LC versus scripting this whole thing in HTML5 with JS/CSS/HTML. (it would be a nightmare)

Cheers from Kauai

BR


On 6/22/19, 12:38 PM, "use-livecode on behalf of Niggemann, Bernd via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:

    do what Hermann suggested but add a line to the mouseUp handler
    
    script of colorPalette of grp "palette" of cd id 1002 of stack 
    "HAColorChooser":
    
    on mouseUp
       set the selectedColor2 of me to the mouseColor --<--- add this
       setcolor the selectedColor2 of me
    end mouseUp
    
    Kind regards
    
    Bernd
    
    _______________________________________________
    use-livecode mailing list
    use-livecode at lists.runrev.com
    Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
    http://lists.runrev.com/mailman/listinfo/use-livecode
    



More information about the Use-livecode mailing list