Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > BS.Player Skins and Skinning

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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 21st June 2006
Kordo's Avatar
Member
BS.player Regular User
 
Join Date: May 2004
Posts: 55
Rep Power: 0
Kordo is an unknown quantity at this point
Default Slide Buttons (DVD,Video etc)

I'm trying to put this feature in my new skin but seem to have some issues.

Does anyone know if you are able to make the slide buttons used in the base skin go to the left? Any would be great direction?

Does this option have to be at the edge of the skin? I'm trying to overlay it on the image.

What is the breakdown of the codes:


[AddSkinArea]
BgImage=extbg
;TransColor=f400fd
NumSection=5
AttachAt=396,6 is this X, Y
DefRect=78,0,117,103 X, Y, H W what is DefRect?
DefSection=0

Btn1=exvideo,79,0,0,1;VIDEO
Btn2=exdvd,79,22,0,2;DVD
Btn3=exaudio,79,43,0,3;AUDIO
Btn4=exradio,79,64,0,4;RADIO
Btn5=extv,79,84,0,5;TV

[AddSkinArea.1]
Number=8
Rect=0,0,117,103
Btn1=exvbtn1,11,8,0,112;Subs
Btn2=exvbtn2,10,35,0,10;$lang.Menu.32
Btn3=exvbtn3,10,57,0,33;$lang.Menu.39
Btn4=exvbtn4,10,80,0,66;$lang.Menu.33
Btn5=exvbtn5,51,8,0,98;
Btn6=exvbtn6,49,37,0,98;Font, subs
Btn7=exvbtn7,47,58,0,98;$lang.Menu.31
Btn8=exvbtn8,51,80,0,103;Repeat mode


If anyone can break this down it would be appreciated.

I've attached an image of the sliding buttons I'm trying to make.

Regards, Kordo.
Attached Images
File Type: gif untitled_1_769.gif (11.5 KB, 52593 views)
Reply With Quote
  #2 (permalink)  
Old 21st June 2006
Moderator
BS.Player Master
 
Join Date: Nov 2003
Location: Italy
Posts: 3,037
Rep Power: 20
Tizio will become famous soon enough
Default Re: Slide Buttons (DVD,Video etc)

Quote:
Originally Posted by Kordo
Code:
[AddSkinArea]
BgImage=extbg
;TransColor=f400fd
NumSection=5
AttachAt=396,6                      is this X, Y
DefRect=78,0,117,103            X, Y, H W what is DefRect?
DefSection=0

Btn1=exvideo,79,0,0,1;VIDEO
Btn2=exdvd,79,22,0,2;DVD
Btn3=exaudio,79,43,0,3;AUDIO
Btn4=exradio,79,64,0,4;RADIO
Btn5=extv,79,84,0,5;TV
DefRect stores the information for the default portion of BgImage to be shown for the Skin areas.
If you open BgImage (= extbg.bmp) you'll see that the rectangle 78,0,117,103 is the one you see every time you start BSplayer (the one with VIDEO, DVD, AUDIO, RADIO and TV buttons only), and its format is not X,Y,W,H but instead it's X,Y,FinalX,FinalY

AttachAt tells BSplayer where to attach the skin areas to the main image. If you open main.bmp image, you'll see that x=396;y=6 is the location where the area skins are attached to.
I tried with negative coordinates, but without success, so I think it's not possible (at this time) to open that panel to the left..
You can add ButtonGroups that can be opened to the left (even if you have less possibilities than skin areas):

Code:
[Buttons]
...

BtnGrpNum=2

[BtnGrp1]
...
Direction=Up
...

[BtnGrp2]
...
Direction=Left
...
Maybe take a look also to the Fullscreen ButtonGroups since in Full screen There isn't a BtnGrpNum line, and buttongoups are enumerated in a different way (i.e.: [BtnGrp1001]), they work like this:
You have to define a button with a not existing action, and that action will be the ButtonGroup ID

Code:
[Buttons]
...
Btn6=fsb1,350,11,0,1000;subtitles
...
Once you click on the subtitles button, the [BtnGrp1000] will be enabled.
I hope these information will be of help to you and also other users
__________________
BSP SkinMaker (v1.07) the one and only Skin Editor for BSplayer
BSP Definitions Manager (v1.02)
BS.Player's FAQ (by BSPeter) | Italian language file (v2.57 build 1051)
Reply With Quote
  #3 (permalink)  
Old 22nd June 2006
Kordo's Avatar
Member
BS.player Regular User
 
Join Date: May 2004
Posts: 55
Rep Power: 0
Kordo is an unknown quantity at this point
Default

Thanks Tizio,

I try changing the figures on the base skin and know see what you mean. I don’t see why you would need the Final X and Final Y figure. It just seems to cut the image off if it’s less that the image size. I also tried a AttachAt=-79,6 to see if it would show on the left hand side and sure enough it did not. This is a same as it really limited your design of the skin. I could re-design what I’ve done so hard but I think I just leave this option out at the moment. I have planned to use the features of the full screen, hope they work the why I thinks they will work.

Thanks for your help. Also I tried to log in to see if I could upload a skin but cannot get it (not that I’m ready to post my skin). Try and register and the screen just goes blank. Are you able to log in?

Cheers, Kordo.
Reply With Quote
  #4 (permalink)  
Old 22nd June 2006
Moderator
BS.Player Master
 
Join Date: Nov 2003
Location: Italy
Posts: 3,037
Rep Power: 20
Tizio will become famous soon enough
Default

The FinalX and FinalY values could be useful if you want to hide also a portion at the right/bottom of the default image..

Try to use the ButtonGroups, they should work for you.

I'm able to log-in (and my login data is shown in the top-right corner of the homepage), but when I try to upload a skin (only a test) I am redirected to the homepage.. I'll write to the admins reporting this issue..
__________________
BSP SkinMaker (v1.07) the one and only Skin Editor for BSplayer
BSP Definitions Manager (v1.02)
BS.Player's FAQ (by BSPeter) | Italian language file (v2.57 build 1051)
Reply With Quote
Reply

Tags
buttons, dvd, slide, video

Thread Tools
Display Modes

Posting Rules


All times are GMT +1. The time now is 07:30 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, 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