Support and General Use > Theming and Appearance Customization
Bartag issues
audio-i:
I'm trying to substitute the usual bitmap images for a volume slider in the rayboradio theme, but I haven't been able to.
I have the "slider slot" already on the background image
and I want to make a "volume button" slide across it, so I got the button image, and tried this:
--- Code: ---%xl(A,volumeknob.bmp,0,0)
%V(238,200,60,10,-)
%pv(0,0,50,10,-,nofill,slider,A)
--- End code ---
Is there a way to get rid of the outline that is drawn, without having to load an image (which is already on the background)?
Next I tried was loading the same background image, which achieves much more the desired effect. The viewport is 60x10 (the whole slot), and the %pv size parameters are set to 50x10, because from what I've seen, that's the way to make the slider go to 60 when the volume is set to max (image is 10x10). The problem is that when the volume is turned down again from maximum, the portion of the viewport that is "outside" the %pv parameters (between 50 and 60) is shown kind of distorted (see below), is there a way to avoid this?
--- Code: ---%pv(0,0,50,10,volumedummy.bmp,nofill,slider,A)
--- End code ---
JdGordon:
I can add an option to to not draw the border.
I don't get why you arent using the full 60 width for the slider. Has it got a math bug which causes it to be drawn outside the viewport when dB > 0?
audio-i:
--- Quote from: JdGordon on October 07, 2010, 07:34:02 PM ---I can add an option to to not draw the border.
--- End quote ---
That'd be great, thanks, I think many sliders would be like the one in the example.
--- Quote from: JdGordon on October 07, 2010, 07:34:02 PM ---I don't get why you arent using the full 60 width for the slider. Has it got a math bug which causes it to be drawn outside the viewport when dB > 0?
--- End quote ---
I didn't realize it would be a bug :) but then yes, that's the case (clearly seen in the images of the example with the borders)
JdGordon:
file a bug so i dont forget :)
JdGordon:
audio-i, can you come on irc? I think i might see the issue...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version