home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 July
/
Chip_2003-07_cd1.bin
/
sharewar
/
zoom
/
zplay280.exe
/
Skin
/
plasticbluedvd.skn
< prev
next >
Wrap
Text File
|
2002-06-15
|
6KB
|
193 lines
Plastic Blue DVD Skin (sample) by Blight
//
// This file is file is a semi-tutorial on how to create Zoom Player skins.
// It shows you the exact structure used to create the default DVD skin.
// It is only a sample file and is not required for Zoom Player to operate.
//
//
// Base Information used when loading the skin:
SkinFileName = (plasticblue.bmp)
// Initial settings:
iWinWidth = (557)
iWinHeight = (447)
iVidWidth = (512)
iVidHeight = (384)
iVidLeft = (6)
iVidTop = (6)
iMinWidth = (400)
iMinHeight = (300)
//tLineColor = (008000) <- this isn't required since we're using a bitmap instead
tLineFontSize = (10)
tLineFontYOfs = (-1)
tLineFontFace = (Tahoma)
tLineFontColor = (FFFFFF)
tLineFontStyle = (Bold)
cBarFontSize = (10)
cBarFontYOfs = (0)
cBarFontFace = (Tahoma)
cBarFontColor = (FFFFFF)
cBarFontStyle = (Bold)
cBarButWidth = (20)
cBarButHeight = (20)
//cBarTLColor = (008000) <- this isn't required since we're using a bitmap instead
// Dynamic settings (items with window-size relative positioning):
tLineWidth = (<WinWidth>-134)
tLineHeight = (12)
tLineLeft = (6)
tLineTop = (<WinHeight>-51)
VolLeft = (<WinWidth>-81)
VolTop = (<WinHeight>-53)
RateLeft = (<WinWidth>-125)
RateTop = (<WinHeight>-53)
cBarTLWidth = (<cBarWidth>-6)
cBarTLHeight = (14)
cBarTLLeft = (3)
cBarTLTop = (3)
// TimeLine background and foreground source bitmap position
TimeLineBG(0,65,32)
TimeLineFG(0,111,32)
VolumeData(235,0,44,16)
RateData(280,0,44,16)
// Control Bar TimeLine background source bitmap position
TimeLineCBarBG(0,65,32)
TimeLineCBarFG(0,111,32)
// Top Left Control Bar Corner
CopyCBarBitmap(0,127,3,3,0,0)
// Top Right Control Bar Corner
CopyCBarBitmap(3,127,3,3,<cBarWidth>-3,0)
// Bottom Left Control Bar Corner
CopyCBarBitmap(0,130,3,3,0,<cBarHeight>-3)
// Bottom Right Control Bar Corner
CopyCBarBitmap(3,130,3,3,<cBarWidth>-3,<cBarHeight>-3)
// Top Control Bar Bar
TileCBarBitmapH(8,127,40,3,3,0,<cBarWidth>-6)
// Bottom Control Bar Bar
TileCBarBitmapH(8,127,40,3,3,<cBarHeight>-3,<cBarWidth>-6)
// Left Control Bar Bar
TileCBarBitmapV(0,133,3,6,0,3,<cBarHeight>-6)
// Right Control Bar Bar
TileCBarBitmapV(0,133,3,6,<cBarWidth>-3,3,<cBarHeight>-6)
// Control Bar Button queue,
// buttons will appear in the order they are added (left to right)
// Any button in this list can be manually hidden by the user
AddBarButton(0,140,fnPlay)
AddBarButton(40,140,fnPause)
AddBarButton(80,140,fnSlowMotion)
AddBarButton(80,180,fnRewind)
AddBarButton(120,140,fnFastForward)
AddBarButton(160,140,fnPrevChapter)
AddBarButton(200,140,fnNextChapter)
AddBarButton(240,140,fnStop)
AddBarButton(280,140,fnPrevTrack)
AddBarButton(0,160,fnNextTrack)
AddBarButton(120,180,fnDVDRootMenu)
AddBarButton(40,160,fnZoom)
AddBarButton(80,160,fnZoomIn)
AddBarButton(120,160,fnZoomOut)
AddBarButton(160,160,fnFitSource)
AddBarButton(200,160,fnMax)
AddBarButton(240,160,fnFullscreen)
AddBarButton(160,180,fnARCycle)
AddBarButton(40,200,fnVolUp)
AddBarButton(80,200,fnVolDown)
AddBarButton(280,160,fnOpen)
AddBarButton(0,180,fnPresets)
AddBarButton(0,200,fnPattern)
AddBarButton(120,200,fnEject)
AddBarButton(40,180,fnExit)
// Buttons
CreateButton(49,23,23,23,8,<WinHeight>-31,fnPlay,Play / Pause Video)
CreateButton(49,46,23,23,33,<WinHeight>-31,fnPause,Pause Video)
CreateButton(95,0,23,23,58,<WinHeight>-31,fnStop,Stop Playback)
CreateButton(49,69,23,23,87,<WinHeight>-31,fnRewind,Rewind)
CreateButton(95,69,23,23,112,<WinHeight>-31,fnFastForward,Fast Forward)
CreateButton(141,92,23,23,137,<WinHeight>-31,fnPrevTrack,Previous Chapter)
CreateButton(95,92,23,23,162,<WinHeight>-31,fnNextTrack,Next Chapter)
CreateButton(187,115,23,7,194,<WinHeight>-31,fnDVDMenuUp,Menu Up)
CreateButton(187,122,7,9,194,<WinHeight>-24,fnDVDMenuLeft,Menu Left)
CreateButton(201,122,9,9,201,<WinHeight>-24,fnDVDMenuSelect,Menu Select)
CreateButton(219,122,7,9,210,<WinHeight>-24,fnDVDMenuRight,Menu Right)
CreateButton(187,131,23,7,194,<WinHeight>-15,fnDVDMenuDown,Menu Down)
CreateButton(95,23,23,23,226,<WinHeight>-31,fnZoom,Go into Zoom Mode)
CreateButton(95,46,23,23,251,<WinHeight>-31,fnFullScreen,Switch to Fullscreen)
CreateButton(141,0,23,23,276,<WinHeight>-31,fnOpen,Open a file)
CreateButton(141,23,23,23,301,<WinHeight>-31,fnBar,Show / Hide Control Bar)
CreateButton(141,46,23,23,330,<WinHeight>-31,fnMinimize,Minimize Window)
CreateButton(95,115,23,23,355,<WinHeight>-31,fnEject,Eject selected drive)
CreateButton(49,0,23,23,<WinWidth>-31,8,fnExit,Exit Program)
CreateButton(187,0,23,23,<WinWidth>-31,53,fnPlayList,Open Play List)
CreateButton(141,69,23,23,<WinWidth>-31,78,fnChapter,Open Bookmark Editor)
CreateButton(187,46,23,23,<WinWidth>-31,103,fnPresets,Open Preset Dialog)
CreateButton(187,69,23,23,<WinWidth>-31,128,fnSkin,Skin Selector)
CreateButton(49,92,23,23,<WinWidth>-31,157,fnDVDRootMenu,DVD Root Menu)
CreateButton(49,115,23,23,<WinWidth>-31,182,fnDVDTitleMenu,DVD Title Menu)
CreateButton(187,92,23,23,<WinWidth>-31,211,fnOptions,Open Options Dialog)
// Top Left corner
CopyBitmap(33,67,6,6,0,0)
// Top Right corner
CopyBitmap(0,59,39,6,<WinWidth>-39,0)
// Bottom Left corner
CopyBitmap(41,0,6,57,0,<WinHeight>-57)
// Bottom Right Corner
CopyBitmap(0,0,39,57,<WinWidth>-39,<WinHeight>-57)
// Video Area
FillRect(6,6,<VidWidth>,<VidHeight>,000000)
// Left bar
TileBitmapV(41,59,6,60,0,6,<WinHeight>-63)
// Right-Inner bar
TileBitmapV(41,59,6,60,<WinWidth>-39,6,<WinHeight>-63)
// Right bar
TileBitmapV(41,59,6,60,<WinWidth>-6,6,<WinHeight>-63)
// Top Bar
TileBitmapH(5,59,28,6,6,0,<WinWidth>-45)
// TimeLine upper bar
TileBitmapH(5,59,28,6,6,<WinHeight>-57,<WinWidth>-45)
// TimeLine lower bar
TileBitmapH(5,59,28,6,6,<WinHeight>-39,<WinWidth>-45)
// TimeLine rate divider
CopyBitmap(0,4,4,16,<WinWidth>-128,<WinHeight>-53)
// Bottom Bar
TileBitmapH(5,59,20,6,6,<WinHeight>-6,<WinWidth>-45)
// Lower Button Background
TileBitmapH(0,81,40,27,6,<WinHeight>-33,<WinWidth>-45)
// Right Button Background
TileBitmapV(0,81,27,28,<WinWidth>-33,6,<WinHeight>-45)
// DVD Logo
CopyBitmap(280,115,46,23,<WinWidth>-89,<WinHeight>-31)