Can I contribute a script?
![](http://i.imgur.com/Eh00g.png)
Not very impressive I understand, but I'm pleased with how it looks. Mouse over and scroll wheel to change the volume with a digital readout. Double click on it and it goes to full volume. The font you need is called Letters Laughing (at their Execution).
var DT_TOP = 0x00000000;
var DT_CENTER = 0x00000001;
var DT_RIGHT = 0x00000002;
var DT_VCENTER = 0x00000004;
var DT_WORDBREAK = 0x00000010;
var DT_SINGLELINE = 0x00000020;
var DT_CALCRECT = 0x00000400;
var DT_NOPREFIX = 0x00000800;
var IDC_HAND = 32649;
function RGB(r, g, b) {
return (0xff000000 | (r << 16) | (g << 8) | (b));
}
//-------------------------------- START
function on_paint(gr) {
gr.SetTextRenderingHint(5);
var ww = window.Width;
var wh = window.Height;
var text = Math.round(fb.Volume) + " dB ";
gr.FillSolidRect(0, 0, ww, wh, RGB(23,22,20));
gr.GdiDrawText(text, gdi.Font("Letters Laughing", 18, 0), RGB(255,0,0), 0, 0, ww, wh, DT_RIGHT | DT_VCENTER | DT_SINGLELINE);
}
function on_volume_change(val) {
window.Repaint();
if (val < -60) fb.Volume = -60;
}
function on_mouse_lbtn_dblclk(x, y) {
fb.Volume = 0;
}
function on_mouse_wheel(delta) {
if (delta > 0) fb.VolumeUp();
else fb.VolumeDown();
}
function on_mouse_move() {
window.SetCursor(IDC_HAND);
}
//-------------------------------- END