Home » Developing U++ » UppHub » StaticImage enhancement
Re: StaticImage enhancement [message #39713 is a reply to message #39711] |
Fri, 19 April 2013 15:44   |
Didier
Messages: 728 Registered: November 2008 Location: France
|
Contributor |
|
|
Hi Koldo,
Quote: | It is possible to call a .iml Image by program "manually" but AFAIK this is only possible for the IMAGECLASS and IMAGEFILE defined in source.
This way StaticImage code cannot open an IMAGEFILE defined in your source.
|
The ModifiedStaticImage can open images from iml files that come from any package (at least the ones added in you're project : I didn't verify for other cases).
Quote: | Image img = LoadFromIml("Controls4U:Controls4U.iml:ImageSample_90");
|
I think iml images can be retrieved by name so "all their is to do" is being able to get an iml image from this longer 'namePath' pattern.
==> Their are probably only 2 things to do:
- modify '.lay' files and <CtrlCore/lay.h> so that the file namePath gets automatically added to the generated iml class
- Add a global object that can retrieve iml class instances from the file pathName .... and then we could get the image using 'ImlManager.Get("imlPath").Get("imageName")'
NB: point 1 requires a modification in the layout designer of theIde
[Updated on: Fri, 19 April 2013 15:46] Report message to a moderator
|
|
|
 |
|
StaticImage enhancement
By: Didier on Tue, 16 April 2013 23:15
|
 |
|
Re: StaticImage enhancement
By: koldo on Wed, 17 April 2013 08:31
|
 |
|
Re: StaticImage enhancement
By: Didier on Wed, 17 April 2013 23:49
|
 |
|
Re: StaticImage enhancement
By: koldo on Fri, 19 April 2013 12:57
|
 |
|
Re: StaticImage enhancement
By: Didier on Fri, 19 April 2013 15:44
|
 |
|
Re: StaticImage enhancement
By: koldo on Sat, 20 April 2013 00:05
|
 |
|
Re: StaticImage enhancement
By: Didier on Mon, 22 April 2013 20:14
|
 |
|
Re: StaticImage enhancement
By: koldo on Tue, 23 April 2013 09:09
|
 |
|
Re: StaticImage enhancement
By: Didier on Wed, 24 April 2013 00:02
|
 |
|
Re: StaticImage enhancement
By: koldo on Wed, 24 April 2013 08:29
|
 |
|
Re: StaticImage enhancement
By: Didier on Thu, 25 April 2013 20:45
|
Goto Forum:
Current Time: Sun Jun 08 22:40:42 CEST 2025
Total time taken to generate the page: 0.04212 seconds
|