Pokerupt
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Praise Be To The Sun God.
 
HomeHome  Chat RoomChat Room  Latest imagesLatest images  RegisterRegister  Log inLog in  
Forum Time
Latest topics
» Reasons why I don't watch/like Naruto anymore.
Foobar Volume Problem EmptyMon Feb 23, 2015 10:22 am by Legen2dkiller

» HI GUYS
Foobar Volume Problem EmptyTue Jul 22, 2014 9:42 am by Schylige

» Pokeom X/Y Guide
Foobar Volume Problem EmptyThu Jan 09, 2014 7:33 pm by Kisame

» Old man rivers
Foobar Volume Problem EmptyThu Jan 09, 2014 7:22 pm by Kisame

» Rate my team
Foobar Volume Problem EmptyThu Jan 09, 2014 7:19 pm by Kisame

» Reason why you should buy Final Fantasy XIV: A Realm Reborn
Foobar Volume Problem EmptyThu Jan 09, 2014 7:18 pm by Kisame

» Knack
Foobar Volume Problem EmptyThu Jan 09, 2014 6:12 pm by Gary Oak

» Important Poll
Foobar Volume Problem EmptyThu Jan 09, 2014 6:01 pm by Gary Oak

» Suggestion
Foobar Volume Problem EmptyThu Jan 09, 2014 6:00 pm by Gary Oak

Top posting users this month
No user

 

 Foobar Volume Problem

Go down 
2 posters
AuthorMessage
Schylige

Schylige


Posts : 47
Join date : 2011-02-18

Foobar Volume Problem Empty
PostSubject: Foobar Volume Problem   Foobar Volume Problem EmptyWed Feb 29, 2012 3:11 pm

I got it fixed you fucking faggots.

Foobar Volume Problem CustomBGDesk



Foobar Volume Problem Wat3

function RGB(r,g,b){ return (0xff000000|(r<<16)|(g<<Cool|(b)); }

var font = gdi.Font("ProFontWindows", 9, 0);
var g_drag = 0;
var ww = 55;
var wh = 13;
var color = RGB((127-255-0));
var frameColor = RGB(27-27-27);

function StringFormat()
{
var h_align = 0,
v_align = 0,
trimming = 0,
flags = 0;

switch (arguments.length)
{
case 4:
flags = arguments[3];
case 3:
trimming = arguments[2];
case 2:
v_align = arguments[1];
case 1:
h_align = arguments[0];
break;
default:
return 0;
}

return ((h_align << 28) | (v_align << 24) | (trimming << 20) | flags);
}

var StringAlignment =
{
Near: 0,
Center: 1,
Far: 2
};

function on_paint(e)
{
e.SetTextRenderingHint(5);
var vol = Math.ceil(Math.pow((100 + fb.Volume) / 100, 2) * 100);

// Draw frame background
e.FillSolidRect(0, 0, ww, wh, frameColor);

e.DrawString("Vol:" + vol + "%", font, color, 0, 0, ww, wh, StringFormat(StringAlignment.Far, StringAlignment.Center));
}
function on_mouse_lbtn_down(x, y)
{
g_drag = 1;
}

function on_mouse_lbtn_up(x, y)
{
on_mouse_move(x, y);
g_drag = 0;
}
function on_mouse_move(x, y)
{
if (g_drag)
{
var v = x / ww;
v = v < 0 ? 0 : (v < 1 ? v : 1);
v = 100 * (Math.pow(v, 1 / 2) - 1);
fb.Volume = v;
}
}
function on_mouse_wheel(delta)
{
fb.Volume += delta;
}

function on_volume_change(val)
{
window.Repaint();
}

Also on the 'README' file it gives a brief explaination on how to do it:
' Volume:
Seekbar:
Right click -> configure, there are comments.
For the seekbar's characters it is rather easy,
just replace the 3 variables inside the barChar array with whatever you desire.'


Last edited by Schylige on Mon Mar 19, 2012 6:43 pm; edited 1 time in total
Back to top Go down
Kisame
Rupt Admin
Kisame


Posts : 813
Join date : 2009-12-29
Age : 34

Foobar Volume Problem Empty
PostSubject: Re: Foobar Volume Problem   Foobar Volume Problem EmptyThu Mar 15, 2012 12:41 am

Schylige wrote:
...you fucking faggots.

no u.
Back to top Go down
http://www.last.fm/user/kisame88
Schylige

Schylige


Posts : 47
Join date : 2011-02-18

Foobar Volume Problem Empty
PostSubject: Re: Foobar Volume Problem   Foobar Volume Problem EmptyWed Mar 21, 2012 2:25 pm

Kisame wrote:
Schylige wrote:
...you fucking faggots.

no u.

Yeah, the problem was actually really stupid..

The RGB codes I was using was something like
[130-92-103]
But only for the volume specifically it was supposed to be like
[130, 92, 103]
Back to top Go down
Sponsored content





Foobar Volume Problem Empty
PostSubject: Re: Foobar Volume Problem   Foobar Volume Problem Empty

Back to top Go down
 
Foobar Volume Problem
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Pokerupt :: Gaming Platforms :: PC Gaming Discussion Forum-
Jump to: