2015-08-12, 21:09
Jep, from a brief look at the code only var and info are supported right now. Will try to get param working as this might work and we don't have to mess around in switching layouts when fetching properties.
<item id="1">
<thumb colordiffuse="FFd2d2d2">white.png</thumb>
<label>FFd2d2d2</label>
</item>
(2015-08-12, 21:05)tomer953 Wrote: Jay, I also tried very basic test before messing with all the $INFO and stuff, and it seems like colordiffuse just don't work with $PARAM, I tried this one:
Quote:
Also in this subject, an option to colordiffuse a "thumb" inside an "item" in content list, will be awesome... (build a whole color picker with one single "white.png" texture, and remove my 100 4x4 pngs)
Code:<item id="1">
<thumb colordiffuse="FFd2d2d2">white.png</thumb>
<label>FFd2d2d2</label>
</item>
xml:
<itemlayout height="100" width="166">
<control type="group">
<control type="image">
<colordiffuse>$INFO[ListItem.Something]</colordiffuse>