home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 February / PCWorld_2006-02_cd.bin / software / temacd / zoomplayer / zp451std.exe / Skin / defaultaudio.skn < prev    next >
Text File  |  2005-06-11  |  14KB  |  248 lines

  1. Default Media Audio Skin (sample) by Blight
  2.  
  3. // Set Default Active Groups
  4. ActiveGroups    = (1)
  5. AudioSkin       = (1)
  6.  
  7. // FileName
  8. SkinFileName    = (default.bmp)
  9.  
  10. // Initial settings:
  11. iWinWidth       = (340)
  12. iWinHeight      = (25)
  13. StartGroup(1)
  14. iMinWidth       = (340)
  15. EndGroup(1)
  16. StartGroup(2)
  17. iMinWidth       = (180)
  18. EndGroup(2)
  19. StartGroup(64,8192)
  20. iMinWidth       = (140)
  21. EndGroup(64,8192)
  22. iMinHeight      = (25)
  23. tLineNoText     = (1)
  24. cBarFontHeight  = (20)
  25. cBarFontYOfs    = (-2)
  26. cBarFontFace    = (Tahoma)
  27. cBarFontColor   = (FFFFFF)
  28. cBarFontStyle   = (Bold)
  29. cBarButWidth    = (26)
  30. cBarButHeight   = (35)
  31. cBarRightMargin = (13)
  32. iTransColor     = (FF00FF)
  33. pTransColor     = (FF00FF)
  34. cTransColor     = (FF00FF)
  35. eTransColor     = (FF00FF)
  36.  
  37. // Dynamic settings (items with window-size relative positioning):
  38. tLineHeight     = (6)
  39. tLineTop        = (15)
  40.  
  41. StartGroup(1)
  42. tLineLeft       = (116)
  43. tLineWidth      = (<WinWidth>-188)
  44. DrawExText(DestX=116,DestY=1,Width=<WinWidth>-188,Height=14,Align=Center,FontName=Tahoma,FontSize=10,FontColor=EF3F00,FontStyle=None,Text=<TimeLineText>,ShadeBottom=BFBFBF)
  45. EndGroup(1)
  46.  
  47. StartGroup(2)
  48. tLineLeft       = (50)
  49. tLineWidth      = (<WinWidth>-78)
  50. DrawExText(DestX=50,DestY=1,Width=<WinWidth>-78,Height=14,Align=Center,FontName=Tahoma,FontSize=10,FontColor=EF3F00,FontStyle=None,Text=<TimeLineText>,ShadeBottom=BFBFBF)
  51. EndGroup(2)
  52.  
  53. StartGroup(64,8192)
  54. tLineLeft       = (10)
  55. tLineWidth      = (<WinWidth>-20)
  56. DrawExText(DestX=10,DestY=1,Width=<WinWidth>-20,Height=14,Align=Center,FontName=Tahoma,FontSize=10,FontColor=EF3F00,FontStyle=None,Text=<TimeLineText>,ShadeBottom=BFBFBF)
  57. EndGroup(64,8192)
  58.  
  59. // TimeLine background and foreground source bitmap position
  60. TimeLineFG(40,524,40)
  61. TimeLineBG(127,105,40)
  62. TimeLineStart(215,289,5)
  63. TimeLineEnd(215,264,5)
  64.  
  65. cBarTLWidth     = (<cBarWidth>-8)
  66. cBarTLHeight    = (23)
  67. cBarTLLeft      = (6)
  68. cBarTLTop       = (6)
  69.  
  70. // Control Bar TimeLine background source bitmap position
  71. TimeLineCBarFG(225,269,48)
  72. TimeLineCBarBG(225,240,48)
  73. TimeLineCBarEnd(225,292,12)
  74. TimeLineCBarStart(249,292,12)
  75. TimeLineCBarFontShade(606060,606060,707070,303030)
  76.  
  77. // Setup display for OSD Popup messages.
  78. OSDPopUp(MinWidth=20,MinHeight=20,xMargin=10,yMargin=8,TransColor=FF00FF)
  79. FillOSDRect(0,0,<OSDWidth>,<OSDHeight>,606060)
  80. CopyOSDBitmap(238,350,10,10,0,0);
  81. CopyOSDBitmap(238,374,10,10,0,<OSDHeight>-10);
  82. CopyOSDBitmap(263,350,10,10,<OSDWidth>-10,0);
  83. CopyOSDBitmap(263,374,10,10,<OSDWidth>-10,<OSDHeight>-10);
  84. TileOSDBitmapH(248,350,16,5,10,0,<OSDWidth>-20)
  85. TileOSDBitmapH(248,379,16,5,10,<OSDHeight>-5,<OSDWidth>-20)
  86. TileOSDBitmapV(238,360,5,16,0,10,<OSDHeight>-20)
  87. TileOSDBitmapV(268,360,5,16,<OSDWidth>-5,10,<OSDHeight>-20)
  88.  
  89. // Control Bar Background
  90. TileCBarBitmapH(225,234,48,35,0,0,<cBarFullWidth>)
  91.  
  92. // Right of TimeLine Control Bar Side
  93. CopyCBarBitmap(214,349,12,35,<cBarWidth>-12,0)
  94. // Left Control Bar Side
  95. CopyCBarBitmap(198,349,16,35,0,0)
  96. // Right Control Bar Side
  97. CopyCBarBitmap(225,349,24,35,<cBarFullWidth>-13,0)
  98.  
  99. // Background
  100. TileBitmapH(0,505,40,25,0,0,<WinWidth>)
  101.  
  102. // Left/Right Transparency
  103. CopyBitmap(120,505,20,25,0,0)
  104. CopyBitmap(172,505,20,25,<WinWidth>-20,0)
  105.  
  106. // Cover Transparency Button Glyphs
  107. CopyBitmap(104,350,11,11,9,7)
  108. CopyBitmap(104,361,11,11,<WinWidth>-20,7)
  109.  
  110. // Left/Right Resize
  111. CopyBitmap(215,299,5,13,0,6)
  112. CopyBitmap(220,299,5,13,<WinWidth>-5,6)
  113.  
  114. StartGroup(1,2)
  115. // Left buttons
  116. CreateExButton(Type=Normal,SrcX=120,SrcY=505,Width=24,Height=25,DestX=  0,DestY=0,TransColor=FF00FF,Function=fnExit,Hint=Exit Program)
  117.  
  118. // Right buttons
  119. CreateExButton(Type=Normal,SrcX=168,SrcY=505,Width=24,Height=25,DestX=<WinWidth>-24,DestY=0,TransColor=FF00FF,Function=fnAudioMode,Hint=Switch to Full Display)
  120. EndGroup(1,2)
  121.  
  122. StartGroup(1)
  123. // Button Sep
  124. CopyBitmap( 0,530,1,25,112,0)
  125. CopyBitmap(21,530,1,25,<WinWidth>-69,0)
  126.  
  127. // Left buttons
  128. CreateExButton(Type=Normal,SrcX= 88,SrcY=530,Width=22,Height=25,DestX= 24,DestY=0,Function=fnPrevChapter,Hint=Previous Chapter/Track)
  129. CreateExButton(Type=Normal,SrcX=176,SrcY=530,Width=22,Height=25,DestX= 46,DestY=0,Function=fnStop,Hint=Stop)
  130. CreateExButton(Type=Normal,SrcX=  0,SrcY=530,Activate=Play,ActiveX=242,ActiveY=505,Width=22,Height=25,DestX=68,DestY=0,Function=fnPlay,Hint=Play/Pause)
  131. CreateExButton(Type=Normal,SrcX= 44,SrcY=530,Width=22,Height=25,DestX= 90,DestY=0,Function=fnNextChapter,Hint=Next Chapter/Track)
  132.  
  133. // Right buttons
  134. CreateExButton(Type=Normal,SrcX=220,SrcY=530,Width=22,Height=25,DestX=<WinWidth>-46,DestY=0,Function=fnPlayList,Hint=Play List Editor)
  135. CreateExButton(Type=Normal,SrcX=132,SrcY=530,Activate=Mute,ActiveX=220,ActiveY=505,Width=22,Height=25,DestX=<WinWidth>-68,DestY=0,Function=fnMute,Hint=Mute)
  136. EndGroup(1)
  137.  
  138. StartGroup(2)
  139. // Button Sep
  140. CopyBitmap( 0,530,1,25,46,0)
  141. CopyBitmap(21,530,1,25,<WinWidth>-25,0)
  142.  
  143. // Left Buttons
  144. CreateExButton(Type=Normal,SrcX=  0,SrcY=530,Activate=Play,ActiveX=242,ActiveY=505,Width=22,Height=25,DestX=24,DestY=0,Function=fnPlay,Hint=Play/Pause)
  145. EndGroup(2)
  146.  
  147. // Control Bar Buttons (Order of creation determines the display order within the Control Bar)
  148. CreateExButton(Type=Normal,Target=CBar,SrcX=  0,SrcY=349,Function=fnPrevChapter,Hint=Previous Chapter/Track)
  149. CreateExButton(Type=Normal,Target=CBar,SrcX= 52,SrcY=247,Function=fnRewind,Hint=Rewind)
  150. CreateExButton(Type=Normal,Target=CBar,SrcX=  0,SrcY=213,Function=fnStop,Hint=Stop)
  151. CreateExButton(Type=Normal,Target=CBar,SrcX= 52,SrcY=213,Function=fnPlay,Hint=Play / Pause)
  152. CreateExButton(Type=Normal,Target=CBar,SrcX=  0,SrcY=247,Function=fnFastForward,Hint=Fast Forward)
  153. CreateExButton(Type=Normal,Target=CBar,SrcX=104,SrcY=213,Function=fnNextChapter,Hint=Next Chapter/Track)
  154. CreateExButton(Type=Normal,Target=CBar,SrcX=104,SrcY=315,Function=fnAudioTrack,Hint=Next Audio Track)
  155. CreateExButton(Type=Normal,Target=CBar,SrcX= 52,SrcY=315,Function=fnDVDSub,Hint=Next Subtitle Track)
  156. CreateExButton(Type=Normal,Target=CBar,SrcX=104,SrcY=281,Function=fnFullscreen,Hint=Fullscreen/Restore)
  157. CreateExButton(Type=Normal,Target=CBar,SrcX=  0,SrcY=315,Function=fnZoom,Hint=Fullscreen to Zoom)
  158. CreateExButton(Type=Normal,Target=CBar,SrcX=104,SrcY=247,Function=fnZoomIn,Hint=Zoom In)
  159. CreateExButton(Type=Normal,Target=CBar,SrcX=  0,SrcY=281,Function=fnZoomOut,Hint=Zoom Out)
  160. CreateExButton(Type=Normal,Target=CBar,SrcX= 52,SrcY=349,Function=fnOptions,Hint=Options)
  161. CreateExButton(Type=Normal,Target=CBar,SrcX=156,SrcY=213,Function=fnEject,Hint=Eject)
  162. CreateExButton(Type=Normal,Target=CBar,SrcX=156,SrcY=281,Function=fnPlayList,Hint=Play List Editor)
  163. CreateExButton(Type=Normal,Target=CBar,SrcX=156,SrcY=247,Function=fnOpen,Hint=Open Media)
  164. CreateExButton(Type=Normal,Target=CBar,SrcX= 52,SrcY=281,Function=fnExit,Hint=Close Player)
  165.  
  166. // Play List Corners
  167. CopyPLBitmap(0,0,16,21,0,0)
  168. CopyPLBitmap(131,0,46,21,<PLWinWidth>-46,0)
  169. CopyPLBitmap(167,91,16,31,0,<PLWinHeight>-31)
  170. CopyPLBitmap(209,91,16,31,<PLWinWidth>-16,<PLWinHeight>-31)
  171. // Play List Sides
  172. TilePLBitmapV(98,21,6,42,0,21,<PLWinHeight>-52)
  173. TilePLBitmapV(103,21,6,42,<PLWinWidth>-6,21,<PLWinHeight>-52)
  174. TilePLBitmapH(16,0,44,21,16,0,<PLWinWidth>-48)
  175. TilePLBitmapH(182,93,28,29,16,<PLWinHeight>-29,<PLWinWidth>-32)
  176. // Fill Background behind playlist (important)
  177. FillPLRect(6,19,<PLWinWidth>-12,<PLWinHeight>-47,000000)
  178.  
  179. // Data for the play list display
  180. StartGroup(-16777216)
  181. PlayListData(DestX=6,DestY=19,MinWidth=180,MinHeight=150,Width=<PLWinWidth>-12,Height=<PLWinHeight>-47,Border=575757,Background=9F9F9F,Foreground=000000,SelectBG=008FFF,SelectBorder=006FDF,SelectFG=000000,Highlight=FFFFFF,ScrollBG=7F7F7F,ScrollFace=6F6F6F,ScrollDark=5F5F5F,ScrollLight=7F7F7F,ScrollWidth=17,ScrollFGX=210,ScrollFGY=213,ScrollFGW=15,ScrollFGH=36,FontFace=Arial,FontHeight=11,FontSpace=13)
  182. CreateExButton(Type=Extended,Target=PlayList,SrcX=169,SrcY=555,Width=21,Height=21,DestX=51,DestY=<PLWinHeight>-25,Function=exGroupToggle,FunctionParam=16777216,Hint=Show Extra Controls)
  183. EndGroup(-16777216)
  184.  
  185. StartGroup(16777216)
  186. PlayListData(DestX=6,DestY=19,MinWidth=403,MinHeight=150,Width=<PLWinWidth>-12,Height=<PLWinHeight>-47,Border=575757,Background=9F9F9F,Foreground=000000,SelectBG=008FFF,SelectBorder=006FDF,SelectFG=000000,Highlight=FFFFFF,ScrollBG=7F7F7F,ScrollFace=6F6F6F,ScrollDark=5F5F5F,ScrollLight=7F7F7F,ScrollWidth=17,ScrollFGX=210,ScrollFGY=213,ScrollFGW=15,ScrollFGH=36,FontFace=Arial,FontHeight=11,FontSpace=13)
  187. // Bottom Buttons
  188. CreateExButton(Type=Normal,Target=PlayList,SrcX=162,SrcY=143,Width=21,Height=21,DestX= 74,DestY=<PLWinHeight>-25,ActiveX=204,ActiveY=143,Activate=LoopPlay,Function=fnLoopPlay,Hint=Loop Current Track)
  189. CreateExButton(Type=Normal,Target=PlayList,SrcX=  0,SrcY=171,Width=31,Height=21,DestX= 97,DestY=<PLWinHeight>-25,Function=fnPLAddFiles,Hint=Add Files to Play List)
  190. CreateExButton(Type=Normal,Target=PlayList,SrcX=186,SrcY=171,Width=31,Height=21,DownX=186,DownY=192,DestX=130,DestY=<PLWinHeight>-25,Function=fnPLAddDir,Hint=Add Directory to Play List)
  191. CreateExButton(Type=Normal,Target=PlayList,SrcX= 62,SrcY=192,Width=31,Height=21,DestX=163,DestY=<PLWinHeight>-25,Function=fnPLRemove,Hint=Remove Selected Items)
  192. CreateExButton(Type=Normal,Target=PlayList,SrcX= 62,SrcY=171,Width=31,Height=21,DestX=196,DestY=<PLWinHeight>-25,Function=fnPLClear,Hint=Clear Play List)
  193. CreateExButton(Type=Normal,Target=PlayList,SrcX=  0,SrcY=192,Width=31,Height=21,DestX=229,DestY=<PLWinHeight>-25,Function=fnPLLoadList,Hint=Load Play List)
  194. CreateExButton(Type=Normal,Target=PlayList,SrcX=124,SrcY=171,Width=31,Height=21,DestX=262,DestY=<PLWinHeight>-25,Function=fnPLSaveList,Hint=Save Play List)
  195. CreateExButton(Type=Normal,Target=PlayList,SrcX=124,SrcY=192,Width=31,Height=21,DestX=295,DestY=<PLWinHeight>-25,Function=fnPLSort,Hint=Sort Play List)
  196. CreateExButton(Type=Extended,Target=PlayList,SrcX=211,SrcY=555,Width=21,Height=21,DestX=51,DestY=<PLWinHeight>-25,Function=exGroupToggle,FunctionParam=16777216,Hint=Hide Extra Controls)
  197. EndGroup(16777216)
  198.  
  199. CreateExButton(Type=Normal,Target=PlayList,SrcX= 62,SrcY=555,Width=21,Height=21,DestX=5,DestY=<PLWinHeight>-25,TransColor=FF00FF,ActiveX=104,ActiveY=555,Activate=PLMagnet,Function=fnPLMagToggle,Hint=Magnetic Hard Docking)
  200. CreateExButton(Type=Normal,Target=PlayList,SrcX=177,SrcY=342,DownX=177,DownY=363,Width=21,Height=21,DestX=28,DestY=<PLWinHeight>-25,ActiveX=99,ActiveY=505,Activate=RandomPlay,Function=fnRandomPlay,Hint=Random Play)
  201. CreateExButton(Type=Normal,Target=PlayList,SrcX=  0,SrcY=555,Width=31,Height=21,DestX=<PLWinWidth>- 75,DestY=<PLWinHeight>-25,Function=fnPLControl,Hint=Open Advanced Controls)
  202. CreateExButton(Type=Normal,Target=PlayList,SrcX=148,SrcY=122,Width=18,Height=21,DestX=<PLWinWidth>- 42,DestY=<PLWinHeight>-25,Function=fnPLItemUp,Hint=Move Selected Items Up)
  203. CreateExButton(Type=Normal,Target=PlayList,SrcX=184,SrcY=122,Width=19,Height=21,DestX=<PLWinWidth>- 24,DestY=<PLWinHeight>-25,TransColor=FF00FF,Function=fnPLItemDown,Hint=Move Selected Items Down)
  204. // Top Right Buttons
  205. CreateExButton(Type=Normal,Target=Playlist,SrcX=157,SrcY= 21,DownX=157,DownY=35,Width=20,Height=14,DestX=<PLWinWidth>- 26,DestY=6,TransColor=FF00FF,Function=fnPlayList,Hint=Close Play List Editor)
  206. CreateExButton(Type=Normal,Target=Playlist,SrcX=  0,SrcY=157,Width=19,Height=14,DestX=<PLWinWidth>- 46,DestY=6,Function=fnPLMax,Hint=Maximize Window)
  207. // Top Button separator
  208. CopyPLBitmap(86,4,5,15,<PLWinWidth>-51,4)
  209. // Item Counter
  210. DrawExText(Target=PlayList,DestX=12,DestY=6,Width=<PLWinWidth>-121,Height=12,Align=Center,FontName=Tahoma,FontSize=10,FontColor=FFFFFF,FontStyle=Bold,Text=<PlayListItems>,ShadeLeft=808080,ShadeRight=808080,ShadeBottom=303030)
  211. // Duration Separator
  212. CopyPLBitmap(86,4,5,15,<PLWinWidth>-113,4)
  213. // Total Duration Display
  214. DrawExText(Target=PlayList,DestX=<PLWinWidth>-108,DestY=6,Width=56,Height=12,Align=Right,FontName=Tahoma,FontSize=10,FontColor=FFFFFF,FontStyle=Bold,Text=<PlayListTotal>,ShadeLeft=808080,ShadeRight=808080,ShadeBottom=303030)
  215. // Expanded resize area due to round corners
  216. ResizePLBox(0,0,10,10,3)
  217. ResizePLBox(<PLWinWidth>-10,0,10,10,2)
  218. ResizePLBox(0,<PLWinHeight>-10,10,10,1)
  219. ResizePLBox(<PLWinWidth>-10,<PLWinHeight>-10,10,10,0)
  220.  
  221. // EQ - Fixed size, no size constants required
  222. EQData(Width=300,Height=132,BarX=0,BarY=384,BarW=10,BarH=100,BarC=27,BarPX=14,BarPY=10,Bar0X=40,Bar0Y=10,Bar1X=60,Bar1Y=10,Bar2X=80,Bar2Y=10,Bar3X=100,Bar3Y=10,Bar4X=120,Bar4Y=10,Bar5X=140,Bar5Y=10,Bar6X=160,Bar6Y=10,Bar7X=180,Bar7Y=10,Bar8X=200,Bar8Y=10,Bar9X=220,Bar9Y=10)
  223. FillEQRect(0,0,300,140,606060)
  224. CopyEQBitmap(238,350,10,10,0,0)
  225. CopyEQBitmap(263,350,10,10,300-10,0)
  226. CopyEQBitmap(238,374,10,10,0,132-10)
  227. CopyEQBitmap(263,374,10,10,300-10,132-10)
  228. TileEQBitmapH(248,350,16,5,10,0,300-20)
  229. TileEQBitmapH(248,379,16,5,10,132-5,300-20)
  230. TileEQBitmapV(238,360,5,16,0,10,132-20)
  231. TileEQBitmapV(268,360,5,16,300-5,10,132-20)
  232. CopyEQBitmap(259,342,14,7,12,114)
  233. CopyEQBitmap(165,164,10,7,40,114)
  234. CopyEQBitmap(176,164,12,7,59,114)
  235. CopyEQBitmap(189,164,12,7,79,114)
  236. CopyEQBitmap(202,164,14,7,98,114)
  237. CopyEQBitmap(217,164,7,7,122,114)
  238. CopyEQBitmap(200,342,9,7,141,114)
  239. CopyEQBitmap(210,342,9,7,161,114)
  240. CopyEQBitmap(220,342,12,7,179,114)
  241. CopyEQBitmap(233,342,12,7,199,114)
  242. CopyEQBitmap(246,342,12,7,219,114)
  243. CreateExButton(Type=Normal,Target=EQ,SrcX=  0,SrcY=484,Width=40,Height=21,DestX=250,DestY= 10,Function=fnEQEditor,Hint=Select/Edit Equalizer Profiles)
  244. CreateExButton(Type=Normal,Target=EQ,SrcX= 80,SrcY=484,Width=40,Height=21,DestX=250,DestY= 35,Function=fnEQReset,Hint=Reset Equalizer)
  245. CreateExButton(Type=Normal,Target=EQ,SrcX=160,SrcY=484,Width=40,Height=21,DestX=250,DestY=101,Function=fnEqualizer,Hint=Close Equalizer)
  246. CreateExButton(Type=Normal,Target=EQ,SrcX=149,SrcY=358,DownX=149,DownY=371,Width=28,Height=13,DestX=250,DestY= 62,ActiveX=240,ActiveY=484,Activate=EQState,Function=fnEQToggle,Hint=Enable/Disable the Equalizer)
  247. CreateExButton(Type=Normal,Target=EQ,SrcX=125,SrcY=555,Width=22,Height=13,DestX=250,DestY= 82,ActiveX=135,ActiveY=47,Activate=EQMagnet,Function=fnEQMagToggle,Hint=Magnetic Hard Docking)
  248.