home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 February / PCWorld_2004-02_cd.bin / software / vyzkuste / jaknavideo / jaknavideo.exe / zp320std.exe / Skin / minskin.skn < prev    next >
Text File  |  2003-04-19  |  6KB  |  133 lines

  1. Minimalist by Blight
  2.  
  3. // Base Information used when loading the skin:
  4. SkinFilename    = (minskin.bmp)
  5.  
  6. // Initial settings:
  7. iWinWidth       = (326)
  8. iWinHeight      = (258)
  9. iVidWidth       = (320)
  10. iVidHeight      = (240)
  11. iVidLeft        = (3)
  12. iVidTop         = (15)
  13. iMinWidth       = (80)
  14. iMinHeight      = (60)
  15. tLineColor      = (A06000)
  16. tLineFontSize   = (8)
  17. tLineFontYOfs   = (-1)
  18. tLineFontFace   = (Small Font)
  19. tLineFontColor  = (FFFFFF)
  20. tLineFontStyle  = (Bold)
  21. cBarTLColor     = (A06000)
  22. cBarFontSize    = (8)
  23. cBarFontYOfs    = (-1)
  24. cBarFontFace    = (Small Font)
  25. cBarFontColor   = (FFFFFF)
  26. cBarFontStyle   = (Bold)
  27. cBarButWidth    = (12)
  28. cBarButHeight   = (11)
  29.  
  30. // Dynamic settings (items with window-size relative positioning):
  31. tLineTop        = (3)
  32. tLineWidth      = (<WinWidth>-57)
  33. tLineLeft       = (43)
  34. tLineHeight     = (9)
  35.  
  36. cBarTLWidth     = (<cBarWidth>-2)
  37. cBarTLHeight    = (9)
  38. cBarTLLeft      = (1)
  39. cBarTLTop       = (1)
  40.  
  41. // Functions used to render the skin:
  42.  
  43. // Control Bar Time Line
  44. FillCBarRect(0,0,<cBarWidth>,<cBarHeight>,7F7F7F)
  45.  
  46. // Control Bar Button queue
  47. AddBarButton(0,22,fnPlay)
  48. AddBarButton(24,22,fnPause)
  49. AddBarButton(48,22,fnSlowMotion)
  50. AddBarButton(72,22,fnFastForward)
  51. AddBarButton(0,33,fnPrevChapter)
  52. AddBarButton(24,33,fnNextChapter)
  53. AddBarButton(48,33,fnStop)
  54. AddBarButton(72,33,fnPrevTrack)
  55. AddBarButton(0,44,fnNextTrack)
  56. AddBarButton(24,44,fnZoom)
  57. AddBarButton(48,44,fnZoomIn)
  58. AddBarButton(72,44,fnZoomOut)
  59. AddBarButton(0,55,fnFitSource)
  60. AddBarButton(24,55,fnMax)
  61. AddBarButton(48,55,fnFullscreen)
  62. AddBarButton(72,55,fnOpen)
  63. AddBarButton(0,66,fnPresets)
  64. AddBarButton(24,66,fnExit)
  65.  
  66. // Buttons
  67. CreateButton(53,0,8,9,14,3,fnPlay,Play / Pause Video)
  68. CreateButton(53,9,8,9,23,3,fnStop,Stop Playback)
  69. CreateButton(69,0,8,9,32,3,fnOpen,Open a file)
  70. CreateButton(69,9,8,9,<WinWidth>-11,3,fnExit,Exit the Player)
  71.  
  72. // TimeLine background source bitmap position
  73. TimeLineBG(16,3,20)
  74. TimeLineCBarBG(16,3,20)
  75.  
  76. // Top Left Zoom Player logo
  77. CopyBitmap(0,0,14,15,0,0)
  78.  
  79. // Fill in rest of top area
  80. TileBitmapH(16,0,20,15,14,0,<WinWidth>-17)
  81.  
  82. // Clear background of buttons
  83. FillRect(14,3,26,9,000000)
  84.  
  85. // Bar right of left buttons
  86. CopyBitmap(11,0,3,15,40,0)
  87.  
  88. // Bar left of right buttons
  89. CopyBitmap(11,0,3,15,<WinWidth>-14,0)
  90.  
  91. // Top Right corner
  92. CopyBitmap(38,0,3,15,<WinWidth>-3,0)
  93.  
  94. // Left area
  95. TileBitmapV(43,0,3,20,0,15,<WinHeight>-18)
  96.  
  97. // Right area
  98. TileBitmapV(48,0,3,20,<WinWidth>-3,15,<WinHeight>-18)
  99.  
  100. // Bottom left corner
  101. CopyBitmap(38,17,3,3,0,<WinHeight>-3)
  102.  
  103. // Bottom area
  104. TileBitmapH(0,17,20,3,3,<WinHeight>-3,<WinWidth>-6)
  105.  
  106. // Bottom Right corner
  107. CopyBitmap(33,17,3,3,<WinWidth>-3,<WinHeight>-3)
  108.  
  109. // Fill Video Area with black
  110. FillRectNT(3,15,<VidWidth>,<VidHeight>,000000)
  111.  
  112. // Play List
  113. FillPLRect(0,0,<PLWinWidth>,<PLWinHeight>,404040)
  114. FillPLRect(1,1,<PLWinWidth>-2,<PLWinHeight>-2,A0A0A0)
  115. FillPLRect(2,2,<PLWinWidth>-4,<PLWinHeight>-4,404040)
  116. FillPLRect(<PLWinWidth>-20,2,1,17,606060)
  117. FillPLRect(<PLWinWidth>-77,2,1,17,606060)
  118. CreateExButton(Type=Normal,Target=PlayList,SrcX=66,SrcY=99,Width=11,Height=11,DestX=<PLWinWidth>- 16,DestY=5,Function=fnPlayList,Hint=Close Play List)
  119. 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)
  120. 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)
  121. 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)
  122. 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)
  123. 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)
  124. 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)
  125. CreateExButton(Type=Normal,Target=PlayList,SrcX= 0,SrcY=99,Width=11,Height=11,DestX= 65,DestY=<PLWinHeight>-16,Function=fnPLRemove,Hint=Remove Selected Items)
  126. CreateExButton(Type=Normal,Target=PlayList,SrcX=55,SrcY=88,Width=11,Height=11,DestX= 79,DestY=<PLWinHeight>-16,Function=fnPLClear,Hint=Clear Play List)
  127. CreateExButton(Type=Normal,Target=PlayList,SrcX=66,SrcY=77,Width=11,Height=11,DestX= 93,DestY=<PLWinHeight>-16,Function=fnPLLoadList,Hint=Load Play List)
  128. CreateExButton(Type=Normal,Target=PlayList,SrcX=44,SrcY=77,Width=11,Height=11,DestX=107,DestY=<PLWinHeight>-16,Function=fnPLSaveList,Hint=Save Play List)
  129. CreateExButton(Type=Normal,Target=PlayList,SrcX=33,SrcY=88,Width=11,Height=11,DestX=121,DestY=<PLWinHeight>-16,Function=fnPLSort,Hint=Sort Play List)
  130. DrawExText(Target=PlayList,DestX=5,DestY=4,Width=<PLWinWidth>-80,Height=14,Align=Center,FontName=Tahoma,FontSize=11,FontColor=A0A0A0,FontStyle=None,Text=<PlayListItems>)
  131. DrawExText(Target=PlayList,DestX=<PLWinWidth>-77,DestY=4,Width=56,Height=14,Align=Right,FontName=Tahoma,FontSize=11,FontColor=A0A0A0,FontStyle=None,Text=<PlayListTotal>)
  132. 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)
  133.