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 Search this Thread Display Modes
  #1 (permalink)  
Old 12th June 2005
Junior Member
BS.Player Newbie
 
Join Date: Oct 2004
Posts: 8
Rep Power: 0
salazar is an unknown quantity at this point
Default Remote control : how to resize the BSplayer window ?

In the bsp.c included in the sdk package, there are the details of messages to send to BSPLAYER.exe.
I would like to resize the window (width = 800), to move it and to hide the player. But i don't kow if there are good commands ???

If you kow the correct name of command below, said it to me.
Thank's


#define BSP_ExitFScreen 0
#define BSP_VolUp 1
#define BSP_VolDown 2
#define BSP_DeDynUp 3
#define BSP_DeDynPreUp 4
#define BSP_DeDynDown 5
#define BSP_DeDynPreDown 6
#define BSP_Preferences 7
#define BSP_FrmCapture 8
#define BSP_Frm2 9
#define BSP_FS_Switch 10
#define BSP_SubsEnDi 11
#define BSP_Skins 12
#define BSP_AStrmVolCyc 13
#define BSP_Rew 14
#define BSP_Forw 15
#define BSP_SubCorInc 16
#define BSP_SubCorDec 17
#define BSP_SubCorIncS 18
#define BSP_SubCorDecS 19
#define BSP_Play 20
#define BSP_Pause 21
#define BSP_Stop 22
#define BSP_ViewChp 23
#define BSP_VBlankSwitch 24
#define BSP_Prev 25
#define BSP_PrevCh 26
#define BSP_PrevCD 27
#define BSP_Next 28
#define BSP_NextCh 29
#define BSP_NextCD 30
#define BSP_ATop 31
#define BSP_OvrTop 32
#define BSP_AspCyc 33
#define BSP_PlayList 34
#define BSP_Mute 35
#define BSP_JumpToTime 36
#define BSP_Zoom50 37
#define BSP_Zoom100 38
#define BSP_Zoom200 39
#define BSP_AspOrg 40
#define BSP_Asp169 41
#define BSP_Asp43 42
#define BSP_FSSW640 43
#define BSP_FSSW800 44
#define BSP_VInf 45
#define BSP_PanIn 46
#define BSP_PanOut 47
#define BSP_ZoomIn 48
#define BSP_ZoomOut 49
#define BSP_MoveLeft 50
#define BSP_MoveRight 51
#define BSP_MoveUp 52
#define BSP_MoveDown 53
#define BSP_FRSizeLeft 54
#define BSP_FRSizeRight 55
#define BSP_FRSizeUp 56
#define BSP_FRSizeDown 57
#define BSP_ResetMov 58
#define BSP_HideCtrl 59
#define BSP_EQ 60
#define BSP_OpenAud 61
#define BSP_OpenSub 62
#define BSP_OpenMov 63
#define BSP_PanScan 64
#define BSP_CusPanScan 65
#define BSP_DeskMode 66
#define BSP_AddBk 67
#define BSP_EditBK 68
#define BSP_SkinRefr 69
#define BSP_About 70
#define BSP_CycleAS 71
#define BSP_CycleSub 72
#define BSP_IncPBRate 73
#define BSP_DecPBRate 74
#define BSP_IncPP 75
#define BSP_DecPP 76
#define BSP_Exit 77
#define BSP_CloseM 78
#define BSP_JumpF 79
#define BSP_JumpB 80
#define BSP_ChBordEx 81
#define BSP_CycleVid 82
#define BSP_IncFnt 83
#define BSP_DecFnt 84
#define BSP_IncBri 85
#define BSP_DecBri 86
#define BSP_MovSubUp 87
#define BSP_MovSubDown 88
#define BSP_SHTime 89
#define BSP_IncBriHW 90
#define BSP_DecBriHW 91
#define BSP_IncConHW 92
#define BSP_DecConHW 93
#define BSP_IncHueHW 94
#define BSP_DecHueHW 95
#define BSP_IncSatHW 96
#define BSP_DecSatHW 97
#define BSP_ShowHWClr 98
#define BSP_IncMovWin 99
#define BSP_DecMovWin 100
#define BSP_IncPBRate1 101
#define BSP_DecPBRate1 102
#define BSP_SWRepeat 103
#define BSP_SWDispFmt 104
Reply With Quote
  #2 (permalink)  
Old 13th June 2005
Moderator
BS.Player Master
 
Join Date: Nov 2003
Location: Italy
Posts: 3,037
Rep Power: 27
Tizio will become famous soon enough
Default

If you want to resize the video window in Normal (NOT FullScreen) mode you may use BSP_IncMovWin=99 and BSP_DecMovWin=100 commands.
The problem is that you can't resize it to a predefined size, but only increment/decrement it. You should read from the movie file the MovieWindowSize and calculate the steps you have to increment the window (this only if BSplayer starts playing the movie in Original aspect ratio and with the original movie dimension).
If you want you can hide (and re-show) the BSplayer skin by sending the BSP_HideCtrl=59 command.

If the names are not so explanatory to you, you can go in the Lang folder of BSplayer, and take a look at "English.lng" file at the section [Actions]. There, are listed all the actions you can use in BSplayer (even the ones not included in the SDK).

Note that you have to decrement by 1 the values in the .lng file to match the ones used for the SendMessage calls.
Ex.:
File English.lng 21=Play
SDK Action BSP_Play=20
__________________
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 16th June 2005
Moderator
BS.Player Master
 
Join Date: Nov 2003
Location: Italy
Posts: 3,037
Rep Power: 27
Tizio will become famous soon enough
Default

http://forum.bsplayer.org/viewtopic.php?p=20468#20468
__________________
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
control, remote, resize

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules


All times are GMT +1. The time now is 07:35 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