TriAn Posted November 28, 2009 Share Posted November 28, 2009 Does "button" class have property similar to "colr" property of "picture" class? Link to post Share on other sites More sharing options...
Drakestone Posted November 28, 2009 Share Posted November 28, 2009 Yes, you should be able to make any image within a skin turn to a teams colour. Look in the header.xml and find the titlebar background. It should have a command and the end saying tr=68 or something like that. Link to post Share on other sites More sharing options...
radestock Posted November 28, 2009 Share Posted November 28, 2009 You can't change the colours of buttons to be team specific. The 'colour' setting for a button refers to the text colour so you can't use the regular code: <attachment class="get_global_attachment" get_property="bkcl" set_property="colr"/> In the past I've gotten round this by simply placing a graphic in the same shape as the button behind the button itself, with the button being transparent or a slight gradient. You can only do this for buttons that don't move though obviously. Dynamically generated buttons you can't do anything about/ Link to post Share on other sites More sharing options...
TriAn Posted November 28, 2009 Author Share Posted November 28, 2009 radestock, it is exactly that I thought. Thanks. Link to post Share on other sites More sharing options...
Drakestone Posted November 28, 2009 Share Posted November 28, 2009 You can't change the colours of buttons to be team specific. The 'colour' setting for a button refers to the text colour so you can't use the regular code:<attachment class="get_global_attachment" get_property="bkcl" set_property="colr"/> In the past I've gotten round this by simply placing a graphic in the same shape as the button behind the button itself, with the button being transparent or a slight gradient. You can only do this for buttons that don't move though obviously. Dynamically generated buttons you can't do anything about/ Apologies, what I was trying to say was the same thing just indirectly, if you look at the header there is an image for the bar itself and then an image for the overlay. You'dd need to do it the same way as radestock stated. Link to post Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.