2012-12-02, 13:30
I like to use a lot of greyscale textures and then use colordiffuse on them for easily configured color.xml's.
But when using controls with multiple textures (focus/nofocus/etc), since colordiffuse is tag instead of texture attribute.
So example of what id like to achieve:
Can't come up with any workarounds or alternative solutions except themes, which i wouldn't like to use.
Does anyone have any ideas?
Edit. Most times I can place "basic" image behind control and leave nofocus texture empty, but with scrolling GroupList that's not an option.
But when using controls with multiple textures (focus/nofocus/etc), since colordiffuse is tag instead of texture attribute.
So example of what id like to achieve:
Code:
<control type="button">
...
<texturefocus colordiffuse="FocusColor">button.png</texturefocus>
<texturenofocus colordiffuse="BasicColor">button.png</texturenofocus>
<label>Button</label>
<textcolor>FFFFFFFF</textcolor>
<disabledcolor>FFFFFFFF</disabledcolor>
<onclick>do.something</onclick>
...
</control>
Can't come up with any workarounds or alternative solutions except themes, which i wouldn't like to use.
Does anyone have any ideas?
Edit. Most times I can place "basic" image behind control and leave nofocus texture empty, but with scrolling GroupList that's not an option.