Hi Pete:

If you were to position the snapshot image at the topLeft of your stack,
would the controls you can't see fall within the rect of the image?  Am
asking because it doesn't matter where the image resides on a card, the
mask is always drawn from the topLeft of the stack.  So the controls would
have to be positioned within the rect: 0,0,width of your image, height of
your image.

(Also, your image needs to be opaque or have some opacity to be seen, but
I'm sure you know this.)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 9/12/14 12:02 PM, "Peter Haworth" <[email protected]> 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
>[email protected]
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to