home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 July / Chip_2003-07_cd1.bin / sharewar / zoom / zplay280.exe / Skin / plasticbluedvd.skn < prev    next >
Text File  |  2002-06-15  |  6KB  |  193 lines

  1. Plastic Blue DVD Skin (sample) by Blight
  2. //
  3. // This file is file is a semi-tutorial on how to create Zoom Player skins.
  4. // It shows you the exact structure used to create the default DVD skin.
  5. // It is only a sample file and is not required for Zoom Player to operate.
  6. //
  7. //
  8. // Base Information used when loading the skin:
  9. SkinFileName    = (plasticblue.bmp)
  10.  
  11. // Initial settings:
  12.  
  13. iWinWidth       = (557)
  14. iWinHeight      = (447)
  15. iVidWidth       = (512)
  16. iVidHeight      = (384)
  17. iVidLeft        = (6)
  18. iVidTop         = (6)
  19. iMinWidth       = (400)
  20. iMinHeight      = (300)
  21. //tLineColor      = (008000)     <- this isn't required since we're using a bitmap instead
  22. tLineFontSize   = (10)
  23. tLineFontYOfs   = (-1)
  24. tLineFontFace   = (Tahoma)
  25. tLineFontColor  = (FFFFFF)
  26. tLineFontStyle  = (Bold)
  27. cBarFontSize    = (10)
  28. cBarFontYOfs    = (0)
  29. cBarFontFace    = (Tahoma)
  30. cBarFontColor   = (FFFFFF)
  31. cBarFontStyle   = (Bold)
  32. cBarButWidth    = (20)
  33. cBarButHeight   = (20)
  34. //cBarTLColor     = (008000)     <- this isn't required since we're using a bitmap instead
  35.  
  36. // Dynamic settings (items with window-size relative positioning):
  37. tLineWidth      = (<WinWidth>-134)
  38. tLineHeight     = (12)
  39. tLineLeft       = (6)
  40. tLineTop        = (<WinHeight>-51)
  41.  
  42. VolLeft         = (<WinWidth>-81)
  43. VolTop          = (<WinHeight>-53)
  44. RateLeft        = (<WinWidth>-125)
  45. RateTop         = (<WinHeight>-53)
  46.  
  47. cBarTLWidth     = (<cBarWidth>-6)
  48. cBarTLHeight    = (14)
  49. cBarTLLeft      = (3)
  50. cBarTLTop       = (3)
  51.  
  52. // TimeLine background and foreground source bitmap position
  53. TimeLineBG(0,65,32)
  54. TimeLineFG(0,111,32)
  55. VolumeData(235,0,44,16)
  56. RateData(280,0,44,16)
  57.  
  58. // Control Bar TimeLine background source bitmap position
  59. TimeLineCBarBG(0,65,32)
  60. TimeLineCBarFG(0,111,32)
  61.  
  62. // Top Left Control Bar Corner
  63. CopyCBarBitmap(0,127,3,3,0,0)
  64.  
  65. // Top Right Control Bar Corner
  66. CopyCBarBitmap(3,127,3,3,<cBarWidth>-3,0)
  67.  
  68. // Bottom Left Control Bar Corner
  69. CopyCBarBitmap(0,130,3,3,0,<cBarHeight>-3)
  70.  
  71. // Bottom Right Control Bar Corner
  72. CopyCBarBitmap(3,130,3,3,<cBarWidth>-3,<cBarHeight>-3)
  73.  
  74. // Top Control Bar Bar
  75. TileCBarBitmapH(8,127,40,3,3,0,<cBarWidth>-6)
  76.  
  77. // Bottom Control Bar Bar
  78. TileCBarBitmapH(8,127,40,3,3,<cBarHeight>-3,<cBarWidth>-6)
  79.  
  80. // Left Control Bar Bar
  81. TileCBarBitmapV(0,133,3,6,0,3,<cBarHeight>-6)
  82.  
  83. // Right Control Bar Bar
  84. TileCBarBitmapV(0,133,3,6,<cBarWidth>-3,3,<cBarHeight>-6)
  85.  
  86. // Control Bar Button queue,
  87. // buttons will appear in the order they are added (left to right)
  88. // Any button in this list can be manually hidden by the user
  89. AddBarButton(0,140,fnPlay)
  90. AddBarButton(40,140,fnPause)
  91. AddBarButton(80,140,fnSlowMotion)
  92. AddBarButton(80,180,fnRewind)
  93. AddBarButton(120,140,fnFastForward)
  94. AddBarButton(160,140,fnPrevChapter)
  95. AddBarButton(200,140,fnNextChapter)
  96. AddBarButton(240,140,fnStop)
  97. AddBarButton(280,140,fnPrevTrack)
  98. AddBarButton(0,160,fnNextTrack)
  99. AddBarButton(120,180,fnDVDRootMenu)
  100. AddBarButton(40,160,fnZoom)
  101. AddBarButton(80,160,fnZoomIn)
  102. AddBarButton(120,160,fnZoomOut)
  103. AddBarButton(160,160,fnFitSource)
  104. AddBarButton(200,160,fnMax)
  105. AddBarButton(240,160,fnFullscreen)
  106. AddBarButton(160,180,fnARCycle)
  107. AddBarButton(40,200,fnVolUp)
  108. AddBarButton(80,200,fnVolDown)
  109. AddBarButton(280,160,fnOpen)
  110. AddBarButton(0,180,fnPresets)
  111. AddBarButton(0,200,fnPattern)
  112. AddBarButton(120,200,fnEject)
  113. AddBarButton(40,180,fnExit)
  114.  
  115. // Buttons
  116. CreateButton(49,23,23,23,8,<WinHeight>-31,fnPlay,Play / Pause Video)
  117. CreateButton(49,46,23,23,33,<WinHeight>-31,fnPause,Pause Video)
  118. CreateButton(95,0,23,23,58,<WinHeight>-31,fnStop,Stop Playback)
  119.  
  120. CreateButton(49,69,23,23,87,<WinHeight>-31,fnRewind,Rewind)
  121. CreateButton(95,69,23,23,112,<WinHeight>-31,fnFastForward,Fast Forward)
  122. CreateButton(141,92,23,23,137,<WinHeight>-31,fnPrevTrack,Previous Chapter)
  123. CreateButton(95,92,23,23,162,<WinHeight>-31,fnNextTrack,Next Chapter)
  124.  
  125. CreateButton(187,115,23,7,194,<WinHeight>-31,fnDVDMenuUp,Menu Up)
  126. CreateButton(187,122,7,9,194,<WinHeight>-24,fnDVDMenuLeft,Menu Left)
  127. CreateButton(201,122,9,9,201,<WinHeight>-24,fnDVDMenuSelect,Menu Select)
  128. CreateButton(219,122,7,9,210,<WinHeight>-24,fnDVDMenuRight,Menu Right)
  129. CreateButton(187,131,23,7,194,<WinHeight>-15,fnDVDMenuDown,Menu Down)
  130.  
  131. CreateButton(95,23,23,23,226,<WinHeight>-31,fnZoom,Go into Zoom Mode)
  132. CreateButton(95,46,23,23,251,<WinHeight>-31,fnFullScreen,Switch to Fullscreen)
  133. CreateButton(141,0,23,23,276,<WinHeight>-31,fnOpen,Open a file)
  134. CreateButton(141,23,23,23,301,<WinHeight>-31,fnBar,Show / Hide Control Bar)
  135. CreateButton(141,46,23,23,330,<WinHeight>-31,fnMinimize,Minimize Window)
  136. CreateButton(95,115,23,23,355,<WinHeight>-31,fnEject,Eject selected drive)
  137. CreateButton(49,0,23,23,<WinWidth>-31,8,fnExit,Exit Program)
  138. CreateButton(187,0,23,23,<WinWidth>-31,53,fnPlayList,Open Play List)
  139. CreateButton(141,69,23,23,<WinWidth>-31,78,fnChapter,Open Bookmark Editor)
  140. CreateButton(187,46,23,23,<WinWidth>-31,103,fnPresets,Open Preset Dialog)
  141. CreateButton(187,69,23,23,<WinWidth>-31,128,fnSkin,Skin Selector)
  142. CreateButton(49,92,23,23,<WinWidth>-31,157,fnDVDRootMenu,DVD Root Menu)
  143. CreateButton(49,115,23,23,<WinWidth>-31,182,fnDVDTitleMenu,DVD Title Menu)
  144. CreateButton(187,92,23,23,<WinWidth>-31,211,fnOptions,Open Options Dialog)
  145.  
  146. // Top Left corner
  147. CopyBitmap(33,67,6,6,0,0)
  148.  
  149. // Top Right corner
  150. CopyBitmap(0,59,39,6,<WinWidth>-39,0)
  151.  
  152. // Bottom Left corner
  153. CopyBitmap(41,0,6,57,0,<WinHeight>-57)
  154.  
  155. // Bottom Right Corner
  156. CopyBitmap(0,0,39,57,<WinWidth>-39,<WinHeight>-57)
  157.  
  158. // Video Area
  159. FillRect(6,6,<VidWidth>,<VidHeight>,000000)
  160.  
  161. // Left bar
  162. TileBitmapV(41,59,6,60,0,6,<WinHeight>-63)
  163.  
  164. // Right-Inner bar
  165. TileBitmapV(41,59,6,60,<WinWidth>-39,6,<WinHeight>-63)
  166.  
  167. // Right bar
  168. TileBitmapV(41,59,6,60,<WinWidth>-6,6,<WinHeight>-63)
  169.  
  170. // Top Bar
  171. TileBitmapH(5,59,28,6,6,0,<WinWidth>-45)
  172.  
  173. // TimeLine upper bar
  174. TileBitmapH(5,59,28,6,6,<WinHeight>-57,<WinWidth>-45)
  175.  
  176. // TimeLine lower bar
  177. TileBitmapH(5,59,28,6,6,<WinHeight>-39,<WinWidth>-45)
  178.  
  179. // TimeLine rate divider
  180. CopyBitmap(0,4,4,16,<WinWidth>-128,<WinHeight>-53)
  181.  
  182. // Bottom Bar
  183. TileBitmapH(5,59,20,6,6,<WinHeight>-6,<WinWidth>-45)
  184.  
  185. // Lower Button Background
  186. TileBitmapH(0,81,40,27,6,<WinHeight>-33,<WinWidth>-45)
  187.  
  188. // Right Button Background
  189. TileBitmapV(0,81,27,28,<WinWidth>-33,6,<WinHeight>-45)
  190.  
  191. // DVD Logo
  192. CopyBitmap(280,115,46,23,<WinWidth>-89,<WinHeight>-31)
  193.