home *** CD-ROM | disk | FTP | other *** search
Wrap
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 FillRectNT(3,15,<VidWidth>,<VidHeight>,000000) // Play List FillPLRect(0,0,<PLWinWidth>,<PLWinHeight>,404040) FillPLRect(1,1,<PLWinWidth>-2,<PLWinHeight>-2,A0A0A0) FillPLRect(2,2,<PLWinWidth>-4,<PLWinHeight>-4,404040) FillPLRect(<PLWinWidth>-20,2,1,17,606060) FillPLRect(<PLWinWidth>-77,2,1,17,606060) CreateExButton(Type=Normal,Target=PlayList,SrcX=66,SrcY=99,Width=11,Height=11,DestX=<PLWinWidth>- 16,DestY=5,Function=fnPlayList,Hint=Close Play List) CreateExButton(Type=Normal,Target=PlayList,SrcX=22,SrcY=99,Width=11,Height=11,DestX=<PLWinWidth>- 16,DestY=<PLWinHeight>-16,Function=fnPLItemDown,Hint=Move Selected Items Down) CreateExButton(Type=Normal,Target=PlayList,SrcX=44,SrcY=99,Width=11,Height=11,DestX=<PLWinWidth>- 30,DestY=<PLWinHeight>-16,Function=fnPLItemUp,Hint=Move Selected Items Up) CreateExButton(Type=Normal,Target=PlayList,SrcX= 0,SrcY=88,Width=11,Height=11,DestX= 5,DestY=<PLWinHeight>-16,ActiveX=22,ActiveY=88,Activate=RandomPlay,Function=fnRandomPlay,Hint=Random Play) CreateExButton(Type=Normal,Target=PlayList,SrcX=48,SrcY=66,Width=11,Height=11,DestX= 19,DestY=<PLWinHeight>-16,ActiveX=70,ActiveY=66,Activate=LoopPlay,Function=fnLoopPlay,Hint=Loop Current Track) CreateExButton(Type=Normal,Target=PlayList,SrcX=22,SrcY=77,Width=11,Height=11,DestX= 37,DestY=<PLWinHeight>-16,Function=fnPLAddFiles,Hint=Add Files to Play List) CreateExButton(Type=Normal,Target=PlayList,SrcX= 0,SrcY=77,Width=11,Height=11,DestX= 51,DestY=<PLWinHeight>-16,Function=fnPLAddDir,Hint=Add Directory to Play List) CreateExButton(Type=Normal,Target=PlayList,SrcX= 0,SrcY=99,Width=11,Height=11,DestX= 65,DestY=<PLWinHeight>-16,Function=fnPLRemove,Hint=Remove Selected Items) CreateExButton(Type=Normal,Target=PlayList,SrcX=55,SrcY=88,Width=11,Height=11,DestX= 79,DestY=<PLWinHeight>-16,Function=fnPLClear,Hint=Clear Play List) CreateExButton(Type=Normal,Target=PlayList,SrcX=66,SrcY=77,Width=11,Height=11,DestX= 93,DestY=<PLWinHeight>-16,Function=fnPLLoadList,Hint=Load Play List) CreateExButton(Type=Normal,Target=PlayList,SrcX=44,SrcY=77,Width=11,Height=11,DestX=107,DestY=<PLWinHeight>-16,Function=fnPLSaveList,Hint=Save Play List) CreateExButton(Type=Normal,Target=PlayList,SrcX=33,SrcY=88,Width=11,Height=11,DestX=121,DestY=<PLWinHeight>-16,Function=fnPLSort,Hint=Sort Play List) DrawExText(Target=PlayList,DestX=5,DestY=4,Width=<PLWinWidth>-80,Height=14,Align=Center,FontName=Tahoma,FontSize=11,FontColor=A0A0A0,FontStyle=None,Text=<PlayListItems>) DrawExText(Target=PlayList,DestX=<PLWinWidth>-77,DestY=4,Width=56,Height=14,Align=Right,FontName=Tahoma,FontSize=11,FontColor=A0A0A0,FontStyle=None,Text=<PlayListTotal>) PlayListData(DestX=5,DestY=19,MinWidth=169,MinHeight=80,Width=<PLWinWidth>-10,Height=<PLWinHeight>-38,Border=606060,Background=000000,Foreground=A0A0A0,SelectBorder=006FDF,SelectBG=008FFF,SelectFG=000000,Highlight=FFFFFF,ScrollBG=000000,ScrollFace=606060,ScrollDark=404040,ScrollLight=808080,ScrollWidth=13)