home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 December / PCWorld_2002-12_cd.bin / Software / Topware / wmp9xprc / mpsetupXP.exe / QuickSilver.wmz / base.wms < prev    next >
Encoding:
Text File  |  2002-10-24  |  68.8 KB  |  283 lines

  1.  ■
  2. <!--
  3. Microsoft Windows Media Player
  4. (C) Microsoft Corporation, 2002.  All Rights Reserved.
  5. File: Quicksilver
  6. Description: WMP Series 9 Skin
  7. -->
  8. <theme id="mp9_base11" title="Quicksilver" author="Microsoft Corporation" copyright="(C) Microsoft Corporation, 2002.  All Rights Reserved.">
  9.     <view id="mediaSwitcherView" width="459" height="180" titlebar="false" resizable="false" backgroundImage="preview.png" scriptFile="script.js;res://wmploc.dll/RT_TEXT/#132;" onload="checkMediaOnLoad();" clippingColor="#ff00ff"></view>
  10.     <view id="mainView" timerInterval="3000" onTimer="Blendshutter()" titleBar="false" backgroundColor="none" width="500" height="268" scriptFile="script.js;res://wmploc.dll/RT_TEXT/#132;" onLoad="startup();"  onKeyPress="viewHotKeys();">
  11.         <player PlayState_onchange="checkPlayerState()" OpenState_onchange="checkPlayerMediaGlobal()" status_onChange="updateMetadata();"></player>
  12.         <video visible="false" enabled="true" onvideostart="theme.currentViewID='videoView'" />
  13.         <!-- body base -->
  14.         <subview id="Base" zIndex="1" left="0" top="26" backgroundImage="Base.png" passThrough="true" transparencycolor="#FF00FF" />
  15.         <!-- Shutter -->
  16.         <subview id="shutterbg" zIndex="1" left="130" top="85" width="300" height="56" passThrough="true" alphaBlend="255">
  17.             <button id="shutterbutbg" tabStop="false" image="Shutterbg.gif" enabled="false" />
  18.         </subview>
  19.         <subview id="shutter" zIndex="5" left="130" top="85" width="300" height="56" passThrough="true" alphaBlend="255">
  20.             <button id="shutterbut" tabStop="false" image="Shutter.gif" downimage="Shutter.gif" />
  21.         </subview>
  22.         <subview id="shutter2" zIndex="3" left="130" top="85" width="300" height="56" passThrough="true" visible="false">
  23.             <button id="shutterbut2" tabStop="false" image="Shutter-rev.gif" downimage="Shutter-rev.gif" />
  24.         </subview>
  25.         <subview id="coverbottom" zIndex="3" left="130" top="141" width="292" height="28" passThrough="true">
  26.             <button id="coverbot" image="Coverbottom.png" enabled="false" />
  27.         </subview>
  28.         <subview id="playbutton" zIndex="3" left="43" top="73" backgroundimage="pausemask.gif" transparencycolor="#FF00FF">
  29.             <playbutton image="playbutton2.gif" hoverimage="playbuttonhover2.gif" downimage="playbuttondown.gif" clippingcolor="#000000" disabledimage="playbutton-dis.png" />
  30.         </subview>
  31.         <subview id="pausebutton" zIndex="4" left="43" visible="wmpenabled:player.controls.pause" top="73" backgroundimage="pausemask.gif" transparencycolor="#FF00FF">
  32.             <pausebutton id="pausebut" image="pausebutton2.gif" downimage="pausebuttondown.gif" hoverimage="pausebuttonhover.gif" clippingcolor="#000000" />
  33.         </subview>
  34.         <subview id="pleqviscov" zIndex="5" left="422" top="91" width="26" height="41" backgroundimage="pleqvis-cover.png" alphaBlend="255" passthrough="true">
  35.             <button enabled="false" image="pleqvis-cover.png" />
  36.         </subview>
  37.         <subview id="prevbutton" zIndex="3" left="27" top="100" width="23" height="35">
  38.             <prevbutton image="Prevbutton.gif" hoverimage="Prevbutton-ho.gif" downimage="Prevbutton-dn.gif" disabledimage="Prevbutton-dis.gif" />
  39.         </subview>
  40.         <subview id="openbutton" zIndex="3" left="71" top="55" width="35" height="25">
  41.             <button image="Openbutton.gif" hoverimage="Openbutton-ho.gif" downimage="Openbutton-dn.gif" disabledimage="Openbutton-dis.gif" upToolTip="Open Media File" onClick="openFile()" />
  42.         </subview>
  43.         <subview id="nextbutton" zIndex="3" left="127" top="99" width="23" height="35">
  44.             <nextbutton image="Nextbutton.gif" hoverimage="Nextbutton-ho.gif" downimage="Nextbutton-dn.gif" disabledimage="Nextbutton-dis.gif" />
  45.         </subview>
  46.         <subview id="stopbutton" zIndex="3" left="71" top="156" width="35" height="24">
  47.             <stopbutton image="Stopbutton.gif" hoverimage="Stopbutton-ho.gif" downimage="Stopbutton-dn.gif" disabledimage="Stopbutton-dis.gif" />
  48.         </subview>
  49.         <subview id="winlogo" zIndex="2" left="104" top="37" width="300" height="56">
  50.             <button id="winlogobut" cursor="hand" image="Winlogo.png" hoverimage="Winlogo-ho.png" downimage="Winlogo-dn.png" uptooltip="Windows Media 9 Series Home" onClick="jscript:player.launchURL('http://windowsmedia.com/9series/')" />
  51.         </subview>
  52.         <subview id="fullminclose" zIndex="355" left="350" top="66" width="43" height="13" alphaBlend="0">
  53.             <buttongroup id="fullminclosebut" zIndex="3555" left="0" top="0" image="Fullminclose.png" hoverImage="Fullminclose-ho.png" downImage="Fullminclose-dn.png" disabledImage="Fullminclose.png" mappingImage="Fullminclose-map.gif">
  54.                 <buttonelement id="mainfull" mappingColor="#ffffff" upToolTip="Return to Full Mode" onClick="view.returnToMediaCenter();" />
  55.                 <buttonelement id="mainmin" mappingColor="#FF0000" upToolTip="Minimize" onClick="view.minimize();" />
  56.                 <buttonelement id="mainclose" mappingColor="#0000FF" upToolTip="Close" onClick="view.close();" />
  57.             </buttongroup>
  58.         </subview>
  59.         <subview id="pleqvis" zIndex="4" left="422" top="91" width="26" height="41" alphaBlend="255">
  60.             <buttongroup id="pleqvisbut" zIndex="4" left="0" top="0" image="pleqvis.gif" hoverImage="pleqvis-ho.gif" downImage="pleqvis-dn.gif" disabledImage="pleqvis.gif" mappingImage="pleqvis-map.gif">
  61.                 <buttonelement id="plButton" mappingColor="#ffffff" upToolTip="Show Playlist" onClick="togglePL()" onMouseOver="UpdatePLToolTip()" />
  62.                 <buttonelement id="eqButton" mappingColor="#FF0000" upToolTip="Show Graphic Equalizer" onClick="toggleEQ();" />
  63.                 <buttonelement id="visButton" mappingColor="#0000FF" onClick="toggleVis();" upToolTip="Show Visualizations" enabled="wmpenabled:player.controls.stop" onMouseOver="updateVisToolTip()" />
  64.             </buttongroup>
  65.         </subview>
  66.         <!-- meta area -->
  67.         <subview id="Meta" zIndex="3" left="154" top="90" width="262" height="49" backgroundimage="Metadisplay.gif" alphaBlend="0">
  68.             <text id="metadata2" zIndex="3" width="210" height="14" fontSize="8" fontStyle="bold" fontSmoothing="true" fontFace="tahoma,verdana" foregroundColor="#ffffff" justification="left" scrolling="false" left="4" top="5" value="wmpprop:player.status" />
  69.             <text id="metadata" zIndex="3" width="210" height="14" fontSize="8" fontStyle="bold" fontSmoothing="true" fontFace="tahoma,verdana" foregroundColor="#ffffff" justification="left" scrolling="false" left="4" top="27" />
  70.             <text id="time" zIndex="3" left="210" top="26" width="50" fontSize="9" scrolling="false" fontSmoothing="true" foregroundColor="#ffffff" scrolingDelay="50" scrollingAmmount="1" fontStyle="bold" justification="center" value="wmpprop:player.controls.currentPositionString" fontFace="tahoma,verdana" />
  71.         </subview>
  72.         <!-- volume / seek area  -->
  73.         <subview id="progress" zIndex="50" left="302" top="150" width="92" height="10" alphaBlend="0" PassThrough="True">
  74.             <Slider id="progressMain" zIndex="55" left="0" top="0" width="92" bordersize="6" backgroundimage="Slider.gif" thumbimage="Knob.gif" thumbhoverImage="Knob-ho.gif" toolTip="Seek" slide="false" min="0" max="wmpprop:player.currentMedia.duration" value="wmpprop:player.controls.currentPosition" onDragEnd="player.controls.currentPosition=value;" />
  75.         </subview>
  76.         <subview id="volume" zIndex="50" left="174" top="150" width="92" height="10" alphaBlend="0" PassThrough="True">
  77.             <volumeSlider direction="horizontal" id="volumeslider" zIndex="57" left="0" top="0" width="92" bordersize="6" min="0" max="100" backgroundimage="Slider.gif" onClick="mutebut.down=false;" thumbimage="Knob.gif" thumbhoverImage="Knob-ho.gif" value_onchange="wmpprop:player.settings.volume = value;mutebut.down=false;" toolTip="Volume" />
  78.         </subview>
  79.         <subview id="mute2" zIndex="50" left="149" backgroundimage="Mute.png" top="146" width="21" height="19" alphaBlend="0" PassThrough="True">
  80.             <mutebutton id="mutebut" left="0" top="0" zIndex="56" sticky="true" width="21" height="19" image="Mute.png" hoverImage="Mute-ho.png" downImage="Mute-dn.png" disabledImage="Mute-dis.png" />
  81.         </subview>
  82.         <!-- Shutter Button -->
  83.         <subview id="shutterbuttoncov" zIndex="4" left="96" top="181" width="29" height="18" alphaBlend="0" passThrough="true">
  84.             <button image="shutterbutton-dis.png" enabled="false" />
  85.         </subview>
  86.         <subview id="shutterbutton" zIndex="3" left="96" top="181" width="29" height="18">
  87.             <button id="shutbutton" image="shutterbutton.gif" hoverimage="shutterbutton-ho.gif" downimage="shutterbutton-dn.gif" onclick="Toggleshutter()" uptooltip="Close Shutter" />
  88.         </subview>
  89.         <!-- eq area  -->
  90.         <subview id="eqsubview" width="378" zIndex="45" transparencycolor="#FF00FF" left="127" top="64" backgroundImage="Eq-Bg.png" alphaBlend="0" passThrough="True">
  91.             <button enabled="false" id="eqbal" left="60" top="33" Image="Eq-Bal.png" Hoverimage="Eq-Bal-ho.png" onClick="player.settings.balance=0;" upToolTip="Reset Balance" />
  92.             <balanceSlider enabled="false" id="balslid" left="56" top="43" width="58" height="11" borderSize="5" thumbImage="Knob.gif" thumbhoverImage="Knob-ho.gif" />
  93.             <button enabled="false" id="eqres" left="55" top="68" image="Eq-Reset.png" hoverImage="Eq-Reset-ho.png" downImage="Eq-Reset-dn.png" disabledImage="Eq-Reset-dis.png" upToolTip="Reset Equalizer" onClick="eq.reset();" />
  94.             <button enabled="false" id="eqprev" left="128" top="74" image="Eq-Prevpres.png" hoverImage="Eq-Prevpres-ho.png" downImage="Eq-Prevpres-dn.png" disabledImage="Eq-Prevpres-dis.png" upToolTip="Previous Equalizer Preset" onClick="eq.previousPreset();" />
  95.             <button enabled="False" id="eqnext" left="221" top="74" image="Eq-Nextpres.png" hoverImage="Eq-Nextpres-ho.png" downImage="Eq-Nextpres-dn.png" disabledImage="Eq-Nextpres-dis.png" upToolTip="Next Equalizer Preset" onClick="eq.nextPreset()" />
  96.             <text zIndex="50" id="eqPresetText" left="154" top="75" width="62" height="12" fontSize="7" scrolling="false" fontSmoothing="true" fontFace="arial" foregroundColor="#000000" scrolingDelay="85" scrollingAmmount="1" fontStyle="bold" justification="center" value="wmpprop:eq.currentPresetTitle" visible="true" />
  97.             <equalizerSettings id="eq" enable="true" enableSplineTension="true" splineTension="3" />
  98.             <slider enabled="false" id="eq1" borderSize="5" left="128" top="12" width="14" height="58" thumbImage="Knob.gif" thumbhoverImage="Knob-ho.gif" min="-14" max="14" value="wmpprop:eq.gainLevel1" value_onchange="eq.gainLevel1=value;" direction="vertical" toolTip="31hz" />
  99.             <slider enabled="false" id="eq2" borderSize="5" left="140" top="12" width="14" height="58" thumbImage="Knob.gif" thumbhoverImage="Knob-ho.gif" min="-14" max="14" value="wmpprop:eq.gainLevel2" value_onchange="eq.gainLevel2=value;" direction="vertical" toolTip="62hz" />
  100.             <slider enabled="false" id="eq3" borderSize="5" left="152" top="12" width="14" height="58" thumbImage="Knob.gif" thumbhoverImage="Knob-ho.gif" min="-14" max="14" value="wmpprop:eq.gainLevel3" value_onchange="eq.gainLevel3=value;" direction="vertical" toolTip="125hz" />
  101.             <slider enabled="false" id="eq4" borderSize="5" left="164" top="12" width="14" height="58" thumbImage="Knob.gif" thumbhoverImage="Knob-ho.gif" min="-14" max="14" value="wmpprop:eq.gainLevel4" value_onchange="eq.gainLevel4=value;" direction="vertical" toolTip="250hz" />
  102.             <slider enabled="false" id="eq5" borderSize="5" left="176" top="12" width="14" height="58" thumbImage="Knob.gif" thumbhoverImage="Knob-ho.gif" min="-14" max="14" value="wmpprop:eq.gainLevel5" value_onchange="eq.gainLevel5=value;" direction="vertical" toolTip="500hz" />
  103.             <slider enabled="false" id="eq6" borderSize="5" left="188" top="12" width="14" height="58" thumbImage="Knob.gif" thumbhoverImage="Knob-ho.gif" min="-14" max="14" value="wmpprop:eq.gainLevel6" value_onchange="eq.gainLevel6=value;" direction="vertical" toolTip="1khz" />
  104.             <slider enabled="false" id="eq7" borderSize="5" left="200" top="12" width="14" height="58" thumbImage="Knob.gif" thumbhoverImage="Knob-ho.gif" min="-14" max="14" value="wmpprop:eq.gainLevel7" value_onchange="eq.gainLevel7=value;" direction="vertical" toolTip="2khz" />
  105.             <slider enabled="false" id="eq8" borderSize="5" left="212" top="12" width="14" height="58" thumbImage="Knob.gif" thumbhoverImage="Knob-ho.gif" min="-14" max="14" value="wmpprop:eq.gainLevel8" value_onchange="eq.gainLevel8=value;" direction="vertical" toolTip="4khz" />
  106.             <slider enabled="false" id="eq9" borderSize="5" left="224" top="12" width="14" height="58" thumbImage="Knob.gif" thumbhoverImage="Knob-ho.gif" min="-14" max="14" value="wmpprop:eq.gainLevel9" value_onchange="eq.gainLevel9=value;" direction="vertical" toolTip="8khz" />
  107.             <slider enabled="false" id="eq10" borderSize="5" left="236" top="12" width="14" height="58" thumbImage="Knob.gif" thumbhoverImage="Knob-ho.gif" min="-14" max="14" value="wmpprop:eq.gainLevel10" value_onchange="eq.gainLevel10=value;" direction="vertical" toolTip="16khz" />
  108.         </subview>
  109.     </view>
  110.     <!-- VIS VIEW -->
  111.     <view id="visView" width="697" height="395" minWidth="697" minHeight="395" resizAble="true" titleBar="false" backgroundcolor="none" scriptFile="script.js;res://wmploc.dll/RT_TEXT/#132;" onKeyPress="viewHotKeys();" onLoad="loadVisPrefs();theme.savePreference( 'visViewer', 'true' )" onClose="saveVisPrefs();" onTimer="hideVisText()" timerInterval="6000">
  112.         <player PlayState_onchange="checkVisPlayStates();" OpenState_onchange="checkVisPlayStates()"></player>
  113.         <subview zIndex="30" left="jscript:view.width-125" top="jscript:view.height-62" verticalAlignment="bottom" horizontalAlignment="right" width="29" height="29">
  114.             <button left="0" top="0" image="pl_resizer.png" onMouseDown="view.size( 'bottomright' );" cursor="sizenwse" upToolTip="Resize - [Use Mouse or Arrow Keys]" onkeydown="viewResizer(event);" />
  115.         </subview>
  116.         <subview zIndex="19" left="0" top="0" verticalAlignment="top" horizontalAlignemnt="left" backgroundImage="Vid-topleft.png" passThrough="true" transparencyColor="#ff00ff" />
  117.         <subview zIndex="19" width="333" left="62" top="0" verticalAlignment="top" horizontalAlignment="stretch" backgroundImage="Vid-toptile.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  118.         <subview zIndex="20" left="jscript:view.width-302" top="0" verticalAlignment="top" horizontalAlignment="right" backgroundImage="Vid-topright.png" passThrough="true" transparencyColor="#ff00ff" />
  119.         <subview zIndex="20" left="jscript:view.width-271" top="40" verticalAlignment="top" horizontalAlignment="right" backgroundImage="Vid-Toprightgrad.png" passThrough="true" transparencyColor="#ff00ff" />
  120.         <subview zIndex="19" width="32" height="186" left="0" top="40" verticalAlignment="stretch" horizontalAlignment="left" backgroundImage="Vid-lefttile.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  121.         <!-- Bottom Vid Parts -->
  122.         <subview zIndex="19" left="0" verticalAlignment="bottom" top="226" horizontalAlignemnt="left" backgroundImage="Vid-bottomleft.png" passThrough="true" transparencyColor="#ff00ff" />
  123.         <!-- Tile -->
  124.         <subview zIndex="19" width="jscript:view.width-363" top="226" left="62" verticalAlignment="bottom" horizontalAlignment="stretch" backgroundImage="Vid-bottomtile.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  125.         <subview zIndex="302" left="jscript:view.width-303" verticalAlignment="top" horizontalAlignment="right" top="15" backgroundimage="Vid-close.png">
  126.             <button image="Vid-close.png" hoverImage="Vid-close-ho.png" downImage="Vid-close-dn.png" disabledImage="Vid-close-dis.png" upToolTip="Close" onClick="theme.savePreference('visViewer', 'false');view.close()" />
  127.         </subview>
  128.         <subview zIndex="19" left="jscript:view.width-301" top="226" verticalAlignment="bottom" horizontalAlignment="right" backgroundImage="Vid-bottomright.png" passThrough="true" transparencyColor="#ff00ff" />
  129.         <subview zIndex="19" width="39" height="186" left="jscript:view.width-273" top="40" verticalAlignment="stretch" horizontalAlignment="right" backgroundImage="Vid-Righttile.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  130.         <subview zIndex="20" width="15" height="15" left="jscript:view.width-271" top="60" verticalAlignment="middle" horizontalAlignment="right" backgroundImage="Nextvis.png" backgroundTiled="true">
  131.             <button image="Nextvis.png" hoverimage="Nextvis-ho.png" downimage="Nextvis-dn.png" onClick="visEffects.next();displayVisText();" upToolTip="Next Visualization" />
  132.         </subview>
  133.         <subview zIndex="20" width="15" height="15" left="15" top="60" verticalAlignment="middle" horizontalAlignment="left" backgroundImage="Prevvis.png" backgroundTiled="true">
  134.             <button image="Prevvis.png" hoverimage="Prevvis-ho.png" downimage="Prevvis-dn.png" onClick="visEffects.previous();displayVisText();" upToolTip="Previous Visualization" />
  135.         </subview>
  136.         <subview zIndex="30" left="jscript:view.width-270" top="237" verticalAlignment="bottom" horizontalAlignment="right" width="10" height="10" >
  137.             <button left="0" top="0" image="Vid-Resize.gif" onMouseDown="view.size( 'bottomright' );" cursor="sizenwse" upToolTip="Resize - [Use Mouse or Arrow Keys]" onkeydown="viewResizer(event);" />
  138.         </subview>
  139.         <subview id="visBG" zIndex="554" left="32" top="40" width="392" height="186" verticalAlignment="stretch" horizontalAlignment="stretch" backgroundColor="Black" />
  140.         <subview id="visMask" zIndex="554" left="32" top="40" width="392" height="186" verticalAlignment="stretch" horizontalAlignment="stretch" backgroundcolor="pink">
  141.         <effects zIndex="25" id="visEffects" left="0" top="0" width="jscript:visMask.width" height="jscript:visMask.height" windowed="false" horizontalAlignment="stretch" verticalAlignment="stretch" 
  142.         currentEffectType="wmpprop:mediacenter.effectType" currentPreset="wmpprop:mediacenter.effectPreset" currentEffectType_onchange="mediacenter.effectType=currentEffectType;" currentPreset_onchange="mediacenter.effectPreset=currentPreset;" visible="true" clippingColor="#ffffff"/>
  143.             <subview zIndex="600" top="jscript:visMask.height-20" verticalAlignment="bottom" horizontalAlignment="center" width="jscript:visMask.width" height="20">
  144.                 <text id="visEffectsText" fontSize="8" fontFace="verdana" fontStyle="bold" fontSmoothing="true" foregroundColor="#ffffff" horizontalAlignment="center" value="wmpprop:visEffects.currentEffectTitle" />
  145.             </subview>
  146.         </subview>
  147.     </view>
  148.     <!-- PLAYLIST -->
  149.     <view id="plView" width="697" height="395" minWidth="697" minHeight="395" resizAble="true" titleBar="false" backgroundColor="none" scriptFile="script.js;res://wmploc.dll/RT_TEXT/#132;" onLoad="loadPlPrefs();" onClose="savePlPrefs();" onKeyPress="viewHotKeys();">
  150.         <player modeChange="updateShuffRep()" />
  151.         <subview zIndex="19" left="0" top="0" verticalAlignment="top" horizontalAlignemnt="left" backgroundImage="Vid-topleft.png" passThrough="true" transparencyColor="#ff00ff" />
  152.         <subview zIndex="19" width="334" left="62" top="0" verticalAlignment="top" horizontalAlignment="stretch" backgroundImage="Vid-toptile.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  153.         <subview zIndex="20" left="jscript:view.width-301" top="0" verticalAlignment="top" horizontalAlignment="right" backgroundImage="Vid-topright.png" passThrough="true" transparencyColor="#ff00ff" />
  154.         <subview zIndex="20" left="jscript:view.width-270" top="40" verticalAlignment="top" horizontalAlignment="right" backgroundImage="Vid-Toprightgrad.png" passThrough="true" transparencyColor="#ff00ff" />
  155.         <subview zIndex="19" width="32" height="186" left="0" top="40" verticalAlignment="stretch" horizontalAlignment="left" backgroundImage="Vid-lefttile.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  156.         <subview zIndex="19" left="0" verticalAlignment="bottom" top="226" horizontalAlignemnt="left" backgroundImage="Vid-bottomleft.png" passThrough="true" transparencyColor="#ff00ff" />
  157.         <subview zIndex="19" width="jscript:view.width-362" top="226" left="62" verticalAlignment="bottom" horizontalAlignment="stretch" backgroundImage="Vid-bottomtile.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  158.         <subview id="vidclose" zIndex="302" left="jscript:view.width-303" verticalAlignment="top" horizontalAlignment="right" top="15" backgroundimage="Vid-close.png">
  159.             <button image="Vid-close.png" hoverImage="Vid-close-ho.png" downImage="Vid-close-dn.png" disabledImage="Vid-close-dis.png" upToolTip="Close" onClick="theme.savePreference('plViewer', 'false');view.close()" />
  160.         </subview>
  161.         <subview zIndex="39" left="32" top="31" backgroundimage="Pl-Glass.png" passThrough="true">
  162.             <button image="Pl-Glass.png" zIndex="39" enabled="false" />
  163.         </subview>
  164.         <subview zIndex="19" left="jscript:view.width-300" top="226" verticalAlignment="bottom" horizontalAlignment="right" backgroundImage="Vid-bottomright.png" passThrough="true" transparencyColor="#ff00ff" />
  165.         <subview zIndex="19" width="39" height="186" left="jscript:view.width-272" top="40" verticalAlignment="stretch" horizontalAlignment="right" backgroundImage="Vid-Righttile.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  166.         <subview zIndex="30" left="jscript:view.width-269" top="237" verticalAlignment="bottom" horizontalAlignment="right" width="10" height="10" >
  167.             <button left="0" top="0" image="Vid-Resize.gif" onMouseDown="view.size( 'bottomright' );" cursor="sizenwse" upToolTip="Resize - [Use Mouse or Arrow Keys]" onkeydown="viewResizer(event);" />
  168.         </subview>
  169.         <subview zIndex="38" width="1" height="97" left="49" top="120" verticalAlignment="stretch" horizontalAlignment="left" backgroundcolor="#4B649D" backgroundTiled="true" />
  170.         <subview backgroundimage="Pl-Topbg.png" left="32" top="31" height="45" zIndex="32" backgroundtile="true" horizontalAlignment="stretch" width="393" transparencyColor="#ff00ff">
  171.             <button image="Pl-Topbg.png" left="0" top="0" height="45" width="393" enabled="false" />
  172.         </subview>
  173.         <subview zIndex="34" width="280" height="45" top="42" left="150" verticalAlignment="top" horizontalAlignment="right" backgroundImage="Trans.png" backgroundTiled="true">
  174.             <shufflebutton id="shuffleButton" image="Pl-Shuffle.png" hoverimage="Pl-Shuffle-ho.png" downimage="Pl-Shuffle-dn.png" disabledimage="Pl-Shuffle-dis.png" left="200" height="45" zIndex="33" />
  175.             <repeatbutton id="loopButton" image="Pl-Repeat.png" hoverimage="Pl-Repeat-ho.png" downimage="Pl-Repeat-dn.png" disabledimage="Pl-Repeat-dis.png" left="230" height="45" zIndex="33" />
  176.         </subview>
  177.         <subview zIndex="33" width="4" height="45" top="31" left="421" verticalAlignment="top" horizontalAlignment="stretch" backgroundImage="Pl-Topbgtile.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  178.         <subview zIndex="36" width="18" height="151" top="75" left="32" verticalAlignment="stretch" horizontalAlignment="left" backgroundImage="Pl-Lefttile.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  179.         <subview zIndex="37" width="370" height="10" top="216" left="49" verticalAlignment="stretch" horizontalAlignment="stretch" backgroundImage="Pl-Bottomtile2.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  180.         <subview zIndex="33" width="18" height="150" top="76" left="jscript:view.width-290" verticalAlignment="stretch" horizontalAlignment="right" backgroundImage="Pl-Righttile.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  181.         <subview id="plcenterBox" backgroundcolor="black" zIndex="10" left="50" top="76" width="jscript:view.width-340" height="141" verticalAlignment="stretch" horizontalAlignment="stretch">
  182.         <playlist id="plFrame" width="jscript:plcenterBox.width" height="jscript:plcenterBox.height" disabledItemColor="#556382" 
  183.             backgroundColor="#748AC0" foregroundcolor="#34456C" itemPlayingColor="#ffffff" itemPlayingBackgroundColor="#34456C"  columns="name=Name;artist=Artist;album=Album;duration=Time;" playlistItemsVisible="true" dropDownVisible="true" 
  184.             horizontalAlignment="stretch" verticalAlignment="stretch" allowItemEditing="true" columnsVisible="true" allowColumnSorting="true" />
  185.         </subview>
  186.         <subview zIndex="36" width="358" height="1" top="216" left="49" verticalAlignment="bottom" horizontalAlignment="stretch" backgroundImage="Pl-Bottomtile.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  187.     </view>
  188.     <!-- video -->
  189.     <view id="videoView" width="697" height="395" minWidth="697" minHeight="346" resizAble="true" titleBar="false" backgroundColor="none" scriptFile="script.js;res://wmploc.dll/RT_TEXT/#132;" onLoad="loadVidPrefs();" onClose="saveVidPrefs();" onKeyPress="viewHotKeys();">
  190.         <player OpenState_onchange="openStateCheck();" PlayState_onchange="checkVideoPlayerState();"/>
  191.         <subview zIndex="30" left="jscript:view.width-125" top="jscript:view.height-62" verticalAlignment="bottom" horizontalAlignment="right" width="29" height="29">
  192.             <button left="0" top="0" image="pl_resizer.png" onMouseDown="view.size( 'bottomright' );" cursor="sizenwse" upToolTip="Resize - [Use Mouse or Arrow Keys]" onkeydown="viewResizer(event);" />
  193.         </subview>
  194.         <subview zIndex="19" left="0" top="0" verticalAlignment="top" horizontalAlignemnt="left" backgroundImage="Vid-topleft.png" passThrough="true" transparencycolor="#FF00FF" />
  195.         <subview zIndex="19" width="jscript:videoWin.width+333" left="62" top="0" verticalAlignment="top" horizontalAlignment="stretch" backgroundImage="Vid-toptile.png" backgroundTiled="true" transparencycolor="#FF00FF" />
  196.         <subview zIndex="20" left="jscript:view.width-302" top="0" verticalAlignment="top" horizontalAlignment="right" backgroundImage="Vid-topright.png" passThrough="true" transparencycolor="#FF00FF" />
  197.         <subview zIndex="20" left="jscript:view.width-271" top="40" verticalAlignment="top" horizontalAlignment="right" backgroundImage="Vid-Toprightgrad.png" passThrough="true" transparencycolor="#FF00FF" />
  198.         <subview zIndex="19" width="32" height="jscript:videoView.height-160" left="0" top="40" verticalAlignment="stretch" horizontalAlignment="left" backgroundImage="Vid-lefttile.png" backgroundTiled="true" transparencycolor="#FF00FF" />
  199.         <subview zIndex="19" left="0" verticalAlignment="bottom" top="jscript:videoView.height-120" horizontalAlignemnt="left" backgroundImage="Vid-bottomleft.png" passThrough="true" transparencycolor="#FF00FF" />
  200.         <subview zIndex="19" width="jscript:view.width-363" top="jscript:videoView.height-120" left="62" verticalAlignment="bottom" horizontalAlignment="stretch" backgroundImage="Vid-bottomtile.png" backgroundTiled="true" transparencycolor="#FF00FF" />
  201.         <subview id="backplzoom" width="106" height="11" zIndex="302" left="47" verticalAlignment="top" horizontalAlignment="left" top="15" backgroundImage="">
  202.             <button zindex="19" id="switchBackButton" image="Vid-back.png" hoverimage="Vid-back-ho.png" downimage="Vid-back-dn.png" disabledimage="Vid-back-dis.png" onClick="theme.currentViewID = 'mainView';" upToolTip="Return to Player Mode" />
  203.             <button zindex="20" left="20" image="Vid-pl.png" hoverimage="Vid-pl-ho.png" downimage="Vid-pl-dn.png" disabledimage="Vid-pl-dis.png" uptooltip="Playlist" onClick="togglePL()" />
  204.             <button zindex="20" id="vidZoom" left="40" image="Vid-zoom.png" hoverimage="Vid-zoom-ho.png" downimage="Vid-zoom-dn.png" disabledimage="Vid-zoom-dis.png" onClick="videoZoom();" />
  205.         </subview>
  206.         <subview id="vidfullminclose" zIndex="302" left="jscript:view.width-343" verticalAlignment="top" horizontalAlignment="right" top="15" backgroundimage="Vid-Fullminclose.png">
  207.             <buttongroup id="vidfullminclosebg" left="0" top="0" image="Vid-Fullminclose.png" hoverImage="Vid-Fullminclose-ho.png" downImage="Vid-Fullminclose-dn.png" disabledImage="Vid-Fullminclose-dis.png" mappingImage="Vid-Fullminclose-map.gif">
  208.                 <buttonelement mappingColor="#FF0000" upToolTip="Return to Full mode" onClick="view.returnToMediaCenter();" />
  209.                 <buttonelement mappingColor="#000000" upToolTip="Minimize" onClick="view.minimize();" />
  210.                 <buttonelement mappingColor="#FFFFFF" upToolTip="Close" onClick="view.close();" />
  211.             </buttongroup>
  212.         </subview>
  213.         <!-- Drawer -->
  214.         <subview id="vidDrawerCover" zIndex="25" visible="true" left="0" width="548" top="jscript:videoView.height-120" verticalAlignment="bottom" horizontalAlignment="center">
  215.             <subview top="10" zIndex="22" left="-13" backgroundimage="Vid-DrawerLeft.png">
  216.                 <button image="Vid-DrawerLeft.png" enabled="false" />
  217.             </subview>
  218.             <subview zIndex="22" left="13" top="0" backgroundimage="Vid-DrawerCover.png">
  219.                 <button image="Vid-DrawerCover.png" enabled="false" />
  220.             </subview>
  221.             <subview top="10" zIndex="22" left="297" backgroundimage="Vid-DrawerRight.png">
  222.                 <button image="Vid-DrawerRight.png" enabled="false" />
  223.             </subview>
  224.         </subview>
  225.         <subview id="vidRightSideDrawer" zIndex="20" left="0" width="548" top="jscript:videoView.height-184" verticalAlignment="bottom" horizontalAlignment="center" backgroundImage="Vid-Drawer2.png" onEndMove="checkRightDrawerEnd()" transparencycolor="#FF00FF">
  226.             <subview id="vidRightWood" zIndex="22" left="0" top="0" backgroundImage="Vid-Drawer.png" transparencycolor="#FF00FF" />
  227.             <subview id="vidSettingsSub" zIndex="23" left="0" top="0" visible="false" width="300" height="200">
  228.                 <volumeslider left="25" top="11" width="141" height="8" borderSize="8" thumbImage="Vid-Drawer-Knob.png" thumbhoverImage="Vid-Drawer-Knob-ho.png" />
  229.                 <slider left="25" top="28" width="141" height="8" borderSize="8" thumbImage="Vid-Drawer-Knob.png" thumbhoverImage="Vid-Drawer-Knob-ho.png" toolTip="Seek" slide="false" min="0" max="wmpprop:player.currentMedia.duration" value="wmpprop:player.controls.currentPosition" onDragEnd="player.controls.currentPosition=value;" />
  230.                 <subview id="VidTranspButtons" zIndex="302" left="27" top="46" width="137" height="18" backgroundcolor="#ADADAD">
  231.                     <buttongroup id="vidButtonsWood" left="0" top="0" image="Vid-Drawer-Transpbuttons.png" hoverImage="Vid-Drawer-Transpbuttons-ho.png" downImage="Vid-Drawer-Transpbuttons-dn.png" disabledImage="Vid-Drawer-Transpbuttons-dis.png" mappingImage="Vid-Drawer-Transpbuttons-map.gif">
  232.                         <buttonelement mappingColor="#000000" upToolTip="Open Media File" onClick="openFile()" />
  233.                         <prevelement mappingColor="#FF0000" />
  234.                         <playelement mappingColor="#FF00FF" onClick="player.controls.play();loadVidSize();" />
  235.                         <stopelement mappingColor="#0000FF" />
  236.                         <nextelement mappingColor="#00FFFF" />
  237.                     </buttongroup>
  238.                 </subview>
  239.                 <subview zIndex="303" left="83" top="46" visible="wmpenabled:player.controls.pause" backgroundimage="Vid-pause.png">
  240.                     <pausebutton id="PauseButton" image="Vid-pause.png" hoverimage="Vid-pause-ho.png" downimage="Vid-pause-dn.png" />
  241.                 </subview>
  242.                 <videosettings id="vidset" enable="true" />
  243.                 <button left="189" top="3" image="v_brightness_no.png" hoverImage="v_brightness_hov.png" downImage="v_brightness_no.png" onClick="jscript:vidset.brightness=0" upToolTip="Reset Brightness" />
  244.                 <slider id="brightness" left="189" top="11" bordersize="8" width="96" height="8" toolTip="Brightness" direction="horizontal" thumbImage="Vid-Drawer-Knob.png" thumbhoverImage="Vid-Drawer-Knob-ho.png" min="-127" max="127" value="wmpprop:vidset.brightness" value_onchange="vidset.brightness=value;" />
  245.                 <button left="189" top="20" image="v_contrast_no.png" hoverImage="v_contrast_hov.png" downImage="v_contrast_no.png" onClick="jscript:vidset.contrast=0" upToolTip="Reset Contrast" />
  246.                 <slider id="contrast" left="189" top="28" width="96" height="8" toolTip="Contrast" borderSize="8" direction="horizontal" thumbImage="Vid-Drawer-Knob.png" thumbhoverImage="Vid-Drawer-Knob-ho.png" min="-127" max="127" value="wmpprop:vidset.contrast" value_onchange="vidset.contrast=value;" />
  247.                 <button left="189" top="37" image="v_hue_no.png" hoverImage="v_hue_hov.png" downImage="v_hue_no.png" onClick="jscript:vidset.hue=0" upToolTip="Reset Hue" />
  248.                 <slider id="hue" left="189" top="45" width="96" height="8" toolTip="Hue" borderSize="8" direction="horizontal" slide="false" thumbImage="Vid-Drawer-Knob.png" thumbhoverImage="Vid-Drawer-Knob-ho.png" min="-127" max="127" value="wmpprop:vidset.hue" value_onchange="vidset.hue=value;" />
  249.                 <button left="189" top="54" image="v_saturation_no.png" hoverImage="v_saturation_hov.png" downImage="v_saturation_no.png" onClick="jscript:vidset.saturation=0" upToolTip="Reset Saturation" />
  250.                 <slider id="saturation" left="189" top="62" width="96" height="8" toolTip="Saturation" borderSize="8" direction="horizontal" slide="false" thumbImage="Vid-Drawer-Knob.png" thumbhoverImage="Vid-Drawer-Knob-ho.png" min="-127" max="127" value="wmpprop:vidset.saturation" value_onchange="vidset.saturation=value;" />
  251.             </subview>
  252.             <subview id="VidOpener" zIndex="302" left="13" top="78" backgroundimage="Drawer-Button.png"> <!-- top="150" -->
  253.                 <button Image="Drawer-Button.png" id="vidRightOpener" cursor="hand" onClick="moveRightVidDrawer();" downtooltip="Show Video Controls" />
  254.             </subview>
  255.             <subview id="VidArrow" zIndex="305" visible="false" width="11" height="19" top="79" left="149" backgroundimage="Vid-Drawer-Arrow.png">
  256.                 <button image="Vid-Drawer-Arrow.png" cursor="hand" height="18" onClick="moveRightVidDrawer();" uptooltip="Hide Video Controls" />
  257.             </subview>
  258.         </subview>
  259.         <subview zIndex="19" left="jscript:view.width-301" top="jscript:videoView.height-120" verticalAlignment="bottom" horizontalAlignment="right" backgroundImage="Vid-bottomright.png" passThrough="true" transparencycolor="#FF00FF" />
  260.         <subview zIndex="19" width="39" height="jscript:videoView.height-160" left="jscript:view.width-273" top="40" verticalAlignment="stretch" horizontalAlignment="right" backgroundImage="Vid-Righttile.png" backgroundTiled="true" transparencycolor="#FF00FF" />
  261.         <subview zIndex="30" left="jscript:view.width-270" top="jscript:videoView.height-109" verticalAlignment="bottom" horizontalAlignment="right" width="10" height="10" id="VidResize">
  262.             <button left="0" top="0" image="Vid-Resize.gif" onMouseDown="view.size( 'bottomright' );vidZoom.upToolTip='Click to set Video Size';saveVidSize()" cursor="sizenwse" upToolTip="Resize - [Use Mouse or Arrow Keys]" onkeydown="viewResizer(event);vidZoom.upToolTip='Click to set Video Size'" onmouseup="saveVidSize();" />
  263.         </subview>
  264.         <subview id="vidColorBox" zIndex="23" left="32" top="40" verticalAlignment="top" visible="false" horizontalAlignment="left" width="392" height="186" backgroundImage="Vid-Background.png" />
  265.         <subview id="centerBox" zIndex="40" left="31" top="40" verticalAlignment="stretch" horizontalAlignment="stretch" width="jscript:view.width-302" height="jscript:view.height-160" backgroundColor="#000000">
  266.             <video zIndex="8" id="videoWin" windowless="false" width="jscript:centerBox.width" height="jscript:centerBox.height" horizontalAlignment="stretch" 
  267.             verticalAlignment="stretch" onvideostart="checkVideoPlayerState();" backgroundcolor="black" onvideoend="centerBox.visible=false;" fullScreen="true" 
  268.             maintainAspectRatio="true" stretchToFit="true" shrinkToFit="true" tabstop="false" />
  269.         </subview>
  270.         <subview zIndex="21" left="31" top="40" verticalAlignment="stretch" horizontalAlignment="stretch" width="jscript:view.width-302" height="jscript:view.height-160" backgroundColor="#000000" />
  271.     </view>
  272. </theme>