Carbon 2.0 now available! 
Once upon a time there was a look...
Get it here!
Requirement: This look requires the
Silkscreen font by Jason Kottke. You must copy the font into your Windows Fonts directory and then open it when it is in the directory or restart.
Buttons:- When hovering the mouse of the look, previous, play, pause, stop, next buttons are visible and respond to left clicks as would be expected.
- The leftmost of the three buttons on the very right of the look toggles the foobar2000 window on left click, and shows the preferences window on right click.
- The second of the three buttons causes a color selection tray to pop out, with three bars for setting the hue, saturation, and value of the look. When a new color is chosen, the RGB values are shown in the foobar2000 console, which can then be placed in the look configuration to set a new default color.
- On the bottom right of the color tray there is a dark square which can be used to resize the look by clicking and dragging.
- The final button closes the look on left click, and closes foobar2000 on right click.
Several rewrites and optimizations followed Carbon 1.5. Features were added along the way, and I tried to make the look as configurable as possible (see description of presets section below).
New features include:- Ability to resize the look.
- Hue/Saturation/Value bars.
- Time elapsed/Time remaining
- Advanced preset configuration
- Modular, reusable code.
- Bug-free (Hopefully)
Presets:CODE
width - Sets the default width of the look, must be greater than zero.
minwidth - Sets the minimum width of the look, so the resizer can't make the look disappear etc. Must be greater than zero as well.
minvolume - The minimum volume of the volume bar. Ranges between -100 and 0.
defaulttime - Whether the elapsed (defaulttime = 0) or the remaining time (defaulttime = 1) should be shown by default.
songspec - The formatting string used for the look.
In addition to these presets, you can play with the top global variables in the
colorbar LUA script. To take advantage of the new hue, saturation, and value bars I decided to make the progressbars semi-transparent. You can override this, as well as the colors on the rest of the look by modifying the values here. I commented out the color values used by the original Carbon/Coal look, so you can easily modify the new version to look like the old (Though I prefer it this way). If anyone needs help with this, feel free to message or e-mail me.
For the developers, cool new things:- Updated colorbar, progressbar, volumebar, resize scripts.
- Use of semi-transparent sprites to create highlights and shadows.
- Song time sprite, using XOR logic to take both a preset and toggle into account (In a single line of code!)
Thanks to upNorth for his deltax algorithm from the resize script, and the hsv2rgb and rgb2hsv functions from the colorbar script (Both of these worked much better than my own attempts).
Another link to the look, in case you didn't see the others or think about clicking on the picture!
Suggestions and bug reports should be posted here or sent to
my e-mail.