How to make a square topped, round rect bottomed graphic?

Roger Guay irog at mac.com
Sun Dec 5 01:46:30 EST 2010


Thank you, Jacqueline. Somehow I missed the screenMouseLoc as being settable. Although it is an ugly hack, it will be fun to play with.

Cheers,
Roger Guay


On Dec 4, 2010, at 9:45 PM, use-livecode-request at lists.runrev.com wrote:

> Message: 25
> Date: Sat, 04 Dec 2010 20:08:15 -0600
> From: "J. Landman Gay" <jacque at hyperactivesw.com>
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Subject: Re: How to make a square topped, round rect bottomed graphic?
> Message-ID: <4CFAF40F.3080602 at hyperactivesw.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> On 12/4/10 6:03 PM, Roger Guay wrote:
>> Heck, I could do it
>> myself if I could figure out how to get the color of a pixel by
>> location programmatically.
> 
> There's a really ugly hack for that. It's fast though.
> 
>  put the screenMouseLoc into oldX,oldY
>  set the screenMouseLoc to x,y
>  get the mouseColor
>  set the screenMouseLoc to oldX,oldY
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 




More information about the Use-livecode mailing list