QUOTE(hedge153 @ Feb 27 2005, 12:26 PM)
QUOTE(rustydomino @ Feb 28 2005, 03:52 AM)
On an semi-related rant, formatting color is pretty poorly documented. As far as I could tell, there is one button labeled "Tools" in columns_ui when you click it, gives you the option for "string help", that explains how the pipes demarcate the different color properties. took me awhile messing with the program and looking at others' strings before I worked this out. Should this not be in the newbie guide?
thanks,
Mike
Totally agree, there should be some solid documentation out there. This is really the only thing stopping me from making my own config, the lack of info out there about the colour strings.
hi,
FYI here is what I have learned. You can either express RGB color info as hexidecimal form, or as RGB decimal form. For hexidecimal form, you need to bracket the color code with some sort of Unicode control character. So for instance, black would be:
000000
you can also decimal form, using the function $rgb(). So black would be:
$rgb(0,0,0)
In columns_ui, as far as I can tell there are nine fields that you can specify. They are as follows:
text|selected text|background|selected background|[selected background non-focus]|[left frame]|[top frame]|[right frame]|[bottom frame]
each field is separated by a pipe, and the square brackets [] indicate optional fields. Frame refers to the outline of the data field (i.e., a box around the field). I have seen other people's strings where they don't list all the fields, so I don't know how foobar will parse the information if not all fields are present. To be safe, I have been specifying all fields.
An example:
Lets say you want to set the following colors:
text: black
selected text: white
background: white
selected background: black
selected background non-focus: grey
and, you want to draw a green box around each displayed data field
Go to Foobar2000 ->Preferences -> Display -> Columns UI
then select the columns tab. There is a "sub tab" there called colour. Input the following strings:
//define color variables for easier writing
$puts(black,$rgb(0,0,0))
$puts(white,$rgb(255,255,255))
$puts(green,$rgb(0,255,0))
$puts(grey,$rgb(192,192,192))
//the actual color string follows
$get(black)|$get(white)|$get(white)|$get(black)
$get(grey)|$get(green)|$get(green)|$get(green)|$get(green)
This is probably frightfully trivial for 99% of the people reading the forum, but as a newbie myself I found it frustrating that this was not better documented. Hopefully someone else will find this useful.
cheers,
Mike