WindowShape

Mike Bonner bonnmike at gmail.com
Fri Sep 12 15:10:41 EDT 2014


Easiest fix is to set the rounded rec to opaque before making the image.

On Fri, Sep 12, 2014 at 1:02 PM, Peter Haworth <pete at lcsql.com> wrote:

> Using the windowshape property of a stack for the first time and things
> aren't working quite as expected.
>
> I created a rounded rectangle graphic and then exported a snapshot of it to
> an image.  When the stack is opened, I set the windowshape to the id of the
> image.
>
> I see the outline of the card but none of the controls on it are visible.
>  I suspect this is something to do with the "1-bit transparency mask" and
> "full alpha mask" described in the windowshape dictionary entry.
>
> The only masks I know about are the Lone Ranger's and the ones you see on
> Halloween so I'd be grateful if some kind graphics person could enlighten
> me as to what I need to do to get this working :-)
>
> Pete
> lcSQL Software <http://www.lcsql.com>
> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> _______________________________________________
> 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