home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 December / PCWorld_2004-12_cd.bin / software / topware / zoomplayer / zp410b1std.exe / Skin / brownishdvd.skn < prev    next >
Text File  |  2003-04-19  |  10KB  |  217 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. cBarTLWidth     = (<cBarWidth>-12)
  35. cBarTLHeight    = (14)
  36. cBarTLLeft      = (6)
  37. cBarTLTop       = (5)
  38.  
  39. // TimeLine background and foreground source bitmap position
  40. TimeLineBG(57,4,40)
  41. TimeLineFG(17,4,40)
  42.  
  43. // User Interface elements such as Volume and Play Rate Controls
  44. VolumeExData(SrcX=208,SrcY=0,DestX=<WinWidth>-255,DestY=<WinHeight>-47,Width=42,Height=14,Images=12)
  45. RateExData(SrcX=172,SrcY=0,DestX=<WinWidth>-187,DestY=<WinHeight>-47,Width=35,Height=14)
  46.  
  47. // Control Bar TimeLine background source bitmap position
  48. TimeLineCBarBG(113,55,40)
  49. TimeLineCBarFG(73,55,40)
  50.  
  51. // Control Bar and Integrated timeline Bitmap Separator (active/inactive areas)
  52. TimeLineActive(65,55,2,14,1,0)
  53. TimeLineCBarActive(69,55,2,14,1,0)
  54.  
  55. // Left Control Bar Side
  56. CopyCBarBitmap(115,0,6,24,0,0)
  57.  
  58. // Right Control Bar Side
  59. CopyCBarBitmap(121,0,6,24,<cBarWidth>-6,0)
  60.  
  61. // Top Control Bar Bar
  62. TileCBarBitmapH(128,0,40,5,6,0,<cBarWidth>-12)
  63.  
  64. // Bottom Control Bar Bar
  65. TileCBarBitmapH(128,5,40,5,6,<cBarHeight>-5,<cBarWidth>-12)
  66.  
  67. // Top Left corner
  68. CopyBitmap(0,23,4,4,0,0)
  69.  
  70. // Top Right corner
  71. CopyBitmap(0,72,25,1,<WinWidth>-25,0)
  72.  
  73. // Bottom Left corner
  74. CopyBitmap(0,99,1,25,0,<WinHeight>-25)
  75.  
  76. // Bottom Left corner top
  77. CopyBitmap(0,27,3,31,0,<WinHeight>-57)
  78.  
  79. // Bottom Right Corner
  80. CopyBitmap(32,28,26,26,<WinWidth>-26,<WinHeight>-26)
  81.  
  82. // Bottom Right top
  83. CopyBitmap(6,28,25,30,<WinWidth>-25,<WinHeight>-56)
  84.  
  85. // Video Area
  86. FillRectNT(4,4,<VidWidth>,<VidHeight>,000000)
  87.  
  88. // Video Bottom bar
  89. TileBitmapH(4,26,40,1,3,<WinHeight>-56,<WinWidth>-28)
  90.  
  91. // Bar background
  92. FillRect(3,<WinHeight>-55,<WinWidth>-29,29,B4968B)
  93.  
  94. // Bar Bottom Separator
  95. FillRect(0,<WinHeight>-26,<WinWidth>-26,1,9E8075)
  96.  
  97. // Bar Right Separator
  98. FillRect(<WinWidth>-26,<WinHeight>-55,1,29,9E8075)
  99.  
  100. // Left bar
  101. TileBitmapV(0,27,4,40,0,4,<WinHeight>-60)
  102.  
  103. // Right bar
  104. TileBitmapV(5,28,26,40,<WinWidth>-26,1,<WinHeight>-57)
  105.  
  106. // Top Bar
  107. TileBitmapH(4,23,40,4,4,0,<WinWidth>-29)
  108.  
  109. // Bottom Bar
  110. TileBitmapH(59,28,40,25,1,<WinHeight>-25,<WinWidth>-27)
  111.  
  112. // Timeline left side
  113. CopyBitmap(0,0,17,22,4,<WinHeight>-51)
  114. // Timeline right side
  115. CopyBitmap(97,0,17,22,<WinWidth>-299,<WinHeight>-51)
  116. // Timeline top
  117. TileBitmapH(17,0,40,4,21,<WinHeight>-51,<WinWidth>-320)
  118. // Timeline bottom
  119. TileBitmapH(17,18,40,4,21,<WinHeight>-33,<WinWidth>-320)
  120.  
  121. // Volume bar left side
  122. CopyBitmap(100,28,23,22,<WinWidth>-278,<WinHeight>-51)
  123. // Volume bar right side
  124. CopyBitmap(124,28,11,22,<WinWidth>-213,<WinHeight>-51)
  125. // Volume bar top
  126. CopyBitmap(17,0,42,4,<WinWidth>-255,<WinHeight>-51)
  127. // Volume bar bottom
  128. CopyBitmap(17,18,42,4,<WinWidth>-255,<WinHeight>-33)
  129.  
  130. // Rate bar left side
  131. CopyBitmap(136,28,11,22,<WinWidth>-198,<WinHeight>-51)
  132. // Rate bar top
  133. CopyBitmap(17,0,35,4,<WinWidth>-187,<WinHeight>-51)
  134. // Rate bar bottom
  135. CopyBitmap(17,18,35,4,<WinWidth>-187,<WinHeight>-33)
  136. // Rate bar right side
  137. CopyBitmap(148,28,23,22,<WinWidth>-152,<WinHeight>-51)
  138.  
  139. // Right Buttons
  140. CreateExButton(Type=Normal,SrcX=  0,SrcY= 72,Width=25,Height=27,DestX=<WinWidth>-25,DestY=  0,Function=fnExit,Hint=Exit Program)
  141. CreateExButton(Type=Normal,SrcX= 50,SrcY= 72,Width=25,Height=27,DestX=<WinWidth>-25,DestY= 27,Function=fnMax,Hint=Maximize Window)
  142. CreateExButton(Type=Normal,SrcX=100,SrcY= 72,Width=25,Height=27,DestX=<WinWidth>-25,DestY= 54,Function=fnMinimize,Hint=Minimize Window)
  143. CreateExButton(Type=Normal,SrcX=  0,SrcY= 99,Width=25,Height=27,DestX=<WinWidth>-25,DestY= 81,Function=fnFullScreen,Hint=FullScreen Mode)
  144. CreateExButton(Type=Normal,SrcX= 50,SrcY= 99,Width=25,Height=27,DestX=<WinWidth>-25,DestY=108,Function=fnZoom,Hint=Zoom Mode)
  145. CreateExButton(Type=Normal,SrcX=250,SrcY=125,Width=25,Height=27,DestX=<WinWidth>-25,DestY=135,Function=fnSceneCut,Hint=Scene Cut Editor)
  146. CreateExButton(Type=Normal,SrcX=150,SrcY=125,Width=25,Height=27,DestX=<WinWidth>-25,DestY=162,Function=fnBlankingPreset,Hint=Blanking Preset Editor)
  147. CreateExButton(Type=Normal,SrcX=100,SrcY=126,Width=25,Height=27,DestX=<WinWidth>-25,DestY=189,Function=fnPlayList,Hint=Play List Editor)
  148. CreateExButton(Type=Normal,SrcX=  0,SrcY=126,Width=25,Height=27,DestX=<WinWidth>-25,DestY=216,Function=fnChapter,Hint=Chapter Editor)
  149. CreateExButton(Type=Normal,SrcX= 50,SrcY=126,Width=25,Height=27,DestX=<WinWidth>-25,DestY=243,Function=fnSkin,Hint=Skin Selector)
  150. CreateExButton(Type=Normal,SrcX=100,SrcY= 99,Width=25,Height=27,DestX=<WinWidth>-25,DestY=270,Function=fnOptions,Hint=Options)
  151. // Right Button divider
  152. CopyBitmap(0,72,25,1,<WinWidth>-25,297)
  153.  
  154. // Bottom Buttons
  155. CreateExButton(Type=Normal,SrcX=  0,SrcY=203,Width=27,Height=25,DestX=  0,DestY=<WinHeight>-25,Function=fnRewind,Hint=Rewind)
  156. CreateExButton(Type=Normal,SrcX=  0,SrcY=153,Width=27,Height=25,DestX= 27,DestY=<WinHeight>-25,Function=fnPlay,Hint=Play / Pause Video)
  157. CreateExButton(Type=Normal,SrcX=  0,SrcY=178,Width=27,Height=25,DestX= 54,DestY=<WinHeight>-25,Function=fnFastForward,Hint=Fast Forward)
  158. CreateExButton(Type=Normal,SrcX= 54,SrcY=153,Width=27,Height=25,DestX= 81,DestY=<WinHeight>-25,Function=fnStop,Hint=Stop Video)
  159. CreateExButton(Type=Normal,SrcX= 54,SrcY=178,Width=27,Height=25,DestX=108,DestY=<WinHeight>-25,Function=fnPrevTrack,Hint=Previous Track)
  160. CreateExButton(Type=Normal,SrcX=162,SrcY=178,Width=27,Height=25,DestX=135,DestY=<WinHeight>-25,Function=fnPrevChapter,Hint=Previous Bookmark)
  161. CreateExButton(Type=Normal,SrcX=216,SrcY=178,Width=27,Height=25,DestX=162,DestY=<WinHeight>-25,Function=fnNextChapter,Hint=Next Bookmark)
  162. CreateExButton(Type=Normal,SrcX=108,SrcY=178,Width=27,Height=25,DestX=189,DestY=<WinHeight>-25,Function=fnNextTrack,Hint=Next Track)
  163. CreateExButton(Type=Normal,SrcX= 54,SrcY=203,Width=27,Height=25,DestX=216,DestY=<WinHeight>-25,Function=fnDVDRootMenu,Hint=Root Menu)
  164. CreateExButton(Type=Normal,SrcX=270,SrcY=203,Width=27,Height=25,DestX=243,DestY=<WinHeight>-25,Function=fnAudioTrack,Hint=Next Audio Track)
  165. CreateExButton(Type=Normal,SrcX=270,SrcY=178,Width=27,Height=25,DestX=270,DestY=<WinHeight>-25,Function=fnDVDSub,Hint=Next Subtitle Track)
  166. CreateExButton(Type=Normal,SrcX=108,SrcY=203,Width=27,Height=25,DestX=297,DestY=<WinHeight>-25,Function=fnBar,Hint=Show / Hide Control Bar)
  167.  
  168. // Bottom Button divider + DVD Logo
  169. CopyBitmap(0,153,1,25,324,<WinHeight>-25)
  170. CopyBitmap(26,153,1,25,<WinWidth>-76,<WinHeight>-25)
  171. CopyBitmap(151,99,50,25,<WinWidth>-75,<WinHeight>-25)
  172.  
  173. // Eject Button
  174. CreateExButton(Type=Normal,SrcX=250,SrcY=0,Width=35,Height=22,DestX=<WinWidth>-69,DestY=<WinHeight>-51,Function=fnEject,Hint=Ejected selected drive)
  175.  
  176. // TimeLine Buttons
  177. CreateExButton(Type=Normal,SrcX=151,SrcY=71,Width=8,Height=12,DestX=            10,DestY=<WinHeight>-46,Function=fnSkipBackward,Hint=Skip Backwards)
  178. CreateExButton(Type=Normal,SrcX=151,SrcY=84,Width=8,Height=12,DestX=<WinWidth>-296,DestY=<WinHeight>-46,Function=fnSkipForward,Hint=Skip Forward)
  179. // Volume bar Buttons
  180. CreateExButton(Type=Normal,SrcX=154,SrcY=51,Width=9,Height= 9,DestX=<WinWidth>-212,DestY=<WinHeight>-50,Function=fnVolUp,Hint=Increase Volume)
  181. CreateExButton(Type=Normal,SrcX=154,SrcY=61,Width=9,Height= 9,DestX=<WinWidth>-212,DestY=<WinHeight>-39,Function=fnVolDown,Hint=Decrease Volume)
  182. // Rate bar Buttons
  183. CreateExButton(Type=Normal,SrcX=154,SrcY=51,Width=9,Height= 9,DestX=<WinWidth>-197,DestY=<WinHeight>-50,Function=fnIncRate,Hint=Increase Play Rate)
  184. CreateExButton(Type=Normal,SrcX=154,SrcY=61,Width=9,Height= 9,DestX=<WinWidth>-197,DestY=<WinHeight>-39,Function=fnDecRate,Hint=Decrease Play Rate)
  185.  
  186. // DVD Directional Arrows
  187. CreateExButton(Type=Normal,SrcX=250,SrcY= 48,Width=25,Height=25,DestX=<WinWidth>-114,DestY=<WinHeight>-38,Function=fnDVDMenuSelect,Hint=Select DVD Menu Entry)
  188. CreateExButton(Type=Normal,SrcX=250,SrcY= 35,Width=25,Height=13,DestX=<WinWidth>-114,DestY=<WinHeight>-13,Function=fnDVDMenuDown,Hint=DVD Menu Down)
  189. CreateExButton(Type=Normal,SrcX=250,SrcY= 73,Width=13,Height=25,DestX=<WinWidth>-127,DestY=<WinHeight>-38,Function=fnDVDMenuLeft,Hint=DVD Menu Left)
  190. CreateExButton(Type=Normal,SrcX=276,SrcY= 73,Width=13,Height=25,DestX=<WinWidth>- 89,DestY=<WinHeight>-38,Function=fnDVDMenuRight,Hint=DVD Menu Right)
  191. CreateExButton(Type=Normal,SrcX=250,SrcY= 22,Width=25,Height=13,DestX=<WinWidth>-114,DestY=<WinHeight>-51,Function=fnDVDMenuUp,Hint=DVD Menu Up)
  192.  
  193. // Control Bar Buttons
  194. AddBarButton(0,252,fnPlay, Play / Pause Video)
  195. AddBarButton(100,228,fnSlowMotion, Slow Motion)
  196. AddBarButton(0,228,fnRewind, Rewind)
  197. AddBarButton(50,228,fnFastForward, Fast Forward)
  198. AddBarButton(100,276,fnPrevChapter, Previous Chapter)
  199. AddBarButton(150,276,fnNextChapter, Next Chapter)
  200. AddBarButton(50,252,fnStop, Stop Video)
  201. AddBarButton(0,276,fnPrevTrack, Previous Track)
  202. AddBarButton(50,276,fnNextTrack, Next Track)
  203. AddBarButton(100,324,fnDVDRootMenu, Root Menu)
  204. AddBarButton(0,324,fnAudioTrack, Cycle through Audio Tracks)
  205. AddBarButton(50,324,fnDVDSub, Cycle through Subtitle Tracks)
  206. AddBarButton(200,252,fnZoomIn, Zoom-In)
  207. AddBarButton(200,228,fnZoomOut, Zoom-Out)
  208. AddBarButton(200,276,fnZoom, Zoom Mode)
  209. AddBarButton(150,300,fnFullScreen, FullScreen Mode)
  210. AddBarButton(100,300,fnARCycle, Cycle Aspect Ratio Modes)
  211. AddBarButton(200,300,fnBlankingNav, Blanking Navigator)
  212. AddBarButton(0,300,fnVolUp, Increase Volume)
  213. AddBarButton(50,300,fnVolDown, Decrease Volume)
  214. AddBarButton(150,228,fnEject, Eject)
  215. AddBarButton(150,252,fnOpen, Open Media)
  216. AddBarButton(100,252,fnExit, Exit Program)
  217.