home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2003 February
/
PCWorld_2003-02_cd.bin
/
Software
/
Vyzkuste
/
Prehravacedivx
/
Prehravacedivx.exe
/
zplay290.exe
/
Skin
/
minskin.skn
< prev
next >
Wrap
Text File
|
2002-06-15
|
3KB
|
111 lines
Minimalist by Blight
// Base Information used when loading the skin:
SkinFilename = (minskin.bmp)
// Initial settings:
iWinWidth = (326)
iWinHeight = (258)
iVidWidth = (320)
iVidHeight = (240)
iVidLeft = (3)
iVidTop = (15)
iMinWidth = (80)
iMinHeight = (60)
tLineColor = (A06000)
tLineFontSize = (8)
tLineFontYOfs = (-1)
tLineFontFace = (Small Font)
tLineFontColor = (FFFFFF)
tLineFontStyle = (Bold)
cBarTLColor = (A06000)
cBarFontSize = (8)
cBarFontYOfs = (-1)
cBarFontFace = (Small Font)
cBarFontColor = (FFFFFF)
cBarFontStyle = (Bold)
cBarButWidth = (12)
cBarButHeight = (11)
// Dynamic settings (items with window-size relative positioning):
tLineTop = (3)
tLineWidth = (<WinWidth>-57)
tLineLeft = (43)
tLineHeight = (9)
cBarTLWidth = (<cBarWidth>-2)
cBarTLHeight = (9)
cBarTLLeft = (1)
cBarTLTop = (1)
// Functions used to render the skin:
// Control Bar Time Line
FillCBarRect(0,0,<cBarWidth>,<cBarHeight>,7F7F7F)
// Control Bar Button queue
AddBarButton(0,22,fnPlay)
AddBarButton(24,22,fnPause)
AddBarButton(48,22,fnSlowMotion)
AddBarButton(72,22,fnFastForward)
AddBarButton(0,33,fnPrevChapter)
AddBarButton(24,33,fnNextChapter)
AddBarButton(48,33,fnStop)
AddBarButton(72,33,fnPrevTrack)
AddBarButton(0,44,fnNextTrack)
AddBarButton(24,44,fnZoom)
AddBarButton(48,44,fnZoomIn)
AddBarButton(72,44,fnZoomOut)
AddBarButton(0,55,fnFitSource)
AddBarButton(24,55,fnMax)
AddBarButton(48,55,fnFullscreen)
AddBarButton(72,55,fnOpen)
AddBarButton(0,66,fnPresets)
AddBarButton(24,66,fnExit)
// Buttons
CreateButton(53,0,8,9,14,3,fnPlay,Play / Pause Video)
CreateButton(53,9,8,9,23,3,fnStop,Stop Playback)
CreateButton(69,0,8,9,32,3,fnOpen,Open a file)
CreateButton(69,9,8,9,<WinWidth>-11,3,fnExit,Exit the Player)
// TimeLine background source bitmap position
TimeLineBG(16,3,20)
TimeLineCBarBG(16,3,20)
// Top Left Zoom Player logo
CopyBitmap(0,0,14,15,0,0)
// Fill in rest of top area
TileBitmapH(16,0,20,15,14,0,<WinWidth>-17)
// Clear background of buttons
FillRect(14,3,26,9,000000)
// Bar right of left buttons
CopyBitmap(11,0,3,15,40,0)
// Bar left of right buttons
CopyBitmap(11,0,3,15,<WinWidth>-14,0)
// Top Right corner
CopyBitmap(38,0,3,15,<WinWidth>-3,0)
// Left area
TileBitmapV(43,0,3,20,0,15,<WinHeight>-18)
// Right area
TileBitmapV(48,0,3,20,<WinWidth>-3,15,<WinHeight>-18)
// Bottom left corner
CopyBitmap(38,17,3,3,0,<WinHeight>-3)
// Bottom area
TileBitmapH(0,17,20,3,3,<WinHeight>-3,<WinWidth>-6)
// Bottom Right corner
CopyBitmap(33,17,3,3,<WinWidth>-3,<WinHeight>-3)
// Fill Video Area with black
FillRect(3,15,<VidWidth>,<VidHeight>,000000)