home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 December / PCWorld_2004-12_cd.bin / software / topware / zoomplayer / zp410b1std.exe / Skin / default.skn < prev    next >
Text File  |  2004-07-23  |  15KB  |  302 lines

  1. Default Media Skin (sample) by Blight
  2.  
  3. // Set Default Active Groups
  4. ActiveGroups    = (1)
  5.  
  6. // FileName
  7. SkinFileName    = (default.bmp)
  8. IconFileName    = (defaulticon.bmp)
  9. NavBGFileName   = (defaultnav.bmp)
  10.  
  11. // Initial settings:
  12. StartGroup(1,2)
  13. iWinWidth       = (412)
  14. iWinHeight      = (363)
  15. iVidWidth       = (400)
  16. iVidHeight      = (300)
  17. iVidLeft        = (6)
  18. iVidTop         = (21)
  19. iMinWidth       = (320)
  20. iMinHeight      = (240)
  21. EndGroup(1,2)
  22.  
  23. StartGroup(8192)
  24. iWinWidth       = (414)
  25. iWinHeight      = (314)
  26. iVidWidth       = (400)
  27. iVidHeight      = (300)
  28. iVidLeft        = (13)
  29. iVidTop         = (1)
  30. iMinWidth       = (40)
  31. iMinHeight      = (30)
  32. EndGroup(8192)
  33.  
  34. StartGroup(64)
  35. iWinWidth       = (400)
  36. iWinHeight      = (300)
  37. iVidWidth       = (400)
  38. iVidHeight      = (300)
  39. iVidLeft        = (0)
  40. iVidTop         = (0)
  41. iMinWidth       = (40)
  42. iMinHeight      = (30)
  43. EndGroup(64)
  44.  
  45. tLineFontHeight = (9)
  46. tLineFontYOfs   = (0)
  47. tLineFontFace   = (Tahoma)
  48. tLineFontColor  = (FFFFFF)
  49. tLineFontStyle  = (Bold)
  50. cBarFontHeight  = (20)
  51. cBarFontYOfs    = (-2)
  52. cBarFontFace    = (Tahoma)
  53. cBarFontColor   = (FFFFFF)
  54. cBarFontStyle   = (Bold)
  55. cBarButWidth    = (26)
  56. cBarButHeight   = (35)
  57. cBarRightMargin = (13)
  58. iTransColor     = (FF00FF)
  59. pTransColor     = (FF00FF)
  60. cTransColor     = (FF00FF)
  61. eTransColor     = (FF00FF)
  62.  
  63. // Dynamic settings (items with window-size relative positioning):
  64. tLineHeight     = (13)
  65. tLineLeft       = (37)
  66. tLineTop        = (<WinHeight>-39)
  67.  
  68. TimeLineBG(109,34,48)
  69. TimeLineStart(109,47,7)
  70. TimeLineEnd(123,47,6)
  71. TimeLineFontShade(909090,909090,-1,505050)
  72.  
  73. // TimeLine background and foreground source bitmap position
  74. StartGroup(1)
  75. TimeLineFG(109,21,48)
  76. tLineWidth      = (<WinWidth>-108)
  77. VolumeExData(SrcX=225,SrcY=0,DestX=<WinWidth>-53,DestY=<WinHeight>-39,Width=48,Height=13,Images=18)
  78. EndGroup(1)
  79.  
  80. StartGroup(2)
  81. TimeLineFG(109,21,48)
  82. tLineWidth      = (<WinWidth>-240)
  83. BalanceExData(SrcX=177,SrcY=0,DestX=<WinWidth>-185,DestY=<WinHeight>-39,Width=48,Height=13)
  84. RateExData(SrcX=177,SrcY=0,DestX=<WinWidth>-119,DestY=<WinHeight>-39,Width=48,Height=13)
  85. VolumeExData(SrcX=225,SrcY=0,DestX=<WinWidth>-53,DestY=<WinHeight>-39,Width=48,Height=13,Images=18)
  86. EndGroup(2)
  87.  
  88. cBarTLWidth     = (<cBarWidth>-8)
  89. cBarTLHeight    = (23)
  90. cBarTLLeft      = (6)
  91. cBarTLTop       = (6)
  92.  
  93. // Control Bar TimeLine background source bitmap position
  94. TimeLineCBarFG(225,269,48)
  95. TimeLineCBarBG(225,240,48)
  96. TimeLineCBarEnd(225,292,12)
  97. TimeLineCBarStart(249,292,12)
  98. TimeLineCBarFontShade(606060,606060,707070,303030)
  99.  
  100. // Setup display for OSD Popup messages.
  101. OSDPopUp(MinWidth=20,MinHeight=20,xMargin=10,yMargin=8,TransColor=FF00FF)
  102. FillOSDRect(0,0,<OSDWidth>,<OSDHeight>,606060)
  103. CopyOSDBitmap(238,350,10,10,0,0);
  104. CopyOSDBitmap(238,374,10,10,0,<OSDHeight>-10);
  105. CopyOSDBitmap(263,350,10,10,<OSDWidth>-10,0);
  106. CopyOSDBitmap(263,374,10,10,<OSDWidth>-10,<OSDHeight>-10);
  107. TileOSDBitmapH(248,350,16,5,10,0,<OSDWidth>-20)
  108. TileOSDBitmapH(248,379,16,5,10,<OSDHeight>-5,<OSDWidth>-20)
  109. TileOSDBitmapV(238,360,5,16,0,10,<OSDHeight>-20)
  110. TileOSDBitmapV(268,360,5,16,<OSDWidth>-5,10,<OSDHeight>-20)
  111.  
  112. // Control Bar Background
  113. TileCBarBitmapH(225,234,48,35,0,0,<cBarFullWidth>)
  114.  
  115. // Right of TimeLine Control Bar Side
  116. CopyCBarBitmap(214,349,12,35,<cBarWidth>-12,0)
  117. // Left Control Bar Side
  118. CopyCBarBitmap(198,349,16,35,0,0)
  119. // Right Control Bar Side
  120. CopyCBarBitmap(225,349,24,35,<cBarFullWidth>-13,0)
  121.  
  122. // Draw Standard GUI in Group 1
  123. StartGroup(1,2)
  124. // Top Left corner
  125. CopyBitmap(0,0,16,21,0,0)
  126. // Top Right corner
  127. CopyBitmap(63,0,114,21,<WinWidth>-114,0)
  128. // Bottom Left corner
  129. CopyBitmap(0,21,39,42,0,<WinHeight>-42)
  130. // Bottom Right corner
  131. CopyBitmap(82,21,16,42,<WinWidth>-16,<WinHeight>-42)
  132. // Left Bar
  133. TileBitmapV(98,21,6,42,0,21,<WinHeight>-63)
  134. // Right Bar
  135. TileBitmapV(103,21,6,42,<WinWidth>-6,21,<WinHeight>-63)
  136. // Top Bar
  137. TileBitmapH(16,0,44,21,16,0,<WinWidth>-130)
  138. // Bottom Bar
  139. TileBitmapH(39,21,48,42,39,<WinHeight>-42,<WinWidth>-55)
  140. // Top Left EQ separator
  141. CopyBitmap(106,5,6,16,<WinWidth>-157,5)
  142. CopyBitmap(106,5,6,16,<WinWidth>-134,5)
  143.  
  144. // Scroller Widgets
  145. CopyBitmap(119,105,12,7,<WinWidth>- 66,<WinHeight>-36)
  146.  
  147. // Video Area (NT = No Tint)
  148. FillRectNT(6,21,<VidWidth>,<VidHeight>,000000)
  149.  
  150. // Draw Filename Text
  151. DrawExText(DestX=9,DestY=6,Width=<WinWidth>-167,Height=13,Align=Center,FontName=Tahoma,FontSize=10,FontColor=FFFFFF,FontStyle=Bold,Text=<FileBase>,ShadeLeft=808080,ShadeRight=808080,ShadeBottom=303030,Function=fnAudioMode)
  152.  
  153. // Top-Right buttons
  154. CreateExButton(Type=Normal  ,SrcX=157,SrcY= 21,DownX=157,DownY=35,Width=20,Height=14,DestX=<WinWidth>- 26,DestY=6,TransColor=FF00FF,Function=fnExit,Hint=Exit Program)
  155. CreateExButton(Type=Normal  ,SrcX=  0,SrcY=157,Width=19,Height=14,DestX=<WinWidth>- 46,DestY=6,Function=fnMax,Hint=Maximize Window)
  156. CreateExButton(Type=Normal  ,SrcX= 38,SrcY=157,Width=19,Height=14,DestX=<WinWidth>- 66,DestY=6,Function=fnMinimize,Hint=Minimize Window)
  157. CreateExButton(Type=Normal  ,SrcX= 40,SrcY=505,Width=19,Height=14,DestX=<WinWidth>- 89,DestY=6,Function=fnAudioMode,Hint=Audio Bar Mode)
  158. CreateExButton(Type=Normal  ,SrcX=114,SrcY=157,Width=19,Height=14,DestX=<WinWidth>-109,DestY=6,Function=fnFullscreen,Hint=Fullscreen/Restore)
  159. CreateExButton(Type=Extended,SrcX=130,SrcY=357,DownX=158,DownY=344,Width=19,Height=14,DestX=<WinWidth>-129,DestY=6,Function=exGroupToggle,FunctionParam=8193,Hint=Minimalistic User Interface)
  160. CreateExButton(Type=Normal,SrcX=139,SrcY= 49,Width=19,Height=14,DestX=<WinWidth>-152,DestY=6,Function=fnEqualizer,Hint=Show/Hide the Internal Equalizer)
  161.  
  162.  
  163. // Bottom Left buttons
  164. CreateExButton(Type=Normal,SrcX=  0,SrcY= 84,Activate=Play,ActiveX=62,ActiveY=84,Width=31,Height=31,DestX= 6,DestY=<WinHeight>-37,TransColor=FF00FF,Function=fnPlay,Hint=Play/Pause)
  165. CreateExButton(Type=Normal,SrcX=  0,SrcY=115,Width=37,Height=21,DestX= 41,DestY=<WinHeight>-25,Function=fnPrevChapter,Hint=Previous Chapter/Track)
  166. CreateExButton(Type=Normal,SrcX= 74,SrcY=115,Width=37,Height=21,DestX= 80,DestY=<WinHeight>-25,Function=fnNextChapter,Hint=Next Chapter/Track)
  167. CreateExButton(Type=Normal,SrcX=  0,SrcY=136,Width=37,Height=21,DestX=119,DestY=<WinHeight>-25,Function=fnRewind,Hint=Rewind)
  168. CreateExButton(Type=Normal,SrcX= 74,SrcY=136,Width=37,Height=21,DestX=158,DestY=<WinHeight>-25,Function=fnFastForward,Hint=Fast Forward)
  169. CreateExButton(Type=Normal,SrcX= 93,SrcY= 84,Width=37,Height=21,DestX=197,DestY=<WinHeight>-25,Function=fnStop,Hint=Stop)
  170.  
  171. // Bottom Right buttons
  172. CreateExButton(Type=Normal,SrcX=126,SrcY= 63,Width=21,Height=21,DestX=<WinWidth>- 95,DestY=<WinHeight>-25,Function=fnOptions,Hint=Options)
  173. CreateExButton(Type=Normal,SrcX= 84,SrcY= 63,Width=21,Height=21,DestX=<WinWidth>- 72,DestY=<WinHeight>-25,Function=fnEject,Hint=Eject)
  174. CreateExButton(Type=Normal,SrcX= 42,SrcY= 63,Width=21,Height=21,DestX=<WinWidth>- 49,DestY=<WinHeight>-25,Function=fnOpen,Hint=Open Files)
  175. CreateExButton(Type=Normal,SrcX=  0,SrcY= 63,Width=21,Height=21,DestX=<WinWidth>- 26,DestY=<WinHeight>-25,TransColor=FF00FF,Function=fnPlayList,Hint=Play List)
  176.  
  177. // Resize Positions
  178. ResizeBox(0,0,8,8,3)
  179. ResizeBox(<WinWidth>-8,0,8,8,2)
  180. ResizeBox(0,<WinHeight>-8,8,8,1)
  181. ResizeBox(<WinWidth>-8,<WinHeight>-8,8,8,0)
  182. EndGroup(1,2)
  183.  
  184. StartGroup(2)
  185. CopyBitmap( 93,105,13,7,<WinWidth>-199,<WinHeight>-36)
  186. CopyBitmap(106,105,13,7,<WinWidth>-133,<WinHeight>-36)
  187. EndGroup(2)
  188.  
  189. // Draw Minimal GUI in Group 15
  190. StartGroup(8192)
  191. FillRect(0,0,<WinWidth>,<WinHeight>,404040)
  192. FillRectNT(0,13,12,<WinHeight>-13,FF00FF)
  193. FillRectNT(12,<WinHeight>-12,<WinWidth>-25,12,FF00FF)
  194. FillRect(11,<WinHeight>-22,11,11,505050)
  195. FillRect(12,<WinHeight>-22,10,10,404040)
  196. FillRectNT(13,1,<VidWidth>,<VidHeight>,000000)
  197. CopyBitmap(156,316,11,11,1,1)
  198. CreateExButton(Type=Extended,SrcX=156,SrcY=327,DownX=156,DownY=327,Width=11,Height=11,DestX=<WinWidth>-12,DestY=<WinHeight>-12,Function=exGroupSet,FunctionParam=1,Hint=Standard User Interface)
  199. ResizeBox(11,<WinHeight>-22,11,11,1)
  200. ResizeBox(12,13,4,<WinHeight>-35,4)
  201. ResizeBox(23,<WinHeight>-15,<WinWidth>-36,4,7)
  202. EndGroup(8192)
  203.  
  204. // Draw Video Only Group
  205. StartGroup(64)
  206. FillRectNT(0,0,<VidWidth>,<VidHeight>,000000)
  207. EndGroup(64)
  208.  
  209. // Control Bar Buttons
  210. AddBarButton(  0,349,fnPrevChapter,Previous Chapter/Track)
  211. AddBarButton( 52,247,fnRewind,Rewind)
  212. AddBarButton(  0,213,fnStop,Stop)
  213. AddBarButton( 52,213,fnPlay,Play / Pause)
  214. AddBarButton(  0,247,fnFastForward,Fast Forward)
  215. AddBarButton(104,213,fnNextChapter,Next Chapter/Track)
  216. AddBarButton(104,315,fnAudioTrack,Next Audio Track)
  217. AddBarButton( 52,315,fnDVDSub,Next Subtitle Track)
  218. AddBarButton(104,281,fnFullscreen,Fullscreen/Restore)
  219. AddBarButton(  0,315,fnZoom,Fullscreen to Zoom)
  220. AddBarButton(104,247,fnZoomIn,Zoom In)
  221. AddBarButton(  0,281,fnZoomOut,Zoom Out)
  222. AddBarButton( 52,349,fnOptions,Options)
  223. AddBarButton(156,213,fnEject,Eject)
  224. AddBarButton(156,281,fnPlayList,Play List)
  225. AddBarButton(156,247,fnOpen,Open Media)
  226. AddBarButton( 52,281,fnExit,Close Player)
  227.  
  228. // Play List Corners
  229. CopyPLBitmap(0,0,16,21,0,0)
  230. CopyPLBitmap(131,0,46,21,<PLWinWidth>-46,0)
  231. CopyPLBitmap(167,91,16,31,0,<PLWinHeight>-31)
  232. CopyPLBitmap(209,91,16,31,<PLWinWidth>-16,<PLWinHeight>-31)
  233. // Play List Sides
  234. TilePLBitmapV(98,21,6,42,0,21,<PLWinHeight>-52)
  235. TilePLBitmapV(103,21,6,42,<PLWinWidth>-6,21,<PLWinHeight>-52)
  236. TilePLBitmapH(16,0,44,21,16,0,<PLWinWidth>-48)
  237. TilePLBitmapH(182,93,28,29,16,<PLWinHeight>-29,<PLWinWidth>-32)
  238. // Fill Background behind playlist (important)
  239. FillPLRect(6,19,<PLWinWidth>-12,<PLWinHeight>-47,000000)
  240.  
  241. // Data for the play list display
  242. PlayListData(DestX=6,DestY=19,MinWidth=328,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)
  243.  
  244. // Top Right Buttons
  245. 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)
  246. CreateExButton(Type=Normal,Target=Playlist,SrcX=  0,SrcY=157,Width=19,Height=14,DestX=<PLWinWidth>- 46,DestY=6,Function=fnPLMax,Hint=Maximize Window)
  247. // Top Button separator
  248. CopyPLBitmap(63,4,5,15,<PLWinWidth>-51,4)
  249. // Bottom Buttons
  250. 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)
  251. 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)
  252. CreateExButton(Type=Normal,Target=PlayList,SrcX=177,SrcY=342,DownX=177,DownY=363,Width=21,Height=21,DestX=5,DestY=<PLWinHeight>-25,TransColor=FF00FF,ActiveX=252,ActiveY=484,Activate=RandomPlay,Function=fnRandomPlay,Hint=Random Play)
  253. CreateExButton(Type=Normal,Target=PlayList,SrcX=162,SrcY=143,Width=21,Height=21,DestX= 28,DestY=<PLWinHeight>-25,ActiveX=204,ActiveY=143,Activate=LoopPlay,Function=fnLoopPlay,Hint=Loop Current Track)
  254. CreateExButton(Type=Normal,Target=PlayList,SrcX=  0,SrcY=171,Width=31,Height=21,DestX= 53,DestY=<PLWinHeight>-25,Function=fnPLAddFiles,Hint=Add Files to Play List)
  255. CreateExButton(Type=Normal,Target=PlayList,SrcX=186,SrcY=171,Width=31,Height=21,DownX=186,DownY=192,DestX= 86,DestY=<PLWinHeight>-25,Function=fnPLAddDir,Hint=Add Directory to Play List)
  256. CreateExButton(Type=Normal,Target=PlayList,SrcX= 62,SrcY=192,Width=31,Height=21,DestX=119,DestY=<PLWinHeight>-25,Function=fnPLRemove,Hint=Remove Selected Items)
  257. CreateExButton(Type=Normal,Target=PlayList,SrcX= 62,SrcY=171,Width=31,Height=21,DestX=152,DestY=<PLWinHeight>-25,Function=fnPLClear,Hint=Clear Play List)
  258. CreateExButton(Type=Normal,Target=PlayList,SrcX=  0,SrcY=192,Width=31,Height=21,DestX=185,DestY=<PLWinHeight>-25,Function=fnPLLoadList,Hint=Load Play List)
  259. CreateExButton(Type=Normal,Target=PlayList,SrcX=124,SrcY=171,Width=31,Height=21,DestX=218,DestY=<PLWinHeight>-25,Function=fnPLSaveList,Hint=Save Play List)
  260. CreateExButton(Type=Normal,Target=PlayList,SrcX=124,SrcY=192,Width=31,Height=21,DestX=251,DestY=<PLWinHeight>-25,Function=fnPLSort,Hint=Sort Play List)
  261. // Item Counter
  262. 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)
  263. // Duration Separator
  264. CopyPLBitmap(63,4,5,15,<PLWinWidth>-113,4)
  265. // Total Duration Display
  266. 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)
  267. // Expanded resize area due to round corners
  268. ResizePLBox(0,0,10,10,3)
  269. ResizePLBox(<PLWinWidth>-10,0,10,10,2)
  270. ResizePLBox(0,<PLWinHeight>-10,10,10,1)
  271. ResizePLBox(<PLWinWidth>-10,<PLWinHeight>-10,10,10,0)
  272.  
  273. // EQ - Fixed size, no size constants required
  274. 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)
  275. FillEQRect(0,0,300,140,606060)
  276. CopyEQBitmap(238,350,10,10,0,0)
  277. CopyEQBitmap(263,350,10,10,300-10,0)
  278. CopyEQBitmap(238,374,10,10,0,132-10)
  279. CopyEQBitmap(263,374,10,10,300-10,132-10)
  280. TileEQBitmapH(248,350,16,5,10,0,300-20)
  281. TileEQBitmapH(248,379,16,5,10,132-5,300-20)
  282. TileEQBitmapV(238,360,5,16,0,10,132-20)
  283. TileEQBitmapV(268,360,5,16,300-5,10,132-20)
  284. CopyEQBitmap(259,342,14,7,12,114)
  285. CopyEQBitmap(165,164,10,7,40,114)
  286. CopyEQBitmap(176,164,12,7,59,114)
  287. CopyEQBitmap(189,164,12,7,79,114)
  288. CopyEQBitmap(202,164,14,7,98,114)
  289. CopyEQBitmap(217,164,7,7,122,114)
  290. CopyEQBitmap(200,342,9,7,141,114)
  291. CopyEQBitmap(210,342,9,7,161,114)
  292. CopyEQBitmap(220,342,12,7,179,114)
  293. CopyEQBitmap(233,342,12,7,199,114)
  294. CopyEQBitmap(246,342,12,7,219,114)
  295. CreateExButton(Type=Normal,Target=EQ,SrcX=  0,SrcY=484,Width=40,Height=21,DestX=300-50,DestY= 10,Function=fnEQEditor,Hint=Select/Edit Equalizer Profiles)
  296. CreateExButton(Type=Normal,Target=EQ,SrcX= 80,SrcY=484,Width=40,Height=21,DestX=300-50,DestY= 35,Function=fnEQReset,Hint=Reset Equalizer)
  297. CreateExButton(Type=Normal,Target=EQ,SrcX=160,SrcY=484,Width=40,Height=21,DestX=300-50,DestY=101,Function=fnEqualizer,Hint=Close Equalizer)
  298. CreateExButton(Type=Normal,Target=EQ,SrcX=149,SrcY=358,DownX=149,DownY=371,Width=28,Height=13,DestX=300-50,DestY= 72,ActiveX=121,ActiveY=371,Activate=EQState,Function=fnEQToggle,Hint=Enable/Disable the Equalizer)
  299.  
  300. // Navigator Icons and Coloring
  301. NavData(BGImage=defaultnav.bmp,ICONImage=defaulticon.bmp,IconSize=48,48,DefaultX=0,DefaultY=240,PictureX=0,PictureY=0,AudioX=96,AudioY=0,VideoX=96,VideoY=144,DVDX=96,DVDY=48,ExecuteX=0,ExecuteY=48,URLX=0,URLY=144,ArchiveX=0,ArchiveY=48,FolderX=96,FolderY=96,PlayListX=0,PlayListY=240,CDX=96,CDY=48,HDX=0,HDY=96,LeftX=0,LeftY=192,RightX=96,RightY=192)
  302.