home *** CD-ROM | disk | FTP | other *** search
/ PC World Plus! (NZ) 2001 November / PCW1101.ISO / Essent / MediaPlayer / mp71.exe / RCDATA / CABINET / Classic.wmz / classic.wms < prev    next >
Text File  |  2001-03-02  |  14KB  |  315 lines

  1. <!--
  2.     ⌐2000 Microsoft Corporation. All rights reserved.
  3. -->
  4.  
  5. <theme
  6.     author="Microsoft Corporation"
  7.     copyright="⌐2000 Microsoft Corporation. All rights reserved."
  8.     >
  9.  
  10. <view       width="285" height="359"
  11.             minWidth="255" minHeight="176"
  12.             title="Windows Media Player"
  13.             scriptFile="classic.js;res://wmploc.dll/RT_TEXT/#132"
  14.             width_onchange="SizeChange();" height_onchange="SizeChange();"
  15.             onload="OnLoad();"
  16.             >
  17.  
  18.         <player         URL_onchange="OnURLChange();"
  19.                         PlayState_onchange="OnPlayStateChange();"
  20.                         OpenState_onchange="OnOpenStateChange();"
  21.                         >
  22.         </player>
  23.  
  24.         <mediacenter    videoZoom_onchange="StartPlaying();"
  25.                         >
  26.         </mediacenter>
  27.  
  28.         <!--    The navigation bar -->
  29.  
  30.         <subview        width="jscript:view.width" height="1"
  31.                         backgroundColor="#FFFFFF" horizontalAlignment="stretch"
  32.                         >
  33.         </subview>
  34.  
  35.         <subview        id="navbar"  left="0" top="1"
  36.                         width="jscript:view.width" height="23"
  37.                         horizontalAlignment="stretch"
  38.                         backgroundColor="#D6D3CE"
  39.                         >
  40.  
  41.             <button     left="2" top="1"
  42.                         image="toggle_up.bmp"
  43.                         hoverImage="toggle_hover.bmp"
  44.                         downImage="toggle_down.bmp"
  45.                         upToolTip="Return to Full Mode"
  46.                         onClick="view.ReturnToMediaCenter();"
  47.                         >
  48.             </button>
  49.  
  50.         </subview>
  51.  
  52.         <subview        top="jscript:navbar.top + navbar.height"
  53.                         width="jscript:navbar.width" height="1"
  54.                         backgroundColor="#848284" horizontalAlignment="stretch"
  55.                         >
  56.         </subview>
  57.  
  58.         <!--    The video window - and replacement icon view -->
  59.  
  60.         <subview        id="videoview" left="0" top="25"
  61.                         width="jscript:view.width" height="183" 
  62.                         backgroundColor="#000000" 
  63.                         horizontalAlignment="stretch" verticalAlignment="stretch"
  64.                         >
  65.  
  66.             <wmpVideo      id="video" windowless="false"
  67.                         width="jscript:videoview.width"
  68.                         height="jscript:videoview.height"
  69.                         horizontalAlignment="stretch" verticalAlignment="stretch"
  70.                         backgroundColor="#000000"
  71.                         >
  72.             </wmpVideo>
  73.  
  74.             <button     id="wmlogo" image="icon_wmlogo.bmp" enabled="false" 
  75.                         horizontalAlignment="center" verticalAlignment="center"
  76.                         >
  77.             </button>
  78.  
  79.         </subview>
  80.  
  81.         <!--    The controls and info section -->
  82.  
  83.         <subview        id="cpane"
  84.                         left="0" top="jscript:videoview.top+videoview.height" width="jscript:view.width" height="jscript:view.height - top"
  85.                         horizontalAlignment="stretch" verticalAlignment="bottom"
  86.                         backgroundColor="#D6D3CE"
  87.                         >
  88.  
  89.             <slider     id="seek" left="4" top="5" toolTip="Seek"
  90.                         width="jscript:cpane.width-10;"
  91.                         backgroundImage="currentpos_background.bmp"
  92.                         thumbImage="currentpos_thumb.bmp"
  93.                         transparencyColor="#FF00FF"
  94.                         horizontalalignment="stretch" borderSize="7"
  95.                         min="0" max="wmpprop:player.currentmedia.duration"
  96.                         value="wmpprop:player.Controls.currentPosition"
  97.                         onDragEnd="player.controls.currentposition=value;"
  98.                         >
  99.             </slider>
  100.  
  101.             <playbutton id="play"   left="5" top="25"
  102.                         image="play_up.bmp"
  103.                         hoverImage="play_hover.bmp"
  104.                         downImage="play_down.bmp"
  105.                         disabledImage="play_disabled.bmp" 
  106.                         >
  107.             </playbutton>
  108.             <pausebutton id="pause"  left="26" top="25"
  109.                         image="pause_up.bmp"
  110.                         hoverImage="pause_hover.bmp"
  111.                         downImage="pause_down.bmp"
  112.                         disabledImage="pause_disabled.bmp"
  113.                         >
  114.             </pausebutton>
  115.             <stopbutton id="stop"  left="47" top="25"
  116.                         image="stop_up.bmp"
  117.                         hoverImage="stop_hover.bmp"
  118.                         downImage="stop_down.bmp"
  119.                         disabledImage="stop_disabled.bmp"
  120.                         >
  121.             </stopbutton>
  122.  
  123.             <subview    left="70" top="25" backgroundImage="divider.bmp">
  124.             </subview>
  125.  
  126.             <prevbutton id="prev"  left="76" top="25"
  127.                         image="prev_up.bmp"
  128.                         hoverImage="prev_hover.bmp"
  129.                         downImage="prev_down.bmp"
  130.                         disabledImage="prev_disabled.bmp"
  131.                         >
  132.             </prevbutton>
  133.             <rewbutton  id="rw"  left="98" top="25"
  134.                         image="rw_up.bmp"
  135.                         hoverImage="rw_hover.bmp"
  136.                         downImage="rw_down.bmp"
  137.                         disabledImage="rw_disabled.bmp"
  138.                         >
  139.             </rewbutton>
  140.             <ffwdbutton id="ffw"  left="120" top="25"
  141.                         image="ffw_up.bmp"
  142.                         hoverImage="ffw_hover.bmp"
  143.                         downImage="ffw_down.bmp"
  144.                         disabledImage="ffw_disabled.bmp"
  145.                         >
  146.             </ffwdbutton>
  147.             <nextbutton id="next"  left="142" top="25"
  148.                         image="next_up.bmp"
  149.                         hoverImage="next_hover.bmp"
  150.                         downImage="next_down.bmp"
  151.                         disabledImage="next_disabled.bmp"
  152.                         >
  153.             </nextbutton>
  154.  
  155.             <subview    left="165" top="25" backgroundImage="divider.bmp">
  156.             </subview>
  157.  
  158.             <button     id="mute"  left="210" top="25" width="21"
  159.                         image="mute_up.bmp"
  160.                         hoverImage="mute_hover.bmp"
  161.                         downImage="mute_down.bmp"
  162.                         sticky="true" upToolTip="Mute"
  163.                         down="wmpprop:player.settings.mute"
  164.                         horizontalAlignment="right"
  165.                         onclick="player.settings.mute=down;"
  166.                         >
  167.             </button>
  168.  
  169.             <slider     id="volume"  left="232" top="25" width="48"
  170.                         toolTip="Volume" borderSize="5"
  171.                         backgroundImage="volume_background.bmp"
  172.                         thumbImage="volume_thumb.bmp"
  173.                         value="wmpprop:player.settings.volume"
  174.                         value_onchange="player.settings.volume=value"
  175.                         horizontalAlignment="right"
  176.                         >
  177.             </slider>
  178.  
  179.             <!-- info pane subview -->
  180.  
  181.             <subview    top="55" width="jscript:cpane.width"
  182.                         height="jscript:cpane.height-top"
  183.                         backgroundColor="#000000"
  184.                         horizontalAlignment="stretch"
  185.                         >
  186.  
  187.                 <subview    width="jscript:cpane.width" height="1" backgroundColor="#848284" horizontalAlignment="Stretch">
  188.                 </subview>
  189.                 <subview    width="1" height="jscript:cpane.height" backgroundColor="#848284">
  190.                 </subview>
  191.  
  192.                 <text       id="show_label" top="5" width="75" height="15"
  193.                             fontsize="9"
  194.                             foregroundColor="#FFFFFF" backgroundColor="#000000"
  195.                             justification="right" value="Show:"
  196.                             >
  197.                 </text>
  198.  
  199.                 <text       id="show" top="jscript:show_label.top" 
  200.                             left="jscript:show_label.left+show_label.width+10" 
  201.                             width="jscript:cpane.width-show_label.width-10"
  202.                             height="jscript:show_label.height"
  203.                             fontsize="jscript:show_label.fontsize"
  204.                             justification="left"
  205.                             foregroundColor="#FFFFFF" backgroundColor="#000000"
  206.                             value=""
  207.                             >
  208.                 </text>
  209.  
  210.                 <subview    top="22" width="jscript:cpane.width" height="1" backgroundColor="#848284" horizontalAlignment="Stretch">
  211.                 </subview>
  212.  
  213.                 <text       id="clip_label" top="25" width="75" height="15"
  214.                             fontsize="9"
  215.                             foregroundColor="#FFFFFF" backgroundColor="#000000"
  216.                             justification="right"
  217.                             value="Clip:"
  218.                             >
  219.                 </text>
  220.  
  221.                 <text       id="clip" top="jscript:clip_label.top" 
  222.                             left="jscript:clip_label.left+clip_label.width+10" 
  223.                             width="jscript:cpane.width - clip_label.width-10"
  224.                             height="jscript:clip_label.height"
  225.                             fontsize="jscript:clip_label.fontsize"
  226.                             justification="left"
  227.                             foregroundColor="#FFFFFF" backgroundColor="#000000"
  228.                             value=""
  229.                             >
  230.                 </text>
  231.  
  232.                 <text       id="author_label" top="40" width="75" height="15"
  233.                             fontsize="9" justification="right"
  234.                             foregroundColor="#FFFFFF" backgroundColor="#000000"
  235.                             value="Author:"
  236.                             >
  237.                 </text>
  238.  
  239.                 <text       id="author" top="jscript:author_label.top" 
  240.                             left="jscript:author_label.left+author_label.width + 10" 
  241.                             width="jscript:cpane.width-author_label.width-10"
  242.                             height="jscript:author_label.height"
  243.                             fontsize="jscript:clip_label.fontsize"
  244.                             justification="left"
  245.                             backgroundColor="#000000" foregroundColor="#FFFFFF"
  246.                             value=""
  247.                             >
  248.                 </text>
  249.  
  250.                 <text       id="copyright_label" top="55" width="75" height="15"
  251.                             fontsize="9"
  252.                             foregroundColor="#FFFFFF" backgroundColor="#000000" justification="right"
  253.                             value="Copyright:"
  254.                             >
  255.                 </text>
  256.  
  257.                 <text       id="copyright" top="jscript:copyright_label.top" 
  258.                             left="jscript:copyright_label.left+copyright_label.width + 10" 
  259.                             width="jscript:cpane.width-copyright_label.width-10" height="jscript:copyright_label.height"
  260.                             fontsize="jscript:copyright_label.fontsize"
  261.                             justification="left"
  262.                             foregroundColor="#FFFFFF" backgroundColor="#000000"
  263.                             value=""
  264.                             >
  265.                 </text>
  266.  
  267.                 <subview    top="74" width="jscript:cpane.width" height="1" backgroundColor="#848284" horizontalAlignment="Stretch">
  268.                 </subview>
  269.  
  270.                 <text       id="info"  top="78" left="20" height="15"
  271.                             fontsize="9"
  272.                             foregroundColor="#FFFFFF" backgroundColor="#000000"
  273.                             value=""
  274.                             >
  275.                 </text>
  276.  
  277.                 <text       id="tracktime" fontsize="9"
  278.                             top="78" left="125" width="80" height="15"
  279.                             foregroundColor="#FFFFFF"
  280.                             backgroundColor="#000000" justification="right"
  281.                             value="wmpprop:player.controls.currentPositionString"
  282.                             horizontalAlignment="right"
  283.                             >
  284.                 </text>
  285.                 <text       left="JScript:tracktime.left+tracktime.width+2"
  286.                             top="78" fontsize="9" value="/"
  287.                             foregroundColor="#FFFFFF"
  288.                             backgroundColor="#000000"
  289.                             horizontalAlignment="right"
  290.                             >
  291.                 </text>
  292.                 <text       left="JScript:tracktime.left+tracktime.width+8"
  293.                             top="78" width="60" height="15"
  294.                             fontsize="9"
  295.                             foregroundColor="#FFFFFF"
  296.                             backgroundColor="#000000"
  297.                             value="wmpprop:player.currentMedia.durationString"
  298.                             horizontalAlignment="right"
  299.                             >
  300.                 </text>
  301.  
  302.                 <subview    id="stereo" left="jscript:cpane.width-30" top="75" width="22" height="20"
  303.                             horizontalAlignment="right"
  304.                             >
  305.                 </subview>
  306.             </subview>
  307.         </subview>
  308.  
  309.         <text id="xWMP" enabled="false" visible="false"
  310.          toolTip="Windows Media Player"
  311.          >
  312.         </text>
  313.     </view>
  314. </theme>
  315.