home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 July / Chip_2003-07_cd1.bin / sharewar / zoom / zplay280.exe / Skin / brownishdvd.skn < prev    next >
Text File  |  2002-08-08  |  10KB  |  222 lines

  1. Future Brownish DVD Skin (sample) by Blight
  2.  
  3. // Base Information used when loading the skin:
  4. SkinFileName    = (brownish.bmp)
  5.  
  6. // Initial settings:
  7. iWinWidth       = (542)
  8. iWinHeight      = (444)
  9. iVidWidth       = (512)
  10. iVidHeight      = (384)
  11. iVidLeft        = (4)
  12. iVidTop         = (4)
  13. iMinWidth       = (460)
  14. iMinHeight      = (345)
  15. tLineFontSize   = (10)
  16. tLineFontYOfs   = (0)
  17. tLineFontFace   = (Tahoma)
  18. tLineFontColor  = (FFFFFF)
  19. tLineFontStyle  = (Bold)
  20. cBarFontSize    = (10)
  21. cBarFontYOfs    = (0)
  22. cBarFontFace    = (Tahoma)
  23. cBarFontColor   = (FFFFFF)
  24. cBarFontStyle   = (Bold)
  25. cBarButWidth    = (25)
  26. cBarButHeight   = (24)
  27.  
  28. // Dynamic settings (items with window-size relative positioning):
  29. tLineWidth      = (<WinWidth>-320)
  30. tLineHeight     = (14)
  31. tLineLeft       = (21)
  32. tLineTop        = (<WinHeight>-47)
  33.  
  34. VolLeft         = (<WinWidth>-255)
  35. VolTop          = (<WinHeight>-47)
  36. RateLeft        = (<WinWidth>-187)
  37. RateTop         = (<WinHeight>-47)
  38.  
  39. cBarTLWidth     = (<cBarWidth>-12)
  40. cBarTLHeight    = (14)
  41. cBarTLLeft      = (6)
  42. cBarTLTop       = (5)
  43.  
  44. // TimeLine background and foreground source bitmap position
  45. TimeLineBG(57,4,40)
  46. TimeLineFG(17,4,40)
  47. VolumeExData(SrcX=208,SrcY=0,Width=42,Height=14,Images=12)
  48. RateData(172,0,35,14)
  49.  
  50. // Control Bar TimeLine background source bitmap position
  51. TimeLineCBarBG(113,55,40)
  52. TimeLineCBarFG(73,55,40)
  53.  
  54. // Control Bar and Integrated timeline Bitmap Separator (active/inactive areas)
  55. TimeLineActive(65,55,2,14,1,0)
  56. TimeLineCBarActive(69,55,2,14,1,0)
  57.  
  58. // Left Control Bar Side
  59. CopyCBarBitmap(115,0,6,24,0,0)
  60.  
  61. // Right Control Bar Side
  62. CopyCBarBitmap(121,0,6,24,<cBarWidth>-6,0)
  63.  
  64. // Top Control Bar Bar
  65. TileCBarBitmapH(128,0,40,5,6,0,<cBarWidth>-12)
  66.  
  67. // Bottom Control Bar Bar
  68. TileCBarBitmapH(128,5,40,5,6,<cBarHeight>-5,<cBarWidth>-12)
  69.  
  70. // Top Left corner
  71. CopyBitmap(0,23,4,4,0,0)
  72.  
  73. // Top Right corner
  74. CopyBitmap(0,72,25,1,<WinWidth>-25,0)
  75.  
  76. // Bottom Left corner
  77. CopyBitmap(0,99,1,25,0,<WinHeight>-25)
  78.  
  79. // Bottom Left corner top
  80. CopyBitmap(0,27,3,31,0,<WinHeight>-57)
  81.  
  82. // Bottom Right Corner
  83. CopyBitmap(32,28,26,26,<WinWidth>-26,<WinHeight>-26)
  84.  
  85. // Bottom Right top
  86. CopyBitmap(6,28,25,30,<WinWidth>-25,<WinHeight>-56)
  87.  
  88. // Video Area
  89. FillRect(4,4,<VidWidth>,<VidHeight>,000000)
  90.  
  91. // Video Bottom bar
  92. TileBitmapH(4,26,40,1,3,<WinHeight>-56,<WinWidth>-28)
  93.  
  94. // Bar background
  95. FillRect(3,<WinHeight>-55,<WinWidth>-29,29,B4968B)
  96.  
  97. // Bar Bottom Separator
  98. FillRect(0,<WinHeight>-26,<WinWidth>-26,1,9E8075)
  99.  
  100. // Bar Right Separator
  101. FillRect(<WinWidth>-26,<WinHeight>-55,1,29,9E8075)
  102.  
  103. // Left bar
  104. TileBitmapV(0,27,4,40,0,4,<WinHeight>-60)
  105.  
  106. // Right bar
  107. TileBitmapV(5,28,26,40,<WinWidth>-26,1,<WinHeight>-57)
  108.  
  109. // Top Bar
  110. TileBitmapH(4,23,40,4,4,0,<WinWidth>-29)
  111.  
  112. // Bottom Bar
  113. TileBitmapH(59,28,40,25,1,<WinHeight>-25,<WinWidth>-27)
  114.  
  115. // Timeline left side
  116. CopyBitmap(0,0,17,22,4,<WinHeight>-51)
  117. // Timeline right side
  118. CopyBitmap(97,0,17,22,<WinWidth>-299,<WinHeight>-51)
  119. // Timeline top
  120. TileBitmapH(17,0,40,4,21,<WinHeight>-51,<WinWidth>-320)
  121. // Timeline bottom
  122. TileBitmapH(17,18,40,4,21,<WinHeight>-33,<WinWidth>-320)
  123.  
  124. // Volume bar left side
  125. CopyBitmap(100,28,23,22,<WinWidth>-278,<WinHeight>-51)
  126. // Volume bar right side
  127. CopyBitmap(124,28,11,22,<WinWidth>-213,<WinHeight>-51)
  128. // Volume bar top
  129. CopyBitmap(17,0,42,4,<WinWidth>-255,<WinHeight>-51)
  130. // Volume bar bottom
  131. CopyBitmap(17,18,42,4,<WinWidth>-255,<WinHeight>-33)
  132.  
  133. // Rate bar left side
  134. CopyBitmap(136,28,11,22,<WinWidth>-198,<WinHeight>-51)
  135. // Rate bar top
  136. CopyBitmap(17,0,35,4,<WinWidth>-187,<WinHeight>-51)
  137. // Rate bar bottom
  138. CopyBitmap(17,18,35,4,<WinWidth>-187,<WinHeight>-33)
  139. // Rate bar right side
  140. CopyBitmap(148,28,23,22,<WinWidth>-152,<WinHeight>-51)
  141.  
  142. // Right Buttons
  143. CreateExButton(Type=Normal,SrcX=  0,SrcY= 72,Width=25,Height=27,DestX=<WinWidth>-25,DestY=  0,Function=fnExit,Hint=Exit Program)
  144. CreateExButton(Type=Normal,SrcX= 50,SrcY= 72,Width=25,Height=27,DestX=<WinWidth>-25,DestY= 27,Function=fnMax,Hint=Maximize Window)
  145. CreateExButton(Type=Normal,SrcX=100,SrcY= 72,Width=25,Height=27,DestX=<WinWidth>-25,DestY= 54,Function=fnMinimize,Hint=Minimize Window)
  146. CreateExButton(Type=Normal,SrcX=  0,SrcY= 99,Width=25,Height=27,DestX=<WinWidth>-25,DestY= 81,Function=fnFullScreen,Hint=FullScreen Mode)
  147. CreateExButton(Type=Normal,SrcX= 50,SrcY= 99,Width=25,Height=27,DestX=<WinWidth>-25,DestY=108,Function=fnZoom,Hint=Zoom Mode)
  148. CreateExButton(Type=Normal,SrcX=250,SrcY=125,Width=25,Height=27,DestX=<WinWidth>-25,DestY=135,Function=fnSceneCut,Hint=Scene Cut Editor)
  149. CreateExButton(Type=Normal,SrcX=150,SrcY=125,Width=25,Height=27,DestX=<WinWidth>-25,DestY=162,Function=fnBlankingPreset,Hint=Blanking Preset Editor)
  150. CreateExButton(Type=Normal,SrcX=100,SrcY=126,Width=25,Height=27,DestX=<WinWidth>-25,DestY=189,Function=fnPlayList,Hint=Play List Editor)
  151. CreateExButton(Type=Normal,SrcX=  0,SrcY=126,Width=25,Height=27,DestX=<WinWidth>-25,DestY=216,Function=fnChapter,Hint=Chapter Editor)
  152. CreateExButton(Type=Normal,SrcX= 50,SrcY=126,Width=25,Height=27,DestX=<WinWidth>-25,DestY=243,Function=fnSkin,Hint=Skin Selector)
  153. CreateExButton(Type=Normal,SrcX=100,SrcY= 99,Width=25,Height=27,DestX=<WinWidth>-25,DestY=270,Function=fnOptions,Hint=Options)
  154. // Right Button divider
  155. CopyBitmap(0,72,25,1,<WinWidth>-25,297)
  156.  
  157. // Bottom Buttons
  158. CreateExButton(Type=Normal,SrcX=  0,SrcY=203,Width=27,Height=25,DestX=  0,DestY=<WinHeight>-25,Function=fnRewind,Hint=Rewind)
  159. CreateExButton(Type=Normal,SrcX=  0,SrcY=153,Width=27,Height=25,DestX= 27,DestY=<WinHeight>-25,Function=fnPlay,Hint=Play / Pause Video)
  160. CreateExButton(Type=Normal,SrcX=  0,SrcY=178,Width=27,Height=25,DestX= 54,DestY=<WinHeight>-25,Function=fnFastForward,Hint=Fast Forward)
  161. CreateExButton(Type=Normal,SrcX= 54,SrcY=153,Width=27,Height=25,DestX= 81,DestY=<WinHeight>-25,Function=fnStop,Hint=Stop Video)
  162. CreateExButton(Type=Normal,SrcX= 54,SrcY=178,Width=27,Height=25,DestX=108,DestY=<WinHeight>-25,Function=fnPrevTrack,Hint=Previous Track)
  163. CreateExButton(Type=Normal,SrcX=162,SrcY=178,Width=27,Height=25,DestX=135,DestY=<WinHeight>-25,Function=fnPrevChapter,Hint=Previous Bookmark)
  164. CreateExButton(Type=Normal,SrcX=216,SrcY=178,Width=27,Height=25,DestX=162,DestY=<WinHeight>-25,Function=fnNextChapter,Hint=Next Bookmark)
  165. CreateExButton(Type=Normal,SrcX=108,SrcY=178,Width=27,Height=25,DestX=189,DestY=<WinHeight>-25,Function=fnNextTrack,Hint=Next Track)
  166. CreateExButton(Type=Normal,SrcX= 54,SrcY=203,Width=27,Height=25,DestX=216,DestY=<WinHeight>-25,Function=fnDVDRootMenu,Hint=Root Menu)
  167. CreateExButton(Type=Normal,SrcX=270,SrcY=203,Width=27,Height=25,DestX=243,DestY=<WinHeight>-25,Function=fnAudioTrack,Hint=Next Audio Track)
  168. CreateExButton(Type=Normal,SrcX=270,SrcY=178,Width=27,Height=25,DestX=270,DestY=<WinHeight>-25,Function=fnDVDSub,Hint=Next Subtitle Track)
  169. CreateExButton(Type=Normal,SrcX=108,SrcY=203,Width=27,Height=25,DestX=297,DestY=<WinHeight>-25,Function=fnBar,Hint=Show / Hide Control Bar)
  170.  
  171. // Bottom Button divider + DVD Logo
  172. CopyBitmap(0,153,1,25,324,<WinHeight>-25)
  173. CopyBitmap(26,153,1,25,<WinWidth>-76,<WinHeight>-25)
  174. CopyBitmap(151,99,50,25,<WinWidth>-75,<WinHeight>-25)
  175.  
  176. // Eject Button
  177. CreateExButton(Type=Normal,SrcX=250,SrcY=0,Width=35,Height=22,DestX=<WinWidth>-69,DestY=<WinHeight>-51,Function=fnEject,Hint=Ejected selected drive)
  178.  
  179. // TimeLine Buttons
  180. CreateExButton(Type=Normal,SrcX=151,SrcY=71,Width=8,Height=12,DestX=            10,DestY=<WinHeight>-46,Function=fnSkipBackward,Hint=Skip Backwards)
  181. CreateExButton(Type=Normal,SrcX=151,SrcY=84,Width=8,Height=12,DestX=<WinWidth>-296,DestY=<WinHeight>-46,Function=fnSkipForward,Hint=Skip Forward)
  182. // Volume bar Buttons
  183. CreateExButton(Type=Normal,SrcX=154,SrcY=51,Width=9,Height= 9,DestX=<WinWidth>-212,DestY=<WinHeight>-50,Function=fnVolUp,Hint=Increase Volume)
  184. CreateExButton(Type=Normal,SrcX=154,SrcY=61,Width=9,Height= 9,DestX=<WinWidth>-212,DestY=<WinHeight>-39,Function=fnVolDown,Hint=Decrease Volume)
  185. // Rate bar Buttons
  186. CreateExButton(Type=Normal,SrcX=154,SrcY=51,Width=9,Height= 9,DestX=<WinWidth>-197,DestY=<WinHeight>-50,Function=fnIncRate,Hint=Increase Play Rate)
  187. CreateExButton(Type=Normal,SrcX=154,SrcY=61,Width=9,Height= 9,DestX=<WinWidth>-197,DestY=<WinHeight>-39,Function=fnDecRate,Hint=Decrease Play Rate)
  188.  
  189. // DVD Directional Arrows
  190. CreateExButton(Type=Normal,SrcX=250,SrcY= 48,Width=25,Height=25,DestX=<WinWidth>-114,DestY=<WinHeight>-38,Function=fnDVDMenuSelect,Hint=Select DVD Menu Entry)
  191. CreateExButton(Type=Normal,SrcX=250,SrcY= 35,Width=25,Height=13,DestX=<WinWidth>-114,DestY=<WinHeight>-13,Function=fnDVDMenuDown,Hint=DVD Menu Down)
  192. CreateExButton(Type=Normal,SrcX=250,SrcY= 73,Width=13,Height=25,DestX=<WinWidth>-127,DestY=<WinHeight>-38,Function=fnDVDMenuLeft,Hint=DVD Menu Left)
  193. CreateExButton(Type=Normal,SrcX=276,SrcY= 73,Width=13,Height=25,DestX=<WinWidth>- 89,DestY=<WinHeight>-38,Function=fnDVDMenuRight,Hint=DVD Menu Right)
  194. CreateExButton(Type=Normal,SrcX=250,SrcY= 22,Width=25,Height=13,DestX=<WinWidth>-114,DestY=<WinHeight>-51,Function=fnDVDMenuUp,Hint=DVD Menu Up)
  195.  
  196. // Control Bar Buttons
  197. AddBarButton(0,252,fnPlay, Play / Pause Video)
  198. AddBarButton(100,228,fnSlowMotion, Slow Motion)
  199. AddBarButton(0,228,fnRewind, Rewind)
  200. AddBarButton(50,228,fnFastForward, Fast Forward)
  201. AddBarButton(100,276,fnPrevChapter, Previous Chapter)
  202. AddBarButton(150,276,fnNextChapter, Next Chapter)
  203. AddBarButton(50,252,fnStop, Stop Video)
  204. AddBarButton(0,276,fnPrevTrack, Previous Track)
  205. AddBarButton(50,276,fnNextTrack, Next Track)
  206. AddBarButton(250,252,fnAudioTrack,Next Audio Track)
  207. AddBarButton(250,228,fnDVDSub,Next Subtitle Track)
  208. AddBarButton(100,324,fnDVDRootMenu, Root Menu)
  209. AddBarButton(0,324,fnAudioTrack, Cycle through Audio Tracks)
  210. AddBarButton(50,324,fnDVDSub, Cycle through Subtitle Tracks)
  211. AddBarButton(200,252,fnZoomIn, Zoom-In)
  212. AddBarButton(200,228,fnZoomOut, Zoom-Out)
  213. AddBarButton(200,276,fnZoom, Zoom Mode)
  214. AddBarButton(150,300,fnFullScreen, FullScreen Mode)
  215. AddBarButton(100,300,fnARCycle, Cycle Aspect Ratio Modes)
  216. AddBarButton(200,300,fnBlankingNav, Blanking Navigator)
  217. AddBarButton(0,300,fnVolUp, Increase Volume)
  218. AddBarButton(50,300,fnVolDown, Decrease Volume)
  219. AddBarButton(150,228,fnEject, Eject)
  220. AddBarButton(150,252,fnOpen, Open Media)
  221. AddBarButton(100,252,fnExit, Exit Program)
  222.