New feature for different odd and even lines colors.

If you want to contribute MediaMonkey skins, themes, icons, etc...

Moderators: Morten, Gurus

jiri
Posts: 5426
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

New feature for different odd and even lines colors.

Post by jiri »

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.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

This will work well for my skin, but what about skins that use background images rather than colours?
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
jiri
Posts: 5426
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Post by jiri »

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

Jiri
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

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?
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
jiri
Posts: 5426
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Post by jiri »

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
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Ok, cheers. As I'm using silver (239,239,239) it doesn't make a difference if it's RRGGBB or GGBBRR! :)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Post by rovingcowboy »

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:
Last edited by rovingcowboy on Tue Oct 18, 2005 10:37 am, edited 1 time in total.
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

What happens if the colours are defined in Font.ini and there are images? Which is used and which is ignored?
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
jiri
Posts: 5426
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Post by jiri »

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

Jiri
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

That's excellent news. Means it'll work with images in old versions but work better with colours in new versions. Well done! :)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Post Reply