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