home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 June / PCWorld_2003-06_cd.bin / SOFTWARE / VYZKUSTE / ZOOMPLAYER / SKIN / DEFAULT.SKN < prev    next >
Text File  |  2003-04-09  |  11KB  |  202 lines

  1. Default Media Skin (sample) by Blight
  2.  
  3. // FileName
  4. SkinFileName    = (default.bmp)
  5.  
  6. // Initial settings:
  7. iWinWidth       = (412)
  8. iWinHeight      = (363)
  9. iVidWidth       = (400)
  10. iVidHeight      = (300)
  11. iVidLeft        = (6)
  12. iVidTop         = (21)
  13. iMinWidth       = (320)
  14. iMinHeight      = (240)
  15. tLineFontSize   = (8)
  16. tLineFontYOfs   = (0)
  17. tLineFontFace   = (Tahoma)
  18. tLineFontColor  = (FFFFFF)
  19. tLineFontStyle  = (Bold)
  20. cBarFontSize    = (18)
  21. cBarFontYOfs    = (-2)
  22. cBarFontFace    = (Tahoma)
  23. cBarFontColor   = (FFFFFF)
  24. cBarFontStyle   = (Bold)
  25. cBarButWidth    = (23)
  26. cBarButHeight   = (35)
  27. cBarRightMargin = (16)
  28. iTransColor     = (FF00FF)
  29. pTransColor     = (FF00FF)
  30. cTransColor     = (FF00FF)
  31.  
  32. // Dynamic settings (items with window-size relative positioning):
  33. tLineWidth      = (<WinWidth>-240)
  34. tLineHeight     = (13)
  35. tLineLeft       = (37)
  36. tLineTop        = (<WinHeight>-39)
  37.  
  38. cBarTLWidth     = (<cBarWidth>-32)
  39. cBarTLHeight    = (23)
  40. cBarTLLeft      = (6)
  41. cBarTLTop       = (6)
  42.  
  43. // TimeLine background and foreground source bitmap position
  44. TimeLineFG(109,21,48)
  45. TimeLineBG(109,34,48)
  46. TimeLineStart(109,47,7)
  47. TimeLineEnd(123,47,6)
  48. TimeLineFontShade(909090,909090,-1,505050)
  49.  
  50. // Control Bar TimeLine background source bitmap position
  51. TimeLineCBarFG(225,269,48)
  52. TimeLineCBarBG(225,240,48)
  53. TimeLineCBarEnd(225,292,12)
  54. TimeLineCBarStart(249,292,12)
  55. TimeLineCBarFontShade(606060,606060,707070,303030)
  56.  
  57. // User Interface elements such as Volume and Play Rate Controls
  58. VolumeExData(SrcX=225,SrcY=0,DestX=<WinWidth>-53,DestY=<WinHeight>-39,Width=48,Height=13,Images=18)
  59. BalanceExData(SrcX=177,SrcY=0,DestX=<WinWidth>-185,DestY=<WinHeight>-39,Width=48,Height=13)
  60. RateExData(SrcX=177,SrcY=0,DestX=<WinWidth>-119,DestY=<WinHeight>-39,Width=48,Height=13)
  61.  
  62. // Setup display for OSD Popup messages.
  63. OSDPopUp(MinWidth=20,MinHeight=20,xMargin=10,yMargin=8,TransColor=FF00FF)
  64. FillOSDRect(0,0,<OSDWidth>,<OSDHeight>,606060)
  65. CopyOSDBitmap(238,350,10,10,0,0);
  66. CopyOSDBitmap(238,374,10,10,0,<OSDHeight>-10);
  67. CopyOSDBitmap(263,350,10,10,<OSDWidth>-10,0);
  68. CopyOSDBitmap(263,374,10,10,<OSDWidth>-10,<OSDHeight>-10);
  69. TileOSDBitmapH(248,350,16,5,10,0,<OSDWidth>-20)
  70. TileOSDBitmapH(248,379,16,5,10,<OSDHeight>-5,<OSDWidth>-20)
  71. TileOSDBitmapV(238,360,5,16,0,10,<OSDHeight>-20)
  72. TileOSDBitmapV(268,360,5,16,<OSDWidth>-5,10,<OSDHeight>-20)
  73.  
  74. // Control Bar Background
  75. TileCBarBitmapH(225,234,48,35,0,0,<cBarFullWidth>)
  76.  
  77. // Left Control Bar Side
  78. CopyCBarBitmap(208,277,16,35,0,0)
  79. // Right of TimeLine Control Bar Side
  80. CopyCBarBitmap(184,213,20,35,<cBarWidth>-36,0)
  81. CopyCBarBitmap(208,277,20,35,<cBarWidth>-16,0)
  82. // Right Control Bar Side
  83. CopyCBarBitmap(184,213,16,35,<cBarFullWidth>-16,0)
  84.  
  85. // Top Left corner
  86. CopyBitmap(0,0,16,21,0,0)
  87. // Top Right corner
  88. CopyBitmap(63,0,114,21,<WinWidth>-114,0)
  89. // Bottom Left corner
  90. CopyBitmap(0,21,39,42,0,<WinHeight>-42)
  91. // Bottom Right corner
  92. CopyBitmap(82,21,16,42,<WinWidth>-16,<WinHeight>-42)
  93. // Left Bar
  94. TileBitmapV(98,21,6,42,0,21,<WinHeight>-63)
  95. // Right Bar
  96. TileBitmapV(103,21,6,42,<WinWidth>-6,21,<WinHeight>-63)
  97. // Top Bar
  98. TileBitmapH(16,0,44,21,16,0,<WinWidth>-130)
  99. // Bottom Bar
  100. TileBitmapH(39,21,48,42,39,<WinHeight>-42,<WinWidth>-55)
  101.  
  102. // Scroller Widgets
  103. CopyBitmap( 93,105,13,7,<WinWidth>-199,<WinHeight>-36)
  104. CopyBitmap(106,105,13,7,<WinWidth>-133,<WinHeight>-36)
  105. CopyBitmap(119,105,12,7,<WinWidth>- 66,<WinHeight>-36)
  106.  
  107. // Video Area
  108. FillRect(6,21,<VidWidth>,<VidHeight>,000000)
  109.  
  110. // Draw Filename Text
  111. DrawExText(DestX=10,DestY=6,Width=<WinWidth>-126,Height=12,Align=Center,FontName=Tahoma,FontSize=10,FontColor=FFFFFF,FontStyle=Bold,Text=<FileBase>,ShadeLeft=808080,ShadeRight=808080,ShadeBottom=707070)
  112.  
  113. // Resize Positions
  114. ResizeBox(0,0,8,8,3)
  115. ResizeBox(<WinWidth>-8,0,8,8,2)
  116. ResizeBox(0,<WinHeight>-8,8,8,1)
  117. ResizeBox(<WinWidth>-8,<WinHeight>-8,8,8,0)
  118.  
  119. // Top-Right buttons
  120. 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)
  121. CreateExButton(Type=Normal,SrcX=  0,SrcY=157,Width=19,Height=14,DestX=<WinWidth>- 46,DestY=6,Function=fnMax,Hint=Maximize Window)
  122. CreateExButton(Type=Normal,SrcX= 38,SrcY=157,Width=19,Height=14,DestX=<WinWidth>- 66,DestY=6,Function=fnMinimize,Hint=Minimize Window)
  123. CreateExButton(Type=Normal,SrcX= 76,SrcY=157,Width=19,Height=14,DestX=<WinWidth>- 89,DestY=6,Function=fnFullscreen,Hint=Fullscreen to Max)
  124. CreateExButton(Type=Normal,SrcX=114,SrcY=157,Width=19,Height=14,DestX=<WinWidth>-109,DestY=6,Function=fnZoom,Hint=Fullscreen to Zoom)
  125.  
  126. // Bottom Left buttons
  127. 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)
  128. CreateExButton(Type=Normal,SrcX=  0,SrcY=115,Width=37,Height=21,DestX= 41,DestY=<WinHeight>-25,Function=fnPrevChapter,Hint=Previous Chapter/Track)
  129. CreateExButton(Type=Normal,SrcX= 74,SrcY=115,Width=37,Height=21,DestX= 80,DestY=<WinHeight>-25,Function=fnNextChapter,Hint=Next Chapter/Track)
  130. CreateExButton(Type=Normal,SrcX=  0,SrcY=136,Width=37,Height=21,DestX=119,DestY=<WinHeight>-25,Function=fnRewind,Hint=Rewind)
  131. CreateExButton(Type=Normal,SrcX= 74,SrcY=136,Width=37,Height=21,DestX=158,DestY=<WinHeight>-25,Function=fnFastForward,Hint=Fast Forward)
  132. CreateExButton(Type=Normal,SrcX= 93,SrcY= 84,Width=37,Height=21,DestX=197,DestY=<WinHeight>-25,Function=fnStop,Hint=Stop)
  133.  
  134. // Bottom Right buttons
  135. CreateExButton(Type=Normal,SrcX=126,SrcY= 63,Width=21,Height=21,DestX=<WinWidth>- 95,DestY=<WinHeight>-25,Function=fnOptions,Hint=Options)
  136. CreateExButton(Type=Normal,SrcX= 84,SrcY= 63,Width=21,Height=21,DestX=<WinWidth>- 72,DestY=<WinHeight>-25,Function=fnEject,Hint=Eject)
  137. CreateExButton(Type=Normal,SrcX= 42,SrcY= 63,Width=21,Height=21,DestX=<WinWidth>- 49,DestY=<WinHeight>-25,Function=fnOpen,Hint=Open Files)
  138. CreateExButton(Type=Normal,SrcX=  0,SrcY= 63,Width=21,Height=21,DestX=<WinWidth>- 26,DestY=<WinHeight>-25,TransColor=FF00FF,Function=fnPlayList,Hint=Play List)
  139.  
  140. // Control Bar Buttons
  141. AddBarButton( 92,213,fnPrevChapter,Previous Chapter/Track)
  142. AddBarButton(138,213,fnRewind,Rewind)
  143. AddBarButton( 46,247,fnStop,Stop)
  144. AddBarButton(  0,213,fnPlay,Play / Pause)
  145. AddBarButton(  0,247,fnFastForward,Fast Forward)
  146. AddBarButton( 46,213,fnNextChapter,Next Chapter/Track)
  147. AddBarButton(  0,315,fnAudioTrack,Next Audio Track)
  148. AddBarButton(138,281,fnDVDSub,Next Subtitle Track)
  149. AddBarButton( 92,281,fnFullscreen,Fullscreen to Max)
  150. AddBarButton( 46,315,fnZoom,Fullscreen to Zoom)
  151. AddBarButton(115,315,fnZoomIn,Zoom In)
  152. AddBarButton(  0,349,fnZoomOut,Zoom Out)
  153. AddBarButton( 46,281,fnOptions,Options)
  154. AddBarButton(138,247,fnEject,Eject)
  155. AddBarButton( 92,247,fnPlayList,Play List)
  156. AddBarButton(  0,281,fnOpen,Open Media)
  157. AddBarButton( 46,349,fnExit,Close Player)
  158.  
  159. // Play List Corners
  160. CopyPLBitmap(0,0,16,21,0,0)
  161. CopyPLBitmap(161,0,16,21,<PLWinWidth>-16,0)
  162. CopyPLBitmap(167,91,16,31,0,<PLWinHeight>-31)
  163. CopyPLBitmap(209,91,16,31,<PLWinWidth>-16,<PLWinHeight>-31)
  164. // Play List Sides
  165. TilePLBitmapV(98,21,6,42,0,21,<PLWinHeight>-52)
  166. TilePLBitmapV(103,21,6,42,<PLWinWidth>-6,21,<PLWinHeight>-52)
  167. TilePLBitmapH(16,0,44,21,16,0,<PLWinWidth>-32)
  168. TilePLBitmapH(182,93,28,29,16,<PLWinHeight>-29,<PLWinWidth>-32)
  169. // Fill Background behind playlist (important)
  170. FillPLRect(6,19,<PLWinWidth>-12,<PLWinHeight>-47,000000)
  171.  
  172. // Data for the play list display
  173. 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=187,ScrollFGY=250,ScrollFGW=15,ScrollFGH=36)
  174.  
  175. // Top Button separator
  176. CopyPLBitmap(63,4,5,15,<PLWinWidth>-31,4)
  177. // Top Right Button
  178. 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)
  179. // Bottom Buttons
  180. 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)
  181. 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)
  182. CreateExButton(Type=Normal,Target=PlayList,SrcX=204,SrcY=213,DownX=204,DownY=234,Width=21,Height=21,DestX=5,DestY=<PLWinHeight>-25,TransColor=FF00FF,ActiveX=204,ActiveY=255,Activate=RandomPlay,Function=fnRandomPlay,Hint=Random Play)
  183. 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)
  184. 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)
  185. 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)
  186. CreateExButton(Type=Normal,Target=PlayList,SrcX= 62,SrcY=192,Width=31,Height=21,DestX=119,DestY=<PLWinHeight>-25,Function=fnPLRemove,Hint=Remove Selected Items)
  187. CreateExButton(Type=Normal,Target=PlayList,SrcX= 62,SrcY=171,Width=31,Height=21,DestX=152,DestY=<PLWinHeight>-25,Function=fnPLClear,Hint=Clear Play List)
  188. CreateExButton(Type=Normal,Target=PlayList,SrcX=  0,SrcY=192,Width=31,Height=21,DestX=185,DestY=<PLWinHeight>-25,Function=fnPLLoadList,Hint=Load Play List)
  189. CreateExButton(Type=Normal,Target=PlayList,SrcX=124,SrcY=171,Width=31,Height=21,DestX=218,DestY=<PLWinHeight>-25,Function=fnPLSaveList,Hint=Save Play List)
  190. CreateExButton(Type=Normal,Target=PlayList,SrcX=124,SrcY=192,Width=31,Height=21,DestX=251,DestY=<PLWinHeight>-25,Function=fnPLSort,Hint=Sort Play List)
  191. // Item Counter
  192. DrawExText(Target=PlayList,DestX=12,DestY=6,Width=<PLWinWidth>-102,Height=12,Align=Center,FontName=Tahoma,FontSize=10,FontColor=FFFFFF,FontStyle=Bold,Text=<PlayListItems>,ShadeLeft=808080,ShadeRight=808080,ShadeBottom=707070)
  193. // Duration Separator
  194. CopyPLBitmap(63,4,5,15,<PLWinWidth>-94,4)
  195. // Total Duration Display
  196. DrawExText(Target=PlayList,DestX=<PLWinWidth>-88,DestY=6,Width=56,Height=12,Align=Right,FontName=Tahoma,FontSize=10,FontColor=FFFFFF,FontStyle=Bold,Text=<PlayListTotal>,ShadeLeft=808080,ShadeRight=808080,ShadeBottom=707070)
  197. // Expanded resize area due to round corners
  198. ResizePLBox(0,0,10,10,3)
  199. ResizePLBox(<PLWinWidth>-10,0,10,10,2)
  200. ResizePLBox(0,<PLWinHeight>-10,10,10,1)
  201. ResizePLBox(<PLWinWidth>-10,<PLWinHeight>-10,10,10,0)
  202.