New feature for different odd and even lines colors.

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: New feature for different odd and even lines colors.

by trixmoto » Tue Oct 18, 2005 11:56 am

That's excellent news. Means it'll work with images in old versions but work better with colours in new versions. Well done! :)

by jiri » Tue Oct 18, 2005 11:25 am

The color stripes have higher priority, i.e. they are drawn over the images. You'll see soon... :wink:

Jiri

by trixmoto » Tue Oct 18, 2005 10:32 am

What happens if the colours are defined in Font.ini and there are images? Which is used and which is ignored?

by rovingcowboy » Tue Oct 18, 2005 9:33 am

okay so this is not needed to be added if there is the want for an image.
and if it is in the default font ini then we can remove it from there and go back the way it was to use the image backgrounds okay. 8)

this is cool thanks for the extra coding work you did jiri. :lol:

by trixmoto » Tue Oct 18, 2005 6:59 am

Ok, cheers. As I'm using silver (239,239,239) it doesn't make a difference if it's RRGGBB or GGBBRR! :)

by jiri » Tue Oct 18, 2005 6:41 am

Zeros aren't necessary, just 0x prefix is in order to make the number hexadecimal. It's just 32 bit coding of a color.

Jiri

by trixmoto » Tue Oct 18, 2005 5:02 am

I guess not. What do the 0s represent in 0x00ggbbrr. I have not seen this colour format before, is it not normal to have rrggbb like in HTML colours?

by jiri » Tue Oct 18, 2005 4:41 am

I think that this feature doesn't make much sense for skins where an artist wants to use some image as a background.

Jiri

by trixmoto » Tue Oct 18, 2005 4:22 am

This will work well for my skin, but what about skins that use background images rather than colours?

New feature for different odd and even lines colors.

by jiri » Tue Oct 18, 2005 4:14 am

Recently some skin designers for MM started creating skins where odd and even lines of Track list have different colors. They had to use background image and it, of course, caused problems when users had different DPI settings selected.

Now there's a new feature that fixes this problem, you can explicitely specify colors for odd and even rows. Just locate fonts.ini in the skin file (or create a new one if it doesn't exist yet) and place something like this there:

[TrackList]
OddColor=0x00ff0000
EvenColor=0x0000ff00

[NPList]
OddColor=0x000000ff
EvenColor=0x0000ff00

The colors are in RGB (or 0x00GGBBRR to be exact) and can be set individually for TrackList and Now Playlist (although they will probably be better the same).

Jiri

P.S.: This feature is available starting from MM 2.5 alpha 4.

Top