Preview of Resolution Independent Control library for RevMobile
Monte Goulding
monte at sweattechnologies.com
Sun Jul 29 17:37:32 EDT 2012
I was suggesting something along these lines a couple of days ago but both Scott and Chipp shot the idea down in preference for proportional scaling of x2 images. I'm not sure how the low end devices will cope with scaling images on the fly but it would reduce app size. It's worthwhile noting the android devices won't have only 4 density values but 4 density ranges so images would need to be scaled anyway to handle that precisely.
Cheers
--
M E R Goulding
Software development services
mergExt - There's an external for that!
On 30/07/2012, at 3:34 AM, "J. Landman Gay" <jacque at hyperactivesw.com> wrote:
> On 7/29/12 9:44 AM, Richard Gaskin wrote:
>
>> Should we consider adding an imageDirectory property?
>>
>> Is there some simpler way to swap out the paths to all referenced images
>> without changing each one individually?
>
> I think it would be pretty straightforward to do that without an engine change. Build the app with 4 image folders in the bundle. In scripts or image references, use short/relatve file names. On startup, set the directory to the correct image folder.
>
> That approach would require any scripted file paths for user documents to be constructed dynamically using specialFolderPath, but I think most of us do that anyway.
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
> _______________________________________________
> 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