2012-05-29, 00:22
Having a slight problem with the SliderEx control. I have been creating a settings menu system, and every default control including Buttons, Radio Buttons and SpinControls have done what I have expected on them. In the case of SliderEx, I'm not so lucky.
With my controls, I'm using <colordiffuse> as a global skin color changer e.g. <colordiffuse>$INFO[Skin.String(global_color)]</colordiffuse>. This generally, in the case of the menu I'm making, changes the color of the button graphics, but in the case of SliderEx control, it diffuses the color of of the slider and leaves the button graphics the original color. This obviously does not go with the theme of the menus I am creating, so when I move between settings options, i'll go through some buttons and Radios with the diffused color and then suddenly, a button with the default color. Check out the code below:
<control type="sliderex" id="8">
<posx>0</posx>
<posy>0</posy>
<width>936</width>
<height>49</height>
<textcolor>grey</textcolor>
<colordiffuse>?</colordiffuse>
<focusedcolor>white</focusedcolor>
<align>left</align>
<font>Font_Condensed18_Caps</font>
<textoffsetx>20</textoffsetx>
<texturefocus>system/settings_buttonfocus.png</texturefocus>
<texturenofocus>system/settings_buttonnofocus.png</texturenofocus>
<texturesliderbar>contols/slider_settings.png</texturesliderbar>
<textureslidernib>contols/slider_settings_nibnf.png</textureslidernib>
<textureslidernibfocus>contols/slider_settings_nib.png</textureslidernibfocus>
<pulseonselect>no</pulseonselect>
</control>
Any way to diffuse the color of <texturefocus> and <texturenofocus> with the line <colordiffuse>?</colordiffuse> instead of the sliders stuff, OR, is there a workaround, which I'm too new to see just yet
Help help help superstars!!!
With my controls, I'm using <colordiffuse> as a global skin color changer e.g. <colordiffuse>$INFO[Skin.String(global_color)]</colordiffuse>. This generally, in the case of the menu I'm making, changes the color of the button graphics, but in the case of SliderEx control, it diffuses the color of of the slider and leaves the button graphics the original color. This obviously does not go with the theme of the menus I am creating, so when I move between settings options, i'll go through some buttons and Radios with the diffused color and then suddenly, a button with the default color. Check out the code below:
<control type="sliderex" id="8">
<posx>0</posx>
<posy>0</posy>
<width>936</width>
<height>49</height>
<textcolor>grey</textcolor>
<colordiffuse>?</colordiffuse>
<focusedcolor>white</focusedcolor>
<align>left</align>
<font>Font_Condensed18_Caps</font>
<textoffsetx>20</textoffsetx>
<texturefocus>system/settings_buttonfocus.png</texturefocus>
<texturenofocus>system/settings_buttonnofocus.png</texturenofocus>
<texturesliderbar>contols/slider_settings.png</texturesliderbar>
<textureslidernib>contols/slider_settings_nibnf.png</textureslidernib>
<textureslidernibfocus>contols/slider_settings_nib.png</textureslidernibfocus>
<pulseonselect>no</pulseonselect>
</control>
Any way to diffuse the color of <texturefocus> and <texturenofocus> with the line <colordiffuse>?</colordiffuse> instead of the sliders stuff, OR, is there a workaround, which I'm too new to see just yet
Help help help superstars!!!