Help - Search - Members - Calendar
Full Version: Columns UI newbie, how to highlight track playing ?
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Digmen1
Hi Guys

I am starting to work on my Foobar Columns UI and have been able to make a few changes. I am working on the Columns UI tutorial in Wikipedia.

What I would like to be able to do is to change the colour of the track that is playing.

On my present system (default) if I change the background colour, the track being played at the time is merely highlighted in a darker shade of that colour.

There is an option to change the Selection background (ie when you click on a track), that is OK, but I want to be able to change the colour of the track playing right now to an entirely different colour. Because when I look at my screen quickly to see what track is playing it is hard to see, and I have to look in the status bar.

Is this possible ? I would have though it would have been a standard setting, or at least easy to do.

Any help would be much apprecaited.

Kind Regards

Digby
Yotsuya
You can use the vairable %isplaying% in conjunction with an $if() function to accomplish this. It is a little awkward to tell you specifically what to do without your existing code to work from however whan you would basically want to do is navigate to:
File> Preferences> Display> Columns UI> Playlist view> "Columns" Tab
Select the first column you would like to change colors for in the "Columns" list then select the "Style" subtab toward the right.
If you would like to change the text color you would do something like this:
CODE
$if(%isplaying%,
$set_style(text,$rgb(140,186,236),$rgb(255,255,255))
,
$set_style(text,$rgb(0,0,0),$rgb(255,255,255))
)

If you would like to change the background color you would do something like this:
CODE
$if(%isplaying%,
$set_style(back,$rgb(166,202,240),$rgb(10,36,106))
,
$set_style(back,$rgb(180,180,180),$rgb(10,36,106))
)

Make sure the box "[x] Use custom sort style spec" is checked and repeat the process for each column you want to change the colors for.
Click [Apply], [Save All], [Close] and you should be done.
Digmen1
Thanks for that

I'll give it a go.

Kind Regards

Digby
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.