Req Add <texturedisabled> for radio buttons, spin controls
#1
As far as I can tell, it is possible to set a disabled color for radio button and spin control labels. I haven't been able to figure out how to change the color of the texture when disabled though. Would be nice if we had a <texturedisabled> tag for radio buttons and spin controls. Would allow something like this...

Code:
<texturedisabled colordiffuse="disabled">myradiobutton.png</texturedisabled>

Thanks!
Reply
#2
Code:
!Control.IsEnabled(id)
Reply
#3
Thanks Hitcher, this would mean duplicating all of the radio/spin controls though, right? I was hoping to be able to put the one line in my defaults.xml and be done with it.
Reply
#4
Unfortunately, yes.

I think I requested that it used the current control's ID if it was omitted at one point.
Reply
#5
I took the plunge and setup a build environment on my Windows 8 htpc. First time looking at the core code, but was able to add support for disabled textures for radio/spin controls. See pull request here:

https://github.com/xbmc/xbmc/pull/6943
Reply
#6
Big +1 for this!
 
Reply
#7
Anyone from team could review it?
Reply
#8
(2015-04-15, 09:42)Sorien Wrote: Anyone from team could review it?

They're reviewing it. Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Add <texturedisabled> for radio buttons, spin controls1