Recently I have been making a few changes to the skin that I use. I have re-arranged some of the data on the screen, and that works OK. But I cannot get the skin engine to display the colours that I want. The skin ("DefaultWide" in MP 1.12) uses picture backgrounds, which I find make the text more difficult to read. So I want to replace those by plain coloured backgrounds. This is what I have done:
(1) I replaced the background image "background.png" with "white.png". I have looked at the latter in "Photoshop", and it is a tri-colour image with all of the colour planes set to "255".
(2) I commented out various overlays that seemed to produce non-uniform backgrounds (e.g. darker central band, with lighter bands at the top and bottom of the panel).
(3) I tried various values for the COLORDIFFUSE attribute. But virtually all values result in a black background. These are the values that I tried and the colour of the background that results:
I also tried some other combinations, using #80 for the alpha channel (which produces mid grey when combined with #ffffff):
So, how do I get this to work? I want to be able to choose from any of the 2**24 possible colours (256 x 256 x 256). Do I need to use "black.png", or possibly a second image to act as an overlay? The behaviour that I have found so far is completely puzzling. Thanks for any help.
-- from CyberSimian in the UK
(1) I replaced the background image "background.png" with "white.png". I have looked at the latter in "Photoshop", and it is a tri-colour image with all of the colour planes set to "255".
(2) I commented out various overlays that seemed to produce non-uniform backgrounds (e.g. darker central band, with lighter bands at the top and bottom of the panel).
(3) I tried various values for the COLORDIFFUSE attribute. But virtually all values result in a black background. These are the values that I tried and the colour of the background that results:
Code:
#00000000 Black
#40ffffff Black
#50ffffff Black
#58ffffff Black
#5bffffff Black
#5dffffff Black
#5fffffff Black
#60ffffff Darker grey
#61ffffff Black
#80ffffff Mid grey
#a0ffffff Black
#c0ffffff Black
#e0ffffff Black
#ffffffff White
I also tried some other combinations, using #80 for the alpha channel (which produces mid grey when combined with #ffffff):
Code:
#ff000000 Black
#80ff0000 Black
#8000ff00 Black
#800000ff Black
#80ff00ff Black
#8000ffff Black
#80ffff00 Black
So, how do I get this to work? I want to be able to choose from any of the 2**24 possible colours (256 x 256 x 256). Do I need to use "black.png", or possibly a second image to act as an overlay? The behaviour that I have found so far is completely puzzling. Thanks for any help.
-- from CyberSimian in the UK