home *** CD-ROM | disk | FTP | other *** search
/ PC World Plus! (NZ) 2000 September / PCWORLD_PLUS.iso / review / wmp7.exe / RCDATA / CABINET / Roundlet.wmz / roundlet.wms < prev    next >
Text File  |  2000-04-24  |  15KB  |  353 lines

  1. <!--
  2.     ⌐2000 Microsoft Corporation. All rights reserved.
  3. -->
  4.  
  5. <theme id="roundlet"
  6.     author="Microsoft Corporation"
  7.     copyright="⌐2000 Microsoft Corporation. All rights reserved."
  8.     >
  9.     <view width="279" height="277"
  10.         backgroundColor="none"
  11.         titleBar="false" resizable="false"
  12.         scriptFile="roundlet.js;res://wmploc.dll/RT_TEXT/#132;"
  13.         onLoad="Init();"
  14.         onClose="OnClose();"
  15.         >
  16.  
  17.         <subview zIndex="-1"
  18.             left="33" top="53" width="216" height="161"
  19.             backgroundColor="#000000"
  20.             >
  21.             <subview id="sPlView"
  22.                 left="15" top="11" width="188" height="137"
  23.                 backgroundColor="#FFFFFF"
  24.                 visible="false"
  25.                 >
  26.                 <playlist id="pl"
  27.                     left="1" top="1" width="186" height="135"
  28.                     backgroundColor="#000000"
  29.                     foregroundColor="#FFFFFF"
  30.                     columnsVisible="false"
  31.                     columns="name=Name;Duration=Time"
  32.                     dropDownVisible="true"
  33.                     playlistItemsVisible="true"
  34.                     visible="false"
  35.                     >
  36.                 </playlist>
  37.             </subview>
  38.  
  39.             <video id="vid" visible="false"
  40.                 left="12" top="11" width="192" height="136"
  41.                 onVideoStart="StartVideo();"
  42.                 onVideoEnd="EndVideo();"
  43.                 >
  44.             </video>
  45.             <effects id="visEffects"
  46.                 left="0" top="0" width="216" height="161"
  47.                 windowed="false" visible="true"
  48.                 onClick="previous();"
  49.                 >
  50.             </effects>
  51.  
  52.             <subview id="sEq" zIndex="1" visible="false"
  53.                 left="25" top="18"
  54.                 width="189" height="143"
  55.                 backgroundColor="none"
  56.                 >
  57.                 <slider id="balance" zIndex="1"
  58.                     left="0" top="0" borderSize="6"
  59.                     toolTip="Balance"
  60.                     min="-100" max="100"
  61.                     backgroundImage="horizontal_slider.bmp"
  62.                     thumbImage="ball_thumb.bmp"
  63.                     transparencyColor="#FF00FF"
  64.                     value="wmpprop:player.settings.balance"
  65.                     value_onchange="player.settings.balance=value;"
  66.                     direction="horizontal"
  67.                     >
  68.                 </slider>
  69.                 <text zIndex="1" value="Balance"
  70.                     left="jscript:balance.left+18;"
  71.                     top="jscript:balance.top+12;"
  72.                     foregroundColor="#3399FF"
  73.                     fontSize="7" fontType="Verdana"
  74.                     >
  75.                 </text>
  76.                 <slider id="volume" zIndex="1" 
  77.                     left="jscript:balance.left+balance.width+19;"
  78.                     top="jscript:balance.top;" 
  79.                     toolTip="Volume" borderSize="6"
  80.                     backgroundImage="horizontal_slider.bmp"
  81.                     thumbImage="ball_thumb.bmp"
  82.                     transparencyColor="#FF00FF"
  83.                     min="1" max="100"
  84.                     value="wmpprop:player.settings.volume" 
  85.                     value_onchange="player.settings.volume=value;player.settings.mute='false';"
  86.                     >
  87.                 </slider>
  88.                 <text zIndex="1" value="Volume"
  89.                     left="jscript:volume.left+19;"
  90.                     top="jscript:volume.top+12;"
  91.                     foregroundColor="#3399FF" fontSize="7"
  92.                     >
  93.                 </text>
  94.  
  95.                 <equalizerSettings id="eq" enable="true">
  96.                 </equalizerSettings>
  97.                 <slider id="eq1" borderSize="6"
  98.                     left="jscript:balance.left;"
  99.                     top="jscript:balance.top+35;"
  100.                     toolTip="Graphic equalizer control"
  101.                     backgroundimage="vertical_slider.bmp"
  102.                     thumbImage="ball_thumb.bmp"
  103.                     transparencyColor="#FF00FF"
  104.                     min="-14" max="14" direction="vertical"
  105.                     value="wmpprop:eq.gainLevel1"
  106.                     value_onchange="eq.gainLevel1=value;"
  107.                     >
  108.                 </slider>
  109.                 <slider id="eq2" borderSize="6"
  110.                     left="jscript:eq1.left+17;"
  111.                     top="jscript:eq1.top;"
  112.                     toolTip="Graphic equalizer control"
  113.                     backgroundimage="vertical_slider.bmp"
  114.                     thumbImage="ball_thumb.bmp"
  115.                     transparencyColor="#FF00FF"
  116.                     min="-14" max="14" direction="vertical"
  117.                     value="wmpprop:eq.gainLevel2"
  118.                     value_onchange="eq.gainLevel2=value;"
  119.                     >
  120.                 </slider>
  121.                 <slider id="eq3" borderSize="6"
  122.                     left="jscript:eq2.left+17;"
  123.                     top="jscript:eq1.top;"
  124.                     toolTip="Graphic equalizer control"
  125.                     backgroundimage="vertical_slider.bmp"
  126.                     thumbImage="ball_thumb.bmp"
  127.                     transparencyColor="#FF00FF"
  128.                     min="-14" max="14" direction="vertical"
  129.                     value="wmpprop:eq.gainLevel3"
  130.                     value_onchange="eq.gainLevel3=value;"
  131.                     >
  132.                 </slider>
  133.                 <slider id="eq4" borderSize="6"
  134.                     left="jscript:eq3.left+17;"
  135.                     top="jscript:eq1.top;"
  136.                     toolTip="Graphic equalizer control"
  137.                     backgroundimage="vertical_slider.bmp"
  138.                     thumbImage="ball_thumb.bmp"
  139.                     transparencyColor="#FF00FF"
  140.                     min="-14" max="14" direction="vertical"
  141.                     value="wmpprop:eq.gainLevel4"
  142.                     value_onchange="eq.gainLevel4=value;"
  143.                     >
  144.                 </slider>
  145.                 <slider id="eq5" borderSize="6"
  146.                     left="jscript:eq4.left+17;"
  147.                     top="jscript:eq1.top;"
  148.                     toolTip="Graphic equalizer control"
  149.                     backgroundimage="vertical_slider.bmp"
  150.                     thumbImage="ball_thumb.bmp"
  151.                     transparencyColor="#FF00FF"
  152.                     min="-14" max="14" direction="vertical"
  153.                     value="wmpprop:eq.gainLevel5"
  154.                     value_onchange="eq.gainLevel5=value;"
  155.                     >
  156.                 </slider>
  157.                 <slider id="eq6" borderSize="6"
  158.                     left="jscript:eq5.left+17;"
  159.                     top="jscript:eq1.top;"
  160.                     toolTip="Graphic equalizer control"
  161.                     backgroundimage="vertical_slider.bmp"
  162.                     thumbImage="ball_thumb.bmp"
  163.                     transparencyColor="#FF00FF"
  164.                     min="-14" max="14" direction="vertical"
  165.                     value="wmpprop:eq.gainLevel6"
  166.                     value_onchange="eq.gainLevel6=value;"
  167.                     >
  168.                 </slider>
  169.                 <slider id="eq7" borderSize="6"
  170.                     left="jscript:eq6.left+17;"
  171.                     top="jscript:eq1.top;"
  172.                     toolTip="Graphic equalizer control"
  173.                     backgroundimage="vertical_slider.bmp"
  174.                     thumbImage="ball_thumb.bmp"
  175.                     transparencyColor="#FF00FF"
  176.                     min="-14" max="14" direction="vertical"
  177.                     value="wmpprop:eq.gainLevel7"
  178.                     value_onchange="eq.gainLevel7=value;"
  179.                     >
  180.                 </slider>
  181.                 <slider id="eq8" borderSize="6"
  182.                     left="jscript:eq7.left+17;"
  183.                     top="jscript:eq1.top;"
  184.                     toolTip="Graphic equalizer control"
  185.                     backgroundimage="vertical_slider.bmp"
  186.                     thumbImage="ball_thumb.bmp"
  187.                     transparencyColor="#FF00FF"
  188.                     min="-14" max="14" direction="vertical"
  189.                     value="wmpprop:eq.gainLevel8"
  190.                     value_onchange="eq.gainLevel8=value;"
  191.                     >
  192.                 </slider>
  193.                 <slider id="eq9" borderSize="6"
  194.                     left="jscript:eq8.left+17;"
  195.                     top="jscript:eq1.top;"
  196.                     toolTip="Graphic equalizer control"
  197.                     backgroundimage="vertical_slider.bmp"
  198.                     thumbImage="ball_thumb.bmp"
  199.                     transparencyColor="#FF00FF"
  200.                     min="-14" max="14" direction="vertical"
  201.                     value="wmpprop:eq.gainLevel9"
  202.                     value_onchange="eq.gainLevel9=value;"
  203.                     >
  204.                 </slider>
  205.                 <slider id="eq10" borderSize="6"
  206.                     left="jscript:eq9.left+17;"
  207.                     top="jscript:eq1.top;"
  208.                     toolTip="Graphic equalizer control"
  209.                     backgroundimage="vertical_slider.bmp"
  210.                     thumbImage="ball_thumb.bmp"
  211.                     transparencyColor="#FF00FF"
  212.                     min="-14" max="14" direction="vertical"
  213.                     value="wmpprop:eq.gainLevel10"
  214.                     value_onchange="eq.gainLevel10=value;"
  215.                     >
  216.                 </slider>
  217.                 <text zIndex="1" value="reset"
  218.                     left="jscript:eq10.left-8;"
  219.                     top="jscript:eq1.top+85;"
  220.                     toolTip="Reset graphic equalizer controls"
  221.                     foregroundColor="#DDDDDD"
  222.                     fontSize="7" fontStyle="Underline"
  223.                     onClick="eq.reset();"
  224.                     >
  225.                 </text>
  226.             </subview>
  227.  
  228.         </subview>
  229.  
  230.         <subview left="46" top="0"
  231.             backgroundImage="roundlet_base_top.bmp"
  232.             transparencyColor="#FF00FF"
  233.             >
  234.             <buttongroup
  235.                 left="78" top="5"
  236.                 mappingImage="min_close_buttn_map.bmp"
  237.                 image="min_close_01_df.bmp"
  238.                 hoverImage="min_close_02_RV.bmp"
  239.                 downImage="min_close_03_dwn.bmp"
  240.                 disabledImage="min_close_04_dis.bmp"
  241.                 >
  242.                 <buttonelement
  243.                     mappingColor="#FF0000"
  244.                     upToolTip="Minimize"
  245.                     onClick="view.minimize();"
  246.                     >
  247.                 </buttonelement>
  248.                 <buttonelement
  249.                     mappingColor="#00FF00"
  250.                     upToolTip="Close"
  251.                     onClick="view.close();"
  252.                     >
  253.                 </buttonelement>
  254.             </buttongroup>
  255.             <text id="metadata"
  256.                 left="20" top="25" width="150" height="20"
  257.                 justification="Center"
  258.                 value="wmpprop:player.currentmedia.name"
  259.                 >
  260.             </text>
  261.         </subview>
  262.  
  263.         <subview left="0" top="36"
  264.             backgroundImage="roundlet_base_left.bmp"
  265.             transparencyColor="#FF00FF"
  266.             >
  267.             <buttongroup
  268.                 left="9" top="68"
  269.                 mappingImage="sidebuttons_map.bmp"
  270.                 image="sidebuttons_01_DF.bmp"
  271.                 hoverImage="sidebuttons_02_RV.bmp"
  272.                 downImage="sidebuttons_03_dwn.bmp"
  273.                 disabledImage="sidebuttons_04_dis.bmp"
  274.                 >
  275.                 <buttonelement id="bgTogglePl"
  276.                     mappingColor="#FF0000" sticky="true"
  277.                     upToolTip="View playlist"
  278.                     onClick="TogglePlaylist();"
  279.                     >
  280.                 </buttonelement>
  281.                 <buttonelement id="bgToggleEq"
  282.                     mappingColor="#00FF00" sticky="true"
  283.                     upToolTip="View graphic equalizer"
  284.                     onClick="ToggleEq();"
  285.                     >
  286.                 </buttonelement>
  287.             </buttongroup>
  288.         </subview>
  289.  
  290.         <subview left="46" top="203"
  291.             backgroundImage="roundlet_base_bottom.bmp"
  292.             transparencyColor="#FF00FF"
  293.             >
  294.             <buttongroup zIndex="1"
  295.                 left="19" top="14"
  296.                 mappingImage="playcontrols_map.bmp"
  297.                 image="playcontrols_01_df.bmp"
  298.                 hoverImage="playcontrols_02_RV.bmp"
  299.                 downImage="playcontrols_03_dwn.bmp"
  300.                 hoverDownImage="playcontrols_02_RV.bmp"
  301.                 disabledImage="playcontrols_04_dis.bmp"
  302.                 >
  303.                 <buttonelement
  304.                     mappingColor="#FF0000"
  305.                     upToolTip="Return to Full Mode"
  306.                     onClick="view.returnToMediaCenter();"
  307.                     >
  308.                 </buttonelement>
  309.                 <prevelement mappingColor="#00FF00">
  310.                 </prevelement>
  311.                 <playelement mappingColor="#0000FF"
  312.                     tabStop="wmpenabled:player.controls.play"
  313.                     >
  314.                 </playelement>
  315.                 <stopelement mappingColor="#FFFF00">
  316.                 </stopelement>
  317.                 <nextelement mappingColor="#00FFFF">
  318.                 </nextelement>
  319.                 <buttonelement id="bVisToggle"
  320.                     mappingColor="#000000"
  321.                     upToolTip="Next visualization"
  322.                     onClick="VisClick();"
  323.                     >
  324.                 </buttonelement>
  325.             </buttongroup>
  326.             <pausebutton left="68" top="30" zIndex="2"
  327.                 visible="wmpenabled:player.controls.pause"
  328.                 image="pause_01_DF.bmp"
  329.                 hoverImage="pause_02_RV.bmp"
  330.                 downImage="pause_03_Dwn.bmp"
  331.                 disabledImage="pause_04_Dis.bmp"
  332.                 transparencyColor="#FF00FF"
  333.                 >
  334.             </pausebutton>
  335.         </subview>
  336.  
  337.         <subview left="234" top="63"
  338.             backgroundImage="roundlet_base_right.bmp"
  339.             transparencyColor="#FF00FF"
  340.             >
  341.         </subview>
  342.  
  343.         <text id="xVisTt" enabled="false" visible="false"
  344.             toolTip="Return to visualization"
  345.             value="Next visualization"
  346.             >
  347.         </text>
  348.         <text id="xVideoTt" enabled="false" visible="false"
  349.             toolTip="Return to video"
  350.             >
  351.         </text>
  352.     </view>
  353. </theme>