home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 February / PCWorld_2003-02_cd.bin / Software / Vyzkuste / Prehravacedivx / Prehravacedivx.exe / zplay290.exe / Skin / defaultdvd.skn < prev    next >
Text File  |  2002-11-06  |  9KB  |  162 lines

  1. Default DVD Skin (sample) by Blight
  2.  
  3. // FileName
  4. SkinFileName    = (default.bmp)
  5.  
  6. // Initial settings:
  7. iWinWidth       = (422)
  8. iWinHeight      = (424)
  9. iVidWidth       = (408)
  10. iVidHeight      = (306)
  11. iVidLeft        = (7)
  12. iVidTop         = (27)
  13. iMinWidth       = (360)
  14. iMinHeight      = (270)
  15. tLineFontSize   = (10)
  16. tLineFontYOfs   = (1)
  17. tLineFontFace   = (Tahoma)
  18. tLineFontColor  = (FFFFFF)
  19. tLineFontStyle  = (Bold)
  20. cBarFontSize    = (20)
  21. cBarFontYOfs    = (-1)
  22. cBarFontFace    = (Tahoma)
  23. cBarFontColor   = (FFFFFF)
  24. cBarFontStyle   = (Bold)
  25. cBarButWidth    = (34)
  26. cBarButHeight   = (35)
  27. iTransColor     = (FF00FF)
  28.  
  29. // Dynamic settings (items with window-size relative positioning):
  30. tLineWidth      = (<WinWidth>-184)
  31. tLineHeight     = (16)
  32. tLineLeft       = (5)
  33. tLineTop        = (<WinHeight>-85)
  34.  
  35. cBarTLWidth     = (<cBarWidth>-8)
  36. cBarTLHeight    = (26)
  37. cBarTLLeft      = (4)
  38. cBarTLTop       = (4)
  39.  
  40. // TimeLine background and foreground source bitmap position
  41.  
  42. TimeLineFG(36,185,60)
  43. TimeLineBG(36,169,60)
  44. TimeLineStart(64,208,16)
  45. TimeLineEnd(32,208,16)
  46.  
  47. // Control Bar TimeLine background source bitmap position
  48. TimeLineCBarFG(40,434,60)
  49. TimeLineCBarBG(100,434,60)
  50. TimeLineCBarStart(0,434,10)
  51. TimeLineCBarEnd(20,434,10)
  52.  
  53. // User Interface elements such as Volume and Play Rate Controls
  54. VolumeExData(SrcX=184,SrcY=0,DestX=<WinWidth>-70,DestY=<WinHeight>-85,Width=64,Height=16,Images=24)
  55. RateExData(SrcX=136,SrcY=210,DestX=<WinWidth>-122,DestY=<WinHeight>-85,Width=48,Height=16)
  56. BalanceExData(SrcX=136,SrcY=322,DestX=<WinWidth>-174,DestY=<WinHeight>-85,Width=48,Height=16)
  57.  
  58. // Left Control Bar Side
  59. CopyCBarBitmap(128,163,2,35,0,0)
  60. // Right Control Bar Side
  61. CopyCBarBitmap(134,224,2,35,<cBarWidth>-2,0)
  62.  
  63. // Control Bar Background
  64. TileCBarBitmapH(130,163,30,35,2,0,<cBarWidth>-4)
  65.  
  66. // Fill Background
  67. TileBitmapA(0,0,160,160,0,0,<WinWidth>,<WinHeight>)
  68.  
  69. // Top Left corner
  70. CopyBitmap(4,163,16,16,0,0)
  71. // Top Right corner
  72. CopyBitmap(20,163,16,16,<WinWidth>-16,0)
  73. // Bottom Left corner
  74. CopyBitmap(4,179,16,16,0,<WinHeight>-16)
  75. // Bottom Right corner
  76. CopyBitmap(20,179,16,16,<WinWidth>-16,<WinHeight>-16)
  77. // Left Bar
  78. TileBitmapV(163,106,2,60,0,16,<WinHeight>-32)
  79. // Right Bar
  80. TileBitmapV(163,42,2,60,<WinWidth>-2,16,<WinHeight>-32)
  81. // Top Bar
  82. TileBitmapH(36,163,60,2,16,0,<WinWidth>-32)
  83. // Bottom Bar
  84. TileBitmapH(36,165,60,3,16,<WinHeight>-3,<WinWidth>-32)
  85.  
  86. // FileName Area
  87. CopyBitmap(16,208,16,16,6,6)
  88. TileBitmapH(36,169,60,16,22,6,<WinWidth>-104)
  89. CopyBitmap(48,208,16,16,<WinWidth>-82,6)
  90.  
  91. // Draw Filename Text
  92. DrawExText(DestX=12,DestY=7,Width=<WinWidth>-85,Height=15,Align=Center,FontName=Tahoma,FontSize=12,FontColor=505050,FontStyle=Bold,Text=<DVDVolume>)
  93. DrawExText(DestX=13,DestY=6,Width=<WinWidth>-85,Height=15,Align=Center,FontName=Tahoma,FontSize=12,FontColor=505050,FontStyle=Bold,Text=<DVDVolume>)
  94. DrawExText(DestX=12,DestY=5,Width=<WinWidth>-85,Height=15,Align=Center,FontName=Tahoma,FontSize=12,FontColor=505050,FontStyle=Bold,Text=<DVDVolume>)
  95. DrawExText(DestX=11,DestY=6,Width=<WinWidth>-85,Height=15,Align=Center,FontName=Tahoma,FontSize=12,FontColor=505050,FontStyle=Bold,Text=<DVDVolume>)
  96. DrawExText(DestX=12,DestY=6,Width=<WinWidth>-85,Height=15,Align=Center,FontName=Tahoma,FontSize=12,FontColor=E4E4E4,FontStyle=Bold,Text=<DVDVolume>)
  97.  
  98. // Video Area
  99. FillRect(7,27,<VidWidth>,<VidHeight>,000000)
  100. // Video Left Frame
  101. TileBitmapV(161,0,1,150,6,26,<VidHeight>+2)
  102. // Video Right Frame
  103. TileBitmapV(160,0,1,150,<VidWidth>+7,26,<VidHeight>+2)
  104. // Video Top Frame
  105. TileBitmapH(0,161,160,1,6,26,<VidWidth>+2)
  106. // Video Bottom Frame
  107. TileBitmapH(0,160,160,1,6,<VidHeight>+27,<VidWidth>+2)
  108.  
  109. ResizeBox(<WinWidth>-8,<WinHeight>-8,8,8,0)
  110.  
  111. // Top-Right buttons
  112. CreateExButton(Type=Normal,SrcX=96,SrcY=162,Width=16,Height=16,DestX=<WinWidth>-22,DestY=6,Function=fnExit,Hint=Exit Program)
  113. CreateExButton(Type=Normal,SrcX=96,SrcY=178,Width=16,Height=16,DestX=<WinWidth>-42,DestY=6,Function=fnMax,Hint=Maximize Window)
  114. CreateExButton(Type=Normal,SrcX=96,SrcY=194,Width=16,Height=16,DestX=<WinWidth>-62,DestY=6,Function=fnMinimize,Hint=Minimize Window)
  115.  
  116. // Bottom buttons
  117. CreateExButton(Type=Normal,SrcX= 71,SrcY=227,DownX=105,Width=29,Height=29,DestX=  5,DestY=<WinHeight>-35,Function=fnPrevTrack,Hint=Previous Chapter)
  118. CreateExButton(Type=Normal,SrcX=  3,SrcY=332,DownX= 37,Width=29,Height=29,DestX= 35,DestY=<WinHeight>-35,Function=fnRewind,Hint=Rewind)
  119. CreateExButton(Type=Normal,SrcX=  3,SrcY=262,DownX= 37,Width=29,Height=29,DestX= 65,DestY=<WinHeight>-35,Function=fnStop,Hint=Stop)
  120. CreateExButton(Type=Normal,SrcX=  3,SrcY=227,DownX= 37,Width=29,Height=29,DestX= 95,DestY=<WinHeight>-35,Function=fnPlay,Hint=Play/Pause)
  121. CreateExButton(Type=Normal,SrcX=  3,SrcY=297,DownX= 37,Width=29,Height=29,DestX=125,DestY=<WinHeight>-35,Function=fnFastForward,Hint=Fast Forward)
  122. CreateExButton(Type=Normal,SrcX= 71,SrcY=262,DownX=105,Width=29,Height=29,DestX=155,DestY=<WinHeight>-35,Function=fnNextTrack,Hint=Next Chapter)
  123. CreateExButton(Type=Normal,SrcX= 71,SrcY=367,DownX=105,Width=29,Height=29,DestX=  5,DestY=<WinHeight>-65,Function=fnFullscreen,Hint=Fullscreen to Max)
  124. CreateExButton(Type=Normal,SrcX=  3,SrcY=367,DownX= 37,Width=29,Height=29,DestX= 35,DestY=<WinHeight>-65,Function=fnZoom,Hint=Fullscreen to Zoom)
  125. CreateExButton(Type=Normal,SrcX= 71,SrcY=402,DownX=105,Width=29,Height=29,DestX= 65,DestY=<WinHeight>-65,Function=fnOptions,Hint=Options)
  126. CreateExButton(Type=Normal,SrcX= 71,SrcY=297,DownX=105,Width=29,Height=29,DestX= 95,DestY=<WinHeight>-65,Function=fnEject,Hint=Eject)
  127. CreateExButton(Type=Normal,SrcX=  3,SrcY=402,DownX= 37,Width=29,Height=29,DestX=125,DestY=<WinHeight>-65,Function=fnPlayList,Hint=Play List)
  128. CreateExButton(Type=Normal,SrcX= 71,SrcY=332,DownX=105,Width=29,Height=29,DestX=155,DestY=<WinHeight>-65,Function=fnOpen,Hint=Open Files)
  129. // DVD Menu
  130. CreateExButton(Type=Normal,SrcX=163,SrcY=  0,DownX=163,DownY= 21,Width=21,Height=21,DestX=<WinWidth>-47,DestY=<WinHeight>-45,Function=fnDVDMenuSelect,Hint=Menu Select)
  131. CreateExButton(Type=Normal,SrcX=165,SrcY= 80,DownX=165,DownY= 99,Width=19,Height=19,DestX=<WinWidth>-68,DestY=<WinHeight>-44,Function=fnDVDMenuLeft,Hint=Menu Left)
  132. CreateExButton(Type=Normal,SrcX=165,SrcY=156,DownX=165,DownY=175,Width=19,Height=19,DestX=<WinWidth>-24,DestY=<WinHeight>-44,Function=fnDVDMenuRight,Hint=Menu Right)
  133. CreateExButton(Type=Normal,SrcX=165,SrcY=118,DownX=165,DownY=137,Width=19,Height=19,DestX=<WinWidth>-46,DestY=<WinHeight>-64,Function=fnDVDMenuUp,Hint=Menu Up)
  134. CreateExButton(Type=Normal,SrcX=165,SrcY= 42,DownX=165,DownY= 61,Width=19,Height=19,DestX=<WinWidth>-46,DestY=<WinHeight>-24,Function=fnDVDMenuDown,Hint=Menu Down)
  135. // DVD Pad
  136. CreateExButton(Type=Extended,SrcX=184,SrcY=384,Width=16,Height=14,DestX=<WinWidth>-153,DestY=<WinHeight>-64,Function=exDVDNumPad,FunctionParam=1,Hint=DVD Pad 1)
  137. CreateExButton(Type=Extended,SrcX=184,SrcY=398,Width=16,Height=14,DestX=<WinWidth>-137,DestY=<WinHeight>-64,Function=exDVDNumPad,FunctionParam=2,Hint=DVD Pad 2)
  138. CreateExButton(Type=Extended,SrcX=184,SrcY=412,Width=16,Height=14,DestX=<WinWidth>-121,DestY=<WinHeight>-64,Function=exDVDNumPad,FunctionParam=3,Hint=DVD Pad 3)
  139. CreateExButton(Type=Extended,SrcX=184,SrcY=426,Width=16,Height=14,DestX=<WinWidth>-153,DestY=<WinHeight>-50,Function=exDVDNumPad,FunctionParam=4,Hint=DVD Pad 4)
  140. CreateExButton(Type=Extended,SrcX=96,SrcY=210,Width=16,Height=14,DestX=<WinWidth>-137,DestY=<WinHeight>-50,Function=exDVDNumPad,FunctionParam=5,Hint=DVD Pad 5)
  141. CreateExButton(Type=Extended,SrcX=216,SrcY=384,Width=16,Height=14,DestX=<WinWidth>-121,DestY=<WinHeight>-50,Function=exDVDNumPad,FunctionParam=6,Hint=DVD Pad 6)
  142. CreateExButton(Type=Extended,SrcX=216,SrcY=398,Width=16,Height=14,DestX=<WinWidth>-153,DestY=<WinHeight>-36,Function=exDVDNumPad,FunctionParam=7,Hint=DVD Pad 7)
  143. CreateExButton(Type=Extended,SrcX=216,SrcY=412,Width=16,Height=14,DestX=<WinWidth>-137,DestY=<WinHeight>-36,Function=exDVDNumPad,FunctionParam=8,Hint=DVD Pad 8)
  144. CreateExButton(Type=Extended,SrcX=216,SrcY=426,Width=16,Height=14,DestX=<WinWidth>-121,DestY=<WinHeight>-36,Function=exDVDNumPad,FunctionParam=9,Hint=DVD Pad 9)
  145. CreateExButton(Type=Normal,SrcX=184,SrcY=440,Width=16,Height=15,DestX=<WinWidth>-152,DestY=<WinHeight>-22,Function=fnChapter,Hint=Bookmark Editor)
  146. CreateExButton(Type=Extended,SrcX=216,SrcY=440,Width=16,Height=15,DestX=<WinWidth>-137,DestY=<WinHeight>-22,Function=exDVDNumPad,FunctionParam=0,Hint=DVD Pad 0)
  147. CreateExButton(Type=Normal,SrcX=0,SrcY=209,DownX=168,DownY=195,Width=16,Height=15,DestX=<WinWidth>-121,DestY=<WinHeight>-22,Function=fnDVDRootMenu,Hint=Root Menu)
  148.  
  149. // Control Bar Buttons
  150. AddBarButton(68,224,fnPrevTrack,Previous Chapter)
  151. AddBarButton(0,329,fnRewind,Rewind)
  152. AddBarButton(0,259,fnStop,Stop)
  153. AddBarButton(0,224,fnPlay,Play / Pause)
  154. AddBarButton(0,294,fnFastForward,Fast Forward)
  155. AddBarButton(68,259,fnNextTrack,Next Chapter)
  156. AddBarButton(68,364,fnFullscreen,Fullscreen to Max)
  157. AddBarButton(0,364,fnZoom,Fullscreen to Zoom)
  158. AddBarButton(68,399,fnOptions,Options)
  159. AddBarButton(68,294,fnEject,Eject)
  160. AddBarButton(0,399,fnPlayList,Play List)
  161. AddBarButton(68,329,fnOpen,Open Media)
  162.