AW: How to assign Hi-DPI images as button icons?
Tiemo Hollmann TB
toolbook at kestner.de
Fri Oct 28 05:41:36 EDT 2016
Thanks Peter for the confirmation, now I know where heading for.
Tiemo
-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag
von Peter TB Brett
Gesendet: Freitag, 28. Oktober 2016 11:38
An: How to use LiveCode <use-livecode at lists.runrev.com>
Betreff: Re: How to assign Hi-DPI images as button icons?
On 28/10/2016 10:29, Tiemo Hollmann TB wrote:
> Hello,
>
> I made my first tests on windows with 2 sets of images, standard and
> @extra-high, which works fine.
>
> What I don't see is, how to assign two sets of images as button icons
> for each state of the button. I can't refer button icons to an
> external filename, only to images, which are imported anywhere in the
> stack. Do I miss anything here?
No, you didn't miss anything!
> The only way I see is to create for each button and state of button
> one hidden image object with a link to an external (standard-) image,
> and link each button icon to one of these images. Is this the straight
> forward way to work with hi res button icons?
When I have done this in the past, I have added an extra card to the stack
with all of the images I use (linked to external image files), and then link
the buttons to the appropriate images.
Peter
--
Dr Peter Brett <peter.brett at livecode.com> LiveCode Technical Project Manager
lcb-mode for Emacs: https://github.com/peter-b/lcb-mode
_______________________________________________
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