home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 July / Chip_2003-07_cd1.bin / sharewar / zoom / zplay280.exe / Skin / brownish.skn < prev    next >
Text File  |  2002-09-05  |  11KB  |  238 lines

  1. Future Brownish Media Skin (sample) by Blight
  2.  
  3. // Base Information used when loading the skin:
  4. SkinFileName    = (brownish.bmp)
  5.  
  6. // Initial settings:
  7. iWinWidth       = (430)
  8. iWinHeight      = (360)
  9. iVidWidth       = (400)
  10. iVidHeight      = (300)
  11. iVidLeft        = (4)
  12. iVidTop         = (4)
  13. iMinWidth       = (352)
  14. iMinHeight      = (264)
  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. //iTransColor     = (B5968C)
  28.  
  29. // Dynamic settings (items with window-size relative positioning):
  30. tLineWidth      = (<WinWidth>-220)
  31. tLineHeight     = (14)
  32. tLineLeft       = (21)
  33. tLineTop        = (<WinHeight>-47)
  34.  
  35. VolLeft         = (<WinWidth>-155)
  36. VolTop          = (<WinHeight>-47)
  37. RateLeft        = (<WinWidth>-87)
  38. RateTop         = (<WinHeight>-47)
  39.  
  40. cBarTLWidth     = (<cBarWidth>-12)
  41. cBarTLHeight    = (14)
  42. cBarTLLeft      = (6)
  43. cBarTLTop       = (5)
  44.  
  45. // TimeLine background and foreground source bitmap position
  46. TimeLineBG(57,4,40)
  47. TimeLineFG(17,4,40)
  48. VolumeExData(SrcX=208,SrcY=0,Width=42,Height=14,Images=12)
  49. RateData(172,0,35,14)
  50.  
  51. // Control Bar TimeLine background source bitmap position
  52. TimeLineCBarBG(113,55,40)
  53. TimeLineCBarFG(73,55,40)
  54.  
  55. // Control Bar and Integrated timeline Bitmap Separator (active/inactive areas)
  56. TimeLineActive(65,55,2,14,1,0)
  57. TimeLineCBarActive(69,55,2,14,1,0)
  58.  
  59. // Left Control Bar Side
  60. CopyCBarBitmap(115,0,6,24,0,0)
  61.  
  62. // Right Control Bar Side
  63. CopyCBarBitmap(121,0,6,24,<cBarWidth>-6,0)
  64.  
  65. // Top Control Bar Bar
  66. TileCBarBitmapH(128,0,40,5,6,0,<cBarWidth>-12)
  67.  
  68. // Bottom Control Bar Bar
  69. TileCBarBitmapH(128,5,40,5,6,<cBarHeight>-5,<cBarWidth>-12)
  70.  
  71. // Top Left corner
  72. CopyBitmap(0,23,4,4,0,0)
  73.  
  74. // Top Right corner
  75. CopyBitmap(0,72,25,1,<WinWidth>-25,0)
  76.  
  77. // Bottom Left corner
  78. CopyBitmap(0,99,1,25,0,<WinHeight>-25)
  79.  
  80. // Bottom Left corner top
  81. CopyBitmap(0,27,3,31,0,<WinHeight>-57)
  82.  
  83. // Bottom Right Corner
  84. CopyBitmap(32,28,26,26,<WinWidth>-26,<WinHeight>-26)
  85.  
  86. // Bottom Right top
  87. CopyBitmap(6,28,25,30,<WinWidth>-25,<WinHeight>-56)
  88.  
  89. // Video Bottom bar
  90. TileBitmapH(4,26,40,1,3,<WinHeight>-56,<WinWidth>-28)
  91.  
  92. // Bar background
  93. FillRect(3,<WinHeight>-55,<WinWidth>-29,29,B4968B)
  94.  
  95. // Bar Bottom Separator
  96. FillRect(0,<WinHeight>-26,<WinWidth>-26,1,9E8075)
  97.  
  98. // Bar Right Separator
  99. FillRect(<WinWidth>-26,<WinHeight>-55,1,29,9E8075)
  100.  
  101. // Left bar
  102. TileBitmapV(0,27,4,40,0,4,<WinHeight>-60)
  103.  
  104. // Right bar
  105. TileBitmapV(5,28,26,40,<WinWidth>-26,1,<WinHeight>-57)
  106.  
  107. // Top Bar
  108. TileBitmapH(4,23,40,4,4,0,<WinWidth>-29)
  109.  
  110. // Bottom Bar
  111. TileBitmapH(59,28,40,25,1,<WinHeight>-25,<WinWidth>-27)
  112.  
  113. // Timeline left side
  114. CopyBitmap(0,0,17,22,4,<WinHeight>-51)
  115. // Timeline right side
  116. CopyBitmap(97,0,17,22,<WinWidth>-199,<WinHeight>-51)
  117. // Timeline top
  118. TileBitmapH(17,0,40,4,21,<WinHeight>-51,<WinWidth>-220)
  119. // Timeline bottom
  120. TileBitmapH(17,18,40,4,21,<WinHeight>-33,<WinWidth>-220)
  121.  
  122. // Volume bar left side
  123. CopyBitmap(100,28,23,22,<WinWidth>-178,<WinHeight>-51)
  124. // Volume bar right side
  125. CopyBitmap(124,28,11,22,<WinWidth>-113,<WinHeight>-51)
  126. // Volume bar top
  127. CopyBitmap(17,0,42,4,<WinWidth>-155,<WinHeight>-51)
  128. // Volume bar bottom
  129. CopyBitmap(17,18,42,4,<WinWidth>-155,<WinHeight>-33)
  130.  
  131. // Rate bar right side
  132. CopyBitmap(148,28,23,22,<WinWidth>-52,<WinHeight>-51)
  133. // Rate bar left side
  134. CopyBitmap(136,28,11,22,<WinWidth>-98,<WinHeight>-51)
  135. // Rate bar top
  136. CopyBitmap(17,0,35,4,<WinWidth>-87,<WinHeight>-51)
  137. // Rate bar bottom
  138. CopyBitmap(17,18,35,4,<WinWidth>-87,<WinHeight>-33)
  139.  
  140. // Video Area
  141. FillRect(4,4,<VidWidth>,<VidHeight>,000000)
  142.  
  143. // Right Buttons
  144. CreateExButton(Type=Normal,SrcX=  0,SrcY= 72,Width=25,Height=27,DestX=<WinWidth>-25,DestY=  0,Function=fnExit,Hint=Exit Program)
  145. CreateExButton(Type=Normal,SrcX= 50,SrcY= 72,Width=25,Height=27,DestX=<WinWidth>-25,DestY= 27,Function=fnMax,Hint=Maximize Window)
  146. CreateExButton(Type=Normal,SrcX=100,SrcY= 72,Width=25,Height=27,DestX=<WinWidth>-25,DestY= 54,Function=fnMinimize,Hint=Minimize Window)
  147. CreateExButton(Type=Normal,SrcX=  0,SrcY= 99,Width=25,Height=27,DestX=<WinWidth>-25,DestY= 81,Function=fnFullScreen,Hint=FullScreen Mode)
  148. CreateExButton(Type=Normal,SrcX= 50,SrcY= 99,Width=25,Height=27,DestX=<WinWidth>-25,DestY=108,Function=fnZoom,Hint=Zoom Mode)
  149. CreateExButton(Type=Normal,SrcX=250,SrcY=125,Width=25,Height=27,DestX=<WinWidth>-25,DestY=135,Function=fnSceneCut,Hint=Scene Cut Editor)
  150. CreateExButton(Type=Normal,SrcX=150,SrcY=125,Width=25,Height=27,DestX=<WinWidth>-25,DestY=162,Function=fnBlankingPreset,Hint=Blanking Preset Editor)
  151. CreateExButton(Type=Normal,SrcX=100,SrcY=126,Width=25,Height=27,DestX=<WinWidth>-25,DestY=189,Function=fnPlayList,Hint=Play List Editor)
  152. CreateExButton(Type=Normal,SrcX=  0,SrcY=126,Width=25,Height=27,DestX=<WinWidth>-25,DestY=216,Function=fnChapter,Hint=Chapter Editor)
  153. CreateExButton(Type=Normal,SrcX= 50,SrcY=126,Width=25,Height=27,DestX=<WinWidth>-25,DestY=243,Function=fnSkin,Hint=Skin Selector)
  154. CreateExButton(Type=Normal,SrcX=100,SrcY= 99,Width=25,Height=27,DestX=<WinWidth>-25,DestY=270,Function=fnOptions,Hint=Options)
  155. // Right Button divider
  156. CopyBitmap(0,72,25,1,<WinWidth>-25,297)
  157.  
  158. // Bottom Buttons
  159. CreateExButton(Type=Normal,SrcX=  0,SrcY=203,Width=27,Height=25,DestX=  0,DestY=<WinHeight>-25,Function=fnRewind,Hint=Rewind)
  160. CreateExButton(Type=Normal,SrcX=  0,SrcY=153,Width=27,Height=25,DestX= 27,DestY=<WinHeight>-25,Function=fnPlay,Hint=Play / Pause Video)
  161. CreateExButton(Type=Normal,SrcX=  0,SrcY=178,Width=27,Height=25,DestX= 54,DestY=<WinHeight>-25,Function=fnFastForward,Hint=Fast Forward)
  162. CreateExButton(Type=Normal,SrcX= 54,SrcY=153,Width=27,Height=25,DestX= 81,DestY=<WinHeight>-25,Function=fnStop,Hint=Stop Video)
  163. CreateExButton(Type=Normal,SrcX= 54,SrcY=178,Width=27,Height=25,DestX=108,DestY=<WinHeight>-25,Function=fnPrevTrack,Hint=Previous Track)
  164. CreateExButton(Type=Normal,SrcX=162,SrcY=178,Width=27,Height=25,DestX=135,DestY=<WinHeight>-25,Function=fnPrevChapter,Hint=Previous Chapter)
  165. CreateExButton(Type=Normal,SrcX=216,SrcY=178,Width=27,Height=25,DestX=162,DestY=<WinHeight>-25,Function=fnNextChapter,Hint=Next Chapter)
  166. CreateExButton(Type=Normal,SrcX=108,SrcY=178,Width=27,Height=25,DestX=189,DestY=<WinHeight>-25,Function=fnNextTrack,Hint=Next Track)
  167. CreateExButton(Type=Normal,SrcX=270,SrcY=203,Width=27,Height=25,DestX=216,DestY=<WinHeight>-25,Function=fnAudioTrack,Hint=Next Audio Track)
  168. CreateExButton(Type=Normal,SrcX=270,SrcY=178,Width=27,Height=25,DestX=243,DestY=<WinHeight>-25,Function=fnDVDSub,Hint=Next Subtitle Track)
  169. CreateExButton(Type=Normal,SrcX=108,SrcY=153,Width=27,Height=25,DestX=270,DestY=<WinHeight>-25,Function=fnOpen,Hint=Open Media)
  170. CreateExButton(Type=Normal,SrcX=108,SrcY=203,Width=27,Height=25,DestX=297,DestY=<WinHeight>-25,Function=fnBar,Hint=Show / Hide Control Bar)
  171. // Bottom Button divider
  172. CopyBitmap(0,153,1,25,324,<WinHeight>-25)
  173.  
  174. // TimeLine Buttons
  175. CreateExButton(Type=Normal,SrcX=151,SrcY=71,Width=8,Height=12,DestX=            10,DestY=<WinHeight>-46,Function=fnSkipBackward,Hint=Skip Backwards)
  176. CreateExButton(Type=Normal,SrcX=151,SrcY=84,Width=8,Height=12,DestX=<WinWidth>-196,DestY=<WinHeight>-46,Function=fnSkipForward,Hint=Skip Forward)
  177. // Volume bar Buttons
  178. CreateExButton(Type=Normal,SrcX=154,SrcY=51,Width=9,Height= 9,DestX=<WinWidth>-112,DestY=<WinHeight>-50,Function=fnVolUp,Hint=Increase Volume)
  179. CreateExButton(Type=Normal,SrcX=154,SrcY=61,Width=9,Height= 9,DestX=<WinWidth>-112,DestY=<WinHeight>-39,Function=fnVolDown,Hint=Decrease Volume)
  180. // Rate bar Buttons
  181. CreateExButton(Type=Normal,SrcX=154,SrcY=51,Width=9,Height= 9,DestX=<WinWidth>- 97,DestY=<WinHeight>-50,Function=fnIncRate,Hint=Increase Play Rate)
  182. CreateExButton(Type=Normal,SrcX=154,SrcY=61,Width=9,Height= 9,DestX=<WinWidth>- 97,DestY=<WinHeight>-39,Function=fnDecRate,Hint=Decrease Play Rate)
  183.  
  184. // Control Bar Buttons
  185. AddBarButton(0,252,fnPlay,Play / Pause Video)
  186. AddBarButton(100,228,fnSlowMotion,Slow Motion)
  187. AddBarButton(50,228,fnFastForward,Fast Forward)
  188. AddBarButton(100,276,fnPrevChapter,Previous Chapter)
  189. AddBarButton(150,276,fnNextChapter,Next Chapter)
  190. AddBarButton(50,252,fnStop,Stop Video)
  191. AddBarButton(0,276,fnPrevTrack,Previous Track)
  192. AddBarButton(50,276,fnNextTrack,Next Track)
  193. AddBarButton(250,252,fnAudioTrack,Next Audio Track)
  194. AddBarButton(250,228,fnDVDSub,Next Subtitle Track)
  195. AddBarButton(200,252,fnZoomIn,Zoom-In)
  196. AddBarButton(200,228,fnZoomOut,Zoom-Out)
  197. AddBarButton(200,276,fnZoom,Zoom Mode)
  198. AddBarButton(150,300,fnFullScreen,FullScreen Mode)
  199. AddBarButton(100,300,fnARCycle,Cycle Aspect Ratio Modes)
  200. AddBarButton(200,300,fnBlankingNav,Blanking Navigator)
  201. AddBarButton(0,300,fnVolUp,Increase Volume)
  202. AddBarButton(50,300,fnVolDown,Decrease Volume)
  203. AddBarButton(150,228,fnEject,Eject)
  204. AddBarButton(150,252,fnOpen,Open Media)
  205. AddBarButton(100,252,fnExit,Exit Program)
  206.  
  207. // Example of a Biliniar streched bitmap copy
  208. //CopyStretchedBitmap(150,98,52,27,4,4,<VidWidth>,<VidHeight>)
  209.  
  210. // Example of a Gradient fill of the Video Area, Red to White
  211. //GradientRectV(4,4,<VidWidth>,<VidHeight>,FF00FF,00FF00)
  212.  
  213. // Example of Transparent bitmap copy
  214. //CopyTransBitmap(251,0,32,16,10,10,ECD000)
  215.  
  216. // Example of Alpha Blended Mask Copy, Mask must be aligned to the right of the bitmap (and of the same size)
  217. //CopyMaskedBitmap(267,153,16,16,<WinWidth>-24,<WinHeight>-50)
  218.  
  219. // Example of a button using the EX functions (see "default.key" for a list of functions).
  220. //CreateExButton(Type=Extended,SrcX=0,SrcY=72,Width=25,Height=27,DestX=0,DestY=0,Function=exSetAR,FunctionParam=1,Hint=Set Aspect Ratio to Source Aspect Ratio)
  221.  
  222. // Example of a filter property opening button
  223. //CreateExButton(Type=Filter,SrcX=0,SrcY=72,Width=25,Height=27,DestX=0,DestY=0,StringParam=DivX|XviD|MPEG4,Hint=Open any MPEG4 based decoder filter)
  224.  
  225. // Example of a Transparent Button
  226. //CreateExButton(Type=Normal,SrcX=32,SrcY=55,Width=16,Height=16,DestX=<WinWidth>-22,DestY=<WinHeight>-50,Function=fnInfo,TransColor=ECD000,Hint=File Information)
  227.  
  228. // Example of an Alpha Blended Button with Hovering (Mouse-Over)
  229. //CreateExButton(Type=Normal,SrcX=251,SrcY=153,Width=16,Height=16,HoverX=299,HoverY=153,AlphaX=283,AlphaY=153,DestX=<WinHalfWidth>+22,DestY=<WinHeight>-50,Function=fnInfo,Hint=File Information)
  230.  
  231. // Example of Drawing Dynamic Text, First draw the Shadow (One Pixel lower and drawn first)
  232. //DrawExText(DestX=5,DestY=<WinHeight>-56,Width=<WinWidth>-10,Height=20,Align=Center,Case=UpFirst,FontName=Arial,FontSize=8,FontColor=000000,FontStyle=Bold,Text=<FileName>)
  233. // Then the Actual Text
  234. //DrawExText(DestX=5,DestY=<WinHeight>-57,Width=<WinWidth>-10,Height=20,Align=Center,Case=UpFirst,FontName=Arial,FontSize=8,FontColor=FFFFFF,FontStyle=Bold,Text=<FileName>)
  235.  
  236. // Another example of Drawing Dynamic Text (Playing times)
  237. //DrawExText(DestX=5,DestY=<WinHeight>-57,Width=<WinWidth>-10,Height=20,Align=Center,Case=UpFirst,FontName=Arial,FontSize=8,FontColor=FFFFFF,FontStyle=Bold,Text=At <Time> out of <Duration> - Remaining: <TimeRemain>)
  238.