Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > BS.Player Skins and Skinning
Register FAQ Calendar Today's Posts Search

BS.Player Skins and Skinning Comments on skins, new ideas, skinmaker, skinmaker documentation, or anything else concerning BS.Player skins

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 15th February 2004
Junior Member
BS.Player Newbie
 
Join Date: Feb 2004
Posts: 5
Rep Power: 0
metal_termite is an unknown quantity at this point
Default Volume Track (HBtn)

The instructions in skin.ini aren't too clear for the horizontal button volume track.

The old way worked fine, but wont work in the new version for me.

[Volume]
VolumeKind=CH
Volume=167,14,208
VolumeBtn=vol

In the new version I cannot get the volume HBtn to move. The PosSize variable deals with x,y,w,h but how do i indicated how far I want my HBtn to go? The old method had Volume=x,y, and max x distance.

[Volume]
Kind=HBtn
PosSize=167,14,12, 7
ButtonImg=vol
TransparentBg=0
Reply With Quote
  #2 (permalink)  
Old 17th February 2004
Member
BS.player Regular User
 
Join Date: Feb 2004
Location: USA
Posts: 37
Rep Power: 0
kylek is an unknown quantity at this point
Default

The volume button will not move unless a video is playing. That may be your first problem.
Here's what your numbers are:
167=upper-left x-position of volume bar
14=upper-left y-position of volume bar
12=width volume bar will be
7=height volume bar will be

so as you have it now, the volume button will be on zero at x=167 and be on 100% at x=179 with a height of 7 pixels going from y=14 to y=21.

seems like your's should be:
volume=167,14,208(or width of volume bar),(height of volume bar)
Reply With Quote
  #3 (permalink)  
Old 17th February 2004
Member
BS.player Regular User
 
Join Date: Feb 2004
Location: USA
Posts: 37
Rep Power: 0
kylek is an unknown quantity at this point
Default

sorry that's possize=167,14,(width of volume bar),(height of volume bar)
Reply With Quote
  #4 (permalink)  
Old 17th February 2004
Junior Member
BS.Player Newbie
 
Join Date: Feb 2004
Posts: 5
Rep Power: 0
metal_termite is an unknown quantity at this point
Default

k thanks for the help.

i'm trying to port the modern winamp5 skin. hopefully i'm not breaking any copyright law.

Reply With Quote
  #5 (permalink)  
Old 18th February 2004
Junior Member
BS.Player Newbie
 
Join Date: Feb 2004
Posts: 5
Rep Power: 0
metal_termite is an unknown quantity at this point
Default

It worked. now i'm having trouble with the track btn :/ the little track button wont show up. (the dimensions of the track button are 20x7)

i'll just post a chunk of the skin.ini maybe i'm doing something wrong.

[TrackBar]
; Position and size
; x,y,w,h (w,h is ignored if TrackKind=HB,VB)
PosSize=317,19,300,7

; Track bar kind,
; H-Horizontal, V-Vertical, HB-Custom bitmap horizontal, VB-Custom bitmap vertical
; HBtn - button Horizontal, VBtn - button Vertical
Kind=HBtn

;If TrackKind=HB, name of the bitmap that will be used
;Bitmap=

; If HBtn or VBtn
ButtonImg=seek

; same parameters as TrackBar
[Volume]
PosSize=167,14,50,7
Kind=HBtn
ButtonImg=vol
TransparentBg=0
Reply With Quote
  #6 (permalink)  
Old 19th February 2004
Member
BS.player Regular User
 
Join Date: Feb 2004
Location: USA
Posts: 37
Rep Power: 0
kylek is an unknown quantity at this point
Default

Great looking skin you have there. Perhaps you could make a redish or bluish variant of the theme sometime. I've done some experimenting and the only possible problem i found, assuming your numbers are correct, was with your "buttonimg". here's your code:

[TrackBar]
PosSize=317,19,300,7
Kind=HBtn
ButtonImg=seek

for your "buttonimg" you point to the files "seek[n|u|d].bmp". So make sure you have a "seekn.bmp" file for normal view, a "seeku.bmp" file for when your mouse is over the button, and a "seekd.bmp" file for when you press the button. All three files can be the same, but i think they need to be named in that format to work.

Hopefully, this is the problem.
Reply With Quote
  #7 (permalink)  
Old 3rd March 2004
Junior Member
BS.Player Newbie
 
Join Date: Feb 2004
Posts: 5
Rep Power: 0
metal_termite is an unknown quantity at this point
Default

thanks for all the help.



you can download it here if you want http://www.deviantart.com/deviation/5636868/

edit: fixed link
Reply With Quote
Reply

Tags
hbtn, track, volume


Posting Rules


All times are GMT +1. The time now is 01:52 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20