A modest proposal for a new property

Colin Holgate colinholgate at gmail.com
Tue Sep 26 13:18:23 EDT 2017


How do you currently set the alpha channel? The hit area icon I was suggesting could be an image with the alpha channel that the button uses. That way you could have any shape hit area, it wouldn’t have to be based on the button’s icon.

> On Sep 26, 2017, at 1:14 PM, Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Colin Holgate write:
> 
> > The way that this problem is handled in sort other tools is to have a
> > definable hit area for each control (usually those would be buttons).
> > You can set the idle, over, and pressed versions of the button’s
> > image, and also you can set the hit area image.
> >
> > LiveCode already has a way to do most of that, couldn’t the hit area
> > be another entry I the inspector’s icons section?
> 
> Where would one obtain the list of polygon points?
> 
> Currently the hit region is definable using the alpha channel.





More information about the use-livecode mailing list