home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 February / Chip_2003-02_cd1.bin / zkuste / wmakeup / download / MCE_Enhanced.wmz / mc.wms < prev    next >
Encoding:
Text File  |  2002-11-25  |  63.3 KB  |  301 lines

  1.  ■<!-- 
  2.     http://www.theskinsfactory.com
  3.     info@theskinsfactory.com
  4.     series 9 edition
  5. -->
  6. <theme title="Media Center XP" author="TheSkinsFactory.com" copyright="⌐ 2002, Microsoft Corporation. All Rights Reserved." >
  7. <view id="mainView" width="243" height="270" titleBar="false" backgroundColor="none" scriptFile="mc.js" onLoad="mainStartUp()" onClose="mainShutDown()" 
  8.     onKeyPress="viewHotKeys();" timerInterval="1500" onTimer="introAnim()" >
  9.     <player PlayState_onchange="checkPlayerState()" OpenState_onchange="checkPlayerState()" status_onChange="updateMetadata();" modeChange="updateShuffRep()" >
  10.     <controls currentPosition_onchange="seek.value=player.controls.currentPosition;" /> 
  11.     </player>
  12.     <video visible="false" enabled="true" onvideostart="theme.openView('videoView');" />
  13.     <subview id="mainBack" zIndex="5" backgroundImage="main_back.png" transparencyColor="#ff00ff" />
  14.     <subview id="leftSet" left="18" top="55" backgroundImage="m_left_no.png" transparencyColor="#ff00ff" onEndMove="checkLeftDrawer()" >
  15.         <buttongroup id="leftSetButtons" image="m_left_no.png" hoverImage="m_left_hov.png" downImage="m_left_do.png" mappingImage="m_left_map.png" transparencyColor="#ff00ff" enabled="false" >
  16.             <buttonelement mappingColor="#0000ff" id="infoButton" onClick="toggleView('infoView','infoViewer');if(infoButton.enabled) theme.playSound('click.wav');" onMouseOver="updateToolTip('infoViewer','infoButton','Skin Information')" />
  17.             <buttonelement mappingColor="#0033ff" id="shuffleButton" sticky="true" upTooltip="Turn Shuffle On" downTooltip="Turn Shuffle Off" down="jscript:player.settings.getMode('shuffle');" onClick="player.settings.setMode('shuffle',down);theme.playSound('click.wav');" />
  18.             <buttonelement mappingColor="#0066ff" id="repeatButton" sticky="true" upTooltip="Turn Repeat On" downTooltip="Turn Repeat Off" down="jscript:player.settings.getMode('loop');" onClick="player.settings.setMode('loop',down);theme.playSound('click.wav');" />
  19.             <buttonelement mappingColor="#0099ff" id="shutterButton" upToolTip="Close Shutter" downToolTip="Open Shutter" onClick="checkShutterSound();toggleShutter();" sticky="true" />
  20.         </buttongroup>
  21.     </subview>
  22.     <subview id="mainBackFrame" zIndex="10" width="jscript:mainBack.width" height="jscript:mainBack.height" >
  23.         <subview id="metaSub" zIndex="4" width="jscript:mainBack.width" height="jscript:mainBack.height" >
  24.             <text id="metadata" left="55" top="68" width="124" fontSize="8" fontSmoothing="true" fontFace="verdana,tahoma" foregroundColor="#ffffff" 
  25.                 scrollingDelay="80" scrollingAmount="2" justification="left" scrolling="true" toolTip="" passThrough="true" />
  26.             <text id="time" left="121" top="99" width="58" fontSize="8" scrolling="false" fontSmoothing="true" foregroundColor="#ffffff" 
  27.                 fontStyle="normal" justification="right" value="wmpprop:player.controls.currentPositionString" fontFace="verdana" />
  28.             <text id="status" left="55" top="99" width="85" fontSize="8" scrolling="false" fontSmoothing="true" foregroundColor="#ffffff" 
  29.                 fontStyle="normal" justification="left" value="wmpprop:player.status" fontFace="arial narrow,arial,tahoma,verdana" />
  30.         </subview>
  31.         <button id="mainLeftArrow" left="29" top="76" image="m_left_arrow_no.png" hoverImage="m_left_arrow_hov.png" downImage="m_left_arrow_do.png" hoverDownImage="m_left_arrow_do_hov.png" onClick="toggleLeftDrawer();theme.playSound('drawer.wav');" upToolTip="Hide Left Drawer" downToolTip="Show Left Drawer" sticky="true" />
  32.         <buttongroup id="topSetButtons" left="84" top="11" image="m_top_no.png" hoverImage="m_top_hov.png" downImage="m_top_do.png" mappingImage="m_top_map.png"  >
  33.             <buttonelement mappingColor="#0000ff" upToolTip="Return To Full Mode" onClick="theme.playSound('click.wav');view.returnToMediaCenter()" />
  34.             <buttonelement mappingColor="#0033ff" upToolTip="Minimize" onClick="theme.playSound('click.wav');view.minimize()" />
  35.             <buttonelement mappingColor="#0066ff" upToolTip="Close" onClick="view.close()" />
  36.         </buttongroup>
  37.         <subview id="seekSub" zIndex="4" left="57" top="117" width="120" height="30" >
  38.             <customSlider id="seek" min="0" max="wmpprop:player.currentMedia.duration" borderSize="0" image="seek.png" positionImage="seek_map.png" 
  39.                 enabled="true" cursor="hand" onmouseup="player.controls.currentPosition=seek.value;" toolTip="Seek" transparencyColor="#ff00ff" />
  40.         </subview>
  41.         <subview zIndex="5" id="eqBack" left="47" top="45" backgroundImage="eq_back.png" alphaBlend="0" onendalphablend="if(!eqStatus)eqBack.visible=false" >
  42.             <equalizerSettings id="eq" enabled="true" enableSplineTension="wmpprop:eq.enableSplineTension" splineTension="wmpprop:eq.splineTension"  />
  43.             <slider id="eq1" left="13" top="29" width="7" height="34" thumbImage="eq_thumb.png" thumbHoverImage="eq_thumb_hov.png" thumbDownImage="eq_thumb_do.png" foregroundImage="eq_slider.png" slide="false" borderSize="3" min="-14" max="14" value="wmpprop:eq.gainLevel1" value_onchange="eq.gainLevel1=value;" direction="vertical" toolTip="31hz" cursor="hand" transparencyColor="#ff00ff" />
  44.             <slider id="eq2" left="25" top="29" width="7" height="34" thumbImage="eq_thumb.png" thumbHoverImage="eq_thumb_hov.png" thumbDownImage="eq_thumb_do.png" foregroundImage="eq_slider.png" slide="false" borderSize="3" min="-14" max="14" value="wmpprop:eq.gainLevel2" value_onchange="eq.gainLevel2=value;" direction="vertical" toolTip="63hz" cursor="hand" transparencyColor="#ff00ff" />
  45.             <slider id="eq3" left="37" top="29" width="7" height="34" thumbImage="eq_thumb.png" thumbHoverImage="eq_thumb_hov.png" thumbDownImage="eq_thumb_do.png" foregroundImage="eq_slider.png" slide="false" borderSize="3" min="-14" max="14" value="wmpprop:eq.gainLevel3" value_onchange="eq.gainLevel3=value;" direction="vertical" toolTip="125hz" cursor="hand" transparencyColor="#ff00ff" />
  46.             <slider id="eq4" left="49" top="29" width="7" height="34" thumbImage="eq_thumb.png" thumbHoverImage="eq_thumb_hov.png" thumbDownImage="eq_thumb_do.png" foregroundImage="eq_slider.png" slide="false" borderSize="3" min="-14" max="14" value="wmpprop:eq.gainLevel4" value_onchange="eq.gainLevel4=value;" direction="vertical" toolTip="250hz" cursor="hand" transparencyColor="#ff00ff" />
  47.             <slider id="eq5" left="61" top="29" width="7" height="34" thumbImage="eq_thumb.png" thumbHoverImage="eq_thumb_hov.png" thumbDownImage="eq_thumb_do.png" foregroundImage="eq_slider.png" slide="false" borderSize="3" min="-14" max="14" value="wmpprop:eq.gainLevel5" value_onchange="eq.gainLevel5=value;" direction="vertical" toolTip="500hz" cursor="hand" transparencyColor="#ff00ff" />
  48.             <slider id="eq6" left="73" top="29" width="7" height="34" thumbImage="eq_thumb.png" thumbHoverImage="eq_thumb_hov.png" thumbDownImage="eq_thumb_do.png" foregroundImage="eq_slider.png" slide="false" borderSize="3" min="-14" max="14" value="wmpprop:eq.gainLevel6" value_onchange="eq.gainLevel6=value;" direction="vertical" toolTip="1khz" cursor="hand" transparencyColor="#ff00ff" />
  49.             <slider id="eq7" left="85" top="29" width="7" height="34" thumbImage="eq_thumb.png" thumbHoverImage="eq_thumb_hov.png" thumbDownImage="eq_thumb_do.png" foregroundImage="eq_slider.png" slide="false" borderSize="3" min="-14" max="14" value="wmpprop:eq.gainLevel7" value_onchange="eq.gainLevel7=value;" direction="vertical" toolTip="2khz" cursor="hand" transparencyColor="#ff00ff" />
  50.             <slider id="eq8" left="97" top="29" width="7" height="34" thumbImage="eq_thumb.png" thumbHoverImage="eq_thumb_hov.png" thumbDownImage="eq_thumb_do.png" foregroundImage="eq_slider.png" slide="false" borderSize="3" min="-14" max="14" value="wmpprop:eq.gainLevel8" value_onchange="eq.gainLevel8=value;" direction="vertical" toolTip="4khz" cursor="hand" transparencyColor="#ff00ff" />
  51.             <slider id="eq9" left="109" top="29" width="7" height="34" thumbImage="eq_thumb.png" thumbHoverImage="eq_thumb_hov.png" thumbDownImage="eq_thumb_do.png" foregroundImage="eq_slider.png" slide="false" borderSize="3" min="-14" max="14" value="wmpprop:eq.gainLevel9" value_onchange="eq.gainLevel9=value;" direction="vertical" toolTip="8khz" cursor="hand" transparencyColor="#ff00ff" />
  52.             <slider id="eq10" left="121" top="29" width="7" height="34" thumbImage="eq_thumb.png" thumbHoverImage="eq_thumb_hov.png" thumbDownImage="eq_thumb_do.png" foregroundImage="eq_slider.png" slide="false" borderSize="3" min="-14" max="14" value="wmpprop:eq.gainLevel10" value_onchange="eq.gainLevel10=value;" direction="vertical" toolTip="16khz" cursor="hand" transparencyColor="#ff00ff" />
  53.             <buttongroup left="98" top="74" image="eq_set_no.png" hoverImage="eq_set_hov.png" downImage="eq_set_do.png" mappingImage="eq_set_map.png" onClick="theme.playSound('click.wav');" >
  54.                 <buttonelement mappingColor="#0000ff" upToolTip="Previous Equalizer Preset" onClick="eq.previousPreset()" />
  55.                 <buttonelement mappingColor="#0033ff" upToolTip="Next Equalizer Preset" onClick="eq.nextPreset()" />
  56.                 <buttonelement mappingColor="#0066ff" upToolTip="Reset Equalizer" onClick="eq.reset()" />
  57.             </buttongroup>
  58.             <text id="eqPresetText" left="9" top="86" width="120" fontSize="8" fontSmoothing="true" fontFace="verdana" foregroundColor="#ffffff" 
  59.                 fontStyle="normal" justification="left" value="wmpprop:eq.currentPresetTitle" visible="true"/>    
  60.         </subview>
  61.         <pausebutton id="mainPauseButton" zIndex="15" left="100" top="165" image="m_pause_no.png" hoverImage="m_pause_hov.png" downImage="m_pause_do.png" visible="wmpenabled:player.controls.pause" transparencyColor="#ff00ff" onClick="if(mainPauseButton.enabled) theme.playSound('click.wav');player.controls.pause();"     />
  62.         <buttongroup id="mainButtons" left="50" top="158" image="m_main_no.png" hoverImage="m_main_hov.png" downImage="m_main_do.png" hoverDownImage="m_main_do_hov.png" disabledImage="m_main_dis.png" mappingImage="m_main_map.png" transparencyColor="#ff00ff" >
  63.             <playelement mappingColor="#0000ff" id="playButton" onClick="if(playButton.enabled) theme.playSound('click.wav');player.controls.play();" />
  64.             <prevelement mappingColor="#0033ff" id="prev" onClick="if(prev.enabled) theme.playSound('click.wav');player.controls.previous();" />
  65.             <buttonelement mappingColor="#0066ff" id="mute" upToolTip="Mute" downToolTip="Sound" onClick="player.settings.mute = !player.settings.mute;if(mute.enabled) theme.playSound('click.wav');" down="wmpprop:player.settings.mute" sticky="true" />
  66.             <stopelement mappingColor="#0099ff" id="stopButton" onClick="if(stopButton.enabled) theme.playSound('click.wav');player.controls.stop();" />
  67.             <buttonelement mappingColor="#00ccff" id="openFileButton" upToolTip="Open Media File" onClick="if(openFileButton.enabled) theme.playSound('click.wav');openFile()" />
  68.             <nextelement mappingColor="#00ffff" id="next" onClick="player.controls.next();if(next.enabled) theme.playSound('click.wav');" />
  69.         </buttongroup>
  70.         <customSlider id="volume" left="64" top="233" min="0" max="100" borderSize="0" image="vol.png" hoverImage="vol_hov.png" positionImage="vol_map.png" enabled="true" 
  71.             value="wmpprop:player.settings.volume" value_onchange="wmpprop:player.settings.volume = value;updateVolToolTip();mute.down=false;player.settings.mute = false;" cursor="hand" 
  72.             transparencyColor="#ff00ff" toolTip="Volume" onMouseUp="volume.toolTip='Volume'" onKeyDown="volKey(event)" />
  73.         <button id="mainRightArrow" left="194" top="76" image="m_right_arrow_no.png" hoverImage="m_right_arrow_hov.png" downImage="m_right_arrow_do.png" hoverDownImage="m_right_arrow_do_hov.png" onClick="toggleRightDrawer();theme.playSound('drawer.wav');" upToolTip="Hide Right Drawer" downToolTip="Show Right Drawer" sticky="true" />
  74.     </subview>
  75.     <subview id="rightSet" left="186" top="55" backgroundImage="m_right_no.png" transparencyColor="#ff00ff" onEndMove="checkRightDrawer()" >
  76.         <buttongroup id="rightSetButtons" image="m_right_no.png" hoverImage="m_right_hov.png" downImage="m_right_do.png" mappingImage="m_right_map.png" enabled="false"  >
  77.             <buttonelement mappingColor="#0000ff" id="eqButton" onClick="toggleEQ();if(eqButton.enabled) theme.playSound('click.wav');" upToolTip="Show Equalizer" downToolTip="Hide Equalizer" sticky="true" />
  78.             <buttonelement mappingColor="#0033ff" id="plButton" onClick="toggleView('plView','plViewer');if(plButton.enabled) theme.playSound('click.wav');" onMouseOver="updateToolTip('plViewer','plButton','Playlist')" />
  79.             <buttonelement mappingColor="#0066ff" id="visButton" onClick="toggleView('visView','visViewer');if(visButton.enabled) theme.playSound('click.wav');" onMouseOver="updateToolTip('visViewer','visButton','Visualizations')" />
  80.             <buttonelement mappingColor="#0099ff" id="ColorButton" onClick="toggleColor();if(ColorButton.enabled) theme.playSound('click.wav');" upToolTip="Change Skin Color" />
  81.         </buttongroup>    
  82.     </subview>
  83.     <subview id="shutterSub" zIndex="20" left="29" top="32" backgroundImage="shutter_static.png" transparencyColor="#ff00ff" passThrough="true" >
  84.         <subview id="shutterStatic" backgroundImage="shutter_static.png" transparencyColor="#ff00ff" visible="false" />
  85.     </subview>
  86.     <subview id="shutterSubGreen" zIndex="20" left="29" top="32" width="jscript:shutterSub.width" height="jscript:shutterSub.height" transparencyColor="#ff00ff" passThrough="true" visible="false" >
  87.         <subview id="shutterStaticGreen" backgroundImage="shutter_static_g.png" transparencyColor="#ff00ff" visible="false" />
  88.     </subview>
  89. </view>
  90. <!-- playlist -->
  91. <view id="plView" width="250" height="183" minWidth="350" minHeight="250" resizAble="true" titleBar="false" backgroundColor="none" scriptFile="mc.js"
  92.     onLoad="loadPlPrefs();" onClose="savePlPrefs();" onKeyPress="viewHotKeys();" onTimer="checkPLColor()" timerInterval="500" >
  93.     <subview id="pl0" zIndex="5" backgroundImage="f_top_left.png" transparencyColor="#ff00ff" />
  94.     <subview id="pl1" zIndex="4" top="88" verticalAlignment="stretch" backgroundImage="f_left_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  95.     <subview id="pl2" zIndex="5" top="jscript:view.height-92" verticalAlignment="bottom" backgroundImage="f_bot_left.png" transparencyColor="#ff00ff" />
  96.     <subview id="pl3" zIndex="4" left="125" top="jscript:view.height-95" verticalAlignment="bottom" horizontalAlignment="stretch" backgroundImage="f_bot_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  97.     <subview id="pl4" zIndex="5" left="jscript:view.width-121" top="jscript:view.height-95" verticalAlignment="bottom" horizontalAlignment="right" backgroundImage="f_bot_right.png" transparencyColor="#ff00ff" />
  98.     <subview id="pl5" zIndex="4" left="jscript:view.width-121" top="83" verticalAlignment="stretch" horizontalAlignment="right" backgroundImage="f_right_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  99.     <subview id="pl6" zIndex="5" left="jscript:view.width-121" horizontalAlignment="right" backgroundImage="f_top_right.png" transparencyColor="#ff00ff" />
  100.     <subview id="pl7" zIndex="4" left="125" horizontalAlignment="stretch" backgroundImage="f_top_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  101.     <subview zIndex="20" left="jscript:view.width-65" top="6" horizontalAlignment="right" backgroundImage="f_close_no.png" >
  102.         <button id="plClose" image="f_close_no.png" hoverImage="f_close_hov.png" downImage="f_close_do.png" onClick="theme.playSound('click.wav');closeView('plViewer');" upToolTip="Close" />
  103.     </subview>
  104.     <subview zIndex="20" left="jscript:view.width-21" top="jscript:view.height-56" verticalAlignment="bottom" horizontalAlignment="right" backgroundImage="f_resize.png" transparencyColor="#ff00ff" >
  105.         <button id="plResize" image="f_resize.png" hoverImage="f_resize_hov.png" onMouseDown="view.size( 'bottomright' );" cursor="sizenwse"  transparencyColor="#ff00ff" upToolTip="Resize - [use mouse or arrow keys]" onkeydown="viewResizer(event);" />
  106.     </subview>
  107.     <subview id="plBoxCover" left="19" top="33" verticalAlignment="stretch" horizontalAlignment="stretch" width="jscript:view.width-38" height="jscript:view.height-91" backgroundColor="#000000" />
  108.     <subview id="plBox" zIndex="20" left="jscript:plBoxCover.left" top="jscript:plBoxCover.top" verticalAlignment="stretch" horizontalAlignment="stretch" width="jscript:plBoxCover.width" height="jscript:plBoxCover.height" backgroundColor="#000000" >
  109.         <playlist id="plFrame" width="jscript:plBox.width" height="jscript:plBox.height"
  110.             backgroundColor="#3960b0" foregroundcolor="#ffffff" itemPlayingColor="#ffffff" itemPlayingBackgroundColor="#64ac00" 
  111.             disabledItemColor="#556382" columns="name=Name;artist=Artist;album=Album;duration=Time;" playlistItemsVisible="true" dropDownVisible="true" 
  112.             horizontalAlignment="stretch" verticalAlignment="stretch" allowItemEditing="true" columnsVisible="true" allowColumnSorting="true" />
  113.     </subview>
  114. </view>
  115. <!-- visualizations -->
  116. <view id="visView" width="250" height="183" minWidth="250" minHeight="183" resizAble="true" titleBar="false" backgroundColor="none" scriptFile="mc.js"
  117.     onLoad="loadVisPrefs()" onClose="saveVisPrefs()" onKeyPress="viewHotKeys();" onTimer="checkVisColor()" timerInterval="500" >
  118.     <player PlayState_onchange="checkVisualsPlayerState()" OpenState_onchange="checkVisualsPlayerState()" />
  119.     <subview id="vis0" zIndex="5" backgroundImage="f_top_left.png" transparencyColor="#ff00ff" />
  120.     <subview id="vis1" zIndex="4" top="88" verticalAlignment="stretch" backgroundImage="f_left_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  121.     <subview id="vis2" zIndex="5" top="jscript:view.height-92" verticalAlignment="bottom" backgroundImage="f_bot_left.png" transparencyColor="#ff00ff" />
  122.     <subview id="vis3" zIndex="4" left="125" top="jscript:view.height-95" verticalAlignment="bottom" horizontalAlignment="stretch" backgroundImage="f_bot_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  123.     <subview id="vis4" zIndex="5" left="jscript:view.width-121" top="jscript:view.height-95" verticalAlignment="bottom" horizontalAlignment="right" backgroundImage="f_bot_right.png" transparencyColor="#ff00ff" />
  124.     <subview id="vis5" zIndex="4" left="jscript:view.width-121" top="83" verticalAlignment="stretch" horizontalAlignment="right" backgroundImage="f_right_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  125.     <subview id="vis6" zIndex="5" left="jscript:view.width-121" horizontalAlignment="right" backgroundImage="f_top_right.png" transparencyColor="#ff00ff" />
  126.     <subview id="vis7" zIndex="4" left="125" horizontalAlignment="stretch" backgroundImage="f_top_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  127.     <subview zIndex="20" left="jscript:view.width-65" top="6" horizontalAlignment="right" backgroundImage="f_close_no.png" >
  128.         <button id="visClose" image="f_close_no.png" hoverImage="f_close_hov.png" downImage="f_close_do.png" onClick="closeView('visViewer');" upToolTip="Close" />
  129.     </subview>
  130.     <subview zIndex="20" top="jscript:view.height-54" verticalAlignment="bottom" horizontalAlignment="center" backgroundImage="vis_set_no.png" transparencyColor="#ff00ff" >
  131.         <buttongroup id="visSetButtons" image="vis_set_no.png" hoverImage="vis_set_hov.png" downImage="vis_set_do.png" mappingImage="vis_set_map.png" onClick="theme.playSound('click.wav');" >
  132.             <buttonelement mappingColor="#0000ff" upToolTip="Previous Visualization" onClick="visEffects.previous();" />
  133.             <buttonelement mappingColor="#0033ff" upToolTip="Next Visualization" onClick="visEffects.next();" />
  134.         </buttongroup>
  135.     </subview>
  136.     <subview zIndex="20" left="jscript:view.width-21" top="jscript:view.height-56" verticalAlignment="bottom" horizontalAlignment="right" backgroundImage="f_resize.png" transparencyColor="#ff00ff" >
  137.         <button id="visResize" image="f_resize.png" hoverImage="f_resize_hov.png" onMouseDown="view.size( 'bottomright' );" cursor="sizenwse"  transparencyColor="#ff00ff" upToolTip="Resize - [use mouse or arrow keys]" onkeydown="viewResizer(event);" />
  138.     </subview>
  139.     <subview id="visMaskCover" left="19" top="33" verticalAlignment="stretch" horizontalAlignment="stretch" width="jscript:view.width-38" height="jscript:view.height-91" backgroundColor="#000000" />
  140.     <subview id="visMask" zIndex="20" left="jscript:visMaskCover.left" top="jscript:visMaskCover.top" verticalAlignment="stretch" horizontalAlignment="stretch" width="jscript:visMaskCover.width" height="jscript:visMaskCover.height" backgroundColor="#000000" >
  141.         <effects zIndex="25" id="visEffects" left="0" top="0" width="jscript:visMask.width" height="jscript:visMask.height" windowed="true" 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>
  144. </view>
  145. <!-- video -->
  146. <view id="videoView" width="250" height="183" minWidth="250" minHeight="213" resizAble="true" titleBar="false" backgroundColor="none" scriptFile="mc.js"
  147.     onLoad="loadVidPrefs()" onClose="saveVidPrefs()" onKeyPress="viewHotKeys();" onTimer="checkVidColor()" timerInterval="500" >
  148.     <player OpenState_onchange="checkVideoPlayerState();" PlayState_onchange="checkVideoPlayerState();" />
  149.     <subview id="vid0" zIndex="5" backgroundImage="f_top_left.png" transparencyColor="#ff00ff" />
  150.     <subview id="vid1" zIndex="4" top="88" verticalAlignment="stretch" backgroundImage="f_left_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  151.     <subview id="vid2" zIndex="5" top="jscript:view.height-92" verticalAlignment="bottom" backgroundImage="f_bot_left.png" transparencyColor="#ff00ff" />
  152.     <subview id="vid3" zIndex="4" left="125" top="jscript:view.height-95" verticalAlignment="bottom" horizontalAlignment="stretch" backgroundImage="f_bot_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  153.     <subview id="vid4" zIndex="5" left="jscript:view.width-121" top="jscript:view.height-95" verticalAlignment="bottom" horizontalAlignment="right" backgroundImage="f_bot_right.png" transparencyColor="#ff00ff" />
  154.     <subview id="vid5" zIndex="4" left="jscript:view.width-121" top="83" verticalAlignment="stretch" horizontalAlignment="right" backgroundImage="f_right_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  155.     <subview id="vid6" zIndex="5" left="jscript:view.width-121" horizontalAlignment="right" backgroundImage="f_top_right.png" transparencyColor="#ff00ff" />
  156.     <subview id="vid7" zIndex="4" left="125" horizontalAlignment="stretch" backgroundImage="f_top_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  157.     <subview zIndex="20" left="38" top="6" backgroundImage="vid_zoom_no.png" >
  158.         <button id="vidZoom" image="vid_zoom_no.png" hoverImage="vid_zoom_hov.png" downImage="vid_zoom_do.png" onClick="theme.playSound('click.wav');videoZoom();" />
  159.     </subview>
  160.     <subview zIndex="20" left="jscript:view.width-65" top="6" horizontalAlignment="right" backgroundImage="f_close_no.png" >
  161.         <button id="vidClose" image="f_close_no.png" hoverImage="f_close_hov.png" downImage="f_close_do.png" onClick="closeView('vidViewer');" upToolTip="Close" />
  162.     </subview>
  163.     <subview zIndex="20" top="jscript:view.height-48" verticalAlignment="bottom" horizontalAlignment="center" backgroundImage="vid_drawer_open_no.png" >
  164.         <button id="vidDrawerButton" image="vid_drawer_open_no.png" hoverImage="vid_drawer_open_hov.png" downImage="vid_drawer_open_do.png" hoverDownImage="vid_drawer_open_do_hov.png" onClick="toggleVidDrawer();theme.playSound('drawer.wav');" upToolTip="Show Video Settings" downToolTip="Hide Video Settings" sticky="true" />
  165.     </subview>
  166.     <subview id="vidDrawer" zIndex="1" top="jscript:view.height-64" verticalAlignment="bottom" horizontalAlignment="center" backgroundImage="vid_drawer_back.png" transparencyColor="#ff00ff" onEndMove="checkVidDrawer()" >
  167.         <subview id="vidDrawerFrame" zIndex="2" width="jscript:vidDrawer.width" height="jscript:vidDrawer.height" >
  168.             <videosettings id="vidset" enabled="true" />
  169.             <slider id="hue" left="12" top="5" width="40" height="13" toolTip="Hue" borderSize="5" direction="horizontal" slide="false" 
  170.             thumbImage="vid_thumb.png" min="-127" max="127" value="wmpprop:vidset.hue" value_onchange="vidset.hue=value;" 
  171.             transparencyColor="#ff00ff" />
  172.              <button left="12" top="19" image="shim.png" onClick="vidset.hue=0;theme.playSound('click.wav');" upToolTip="Reset Hue" cursor="hand" /> 
  173.             <slider id="saturation" left="58" top="5" width="40" height="13" toolTip="Saturation" borderSize="5" direction="horizontal" slide="false" 
  174.             thumbImage="vid_thumb.png" min="-127" max="127" value="wmpprop:vidset.saturation" value_onchange="vidset.saturation=value;" 
  175.             transparencyColor="#ff00ff" />
  176.              <button left="58" top="19" image="shim.png" onClick="vidset.saturation=0;theme.playSound('click.wav');" upToolTip="Reset Saturation" cursor="hand" />
  177.             <slider id="brightness" left="103" top="5" width="40" height="13" toolTip="Brightness" borderSize="5" direction="horizontal" slide="false" 
  178.             thumbImage="vid_thumb.png" min="-127" max="127" value="wmpprop:vidset.brightness" value_onchange="vidset.brightness=value;" 
  179.             transparencyColor="#ff00ff" />
  180.             <button left="103" top="19" image="shim.png" onClick="vidset.brightness=0;theme.playSound('click.wav');" upToolTip="Reset Brightness" cursor="hand" />
  181.             <slider id="contrast" left="149" top="5" width="40" height="13" toolTip="Contrast" borderSize="5" direction="horizontal" slide="false" 
  182.             thumbImage="vid_thumb.png" min="-127" max="127" value="wmpprop:vidset.contrast" value_onchange="vidset.contrast=value;" 
  183.             transparencyColor="#ff00ff" />
  184.              <button left="149" top="19" image="shim.png" onClick="vidset.contrast=0;theme.playSound('click.wav');" upToolTip="Reset Contrast" cursor="hand" />
  185.         </subview>
  186.     </subview>
  187.     <subview zIndex="20" left="jscript:view.width-21" top="jscript:view.height-56" verticalAlignment="bottom" horizontalAlignment="right" backgroundImage="f_resize.png" transparencyColor="#ff00ff" >
  188.         <button id="vidResize" image="f_resize.png" hoverImage="f_resize_hov.png" onMouseDown="view.size( 'bottomright' );saveVidSize()" cursor="sizenwse"  transparencyColor="#ff00ff" upToolTip="Resize - [use mouse or arrow keys]" onkeydown="viewResizer(event);saveVidSize()" />
  189.     </subview>
  190.     <subview id="vidBoxCover" zIndex="1" left="19" top="33" verticalAlignment="stretch" horizontalAlignment="stretch" width="jscript:view.width-38" height="jscript:view.height-91" backgroundColor="#000000" />
  191.     <subview id="vidBackBrand" zIndex="10" left="19" top="33" backgroundImage="video_back.jpg" />
  192.     <subview id="videoBox" zIndex="20" left="jscript:vidBoxCover.left" top="jscript:vidBoxCover.top" verticalAlignment="stretch" horizontalAlignment="stretch" width="jscript:vidBoxCover.width" height="jscript:vidBoxCover.height" backgroundColor="#000000" >
  193.         <video zIndex="8" id="videoWin" windowless="false" width="jscript:videoBox.width" height="jscript:videoBox.height" 
  194.             horizontalAlignment="stretch" verticalAlignment="stretch" onvideostart="checkVideoPlayerState();"  backgroundcolor="black"  onvideoend="checkVideoPlayerState();"
  195.             fullScreen="true" maintainAspectRatio="true" stretchToFit="true" shrinkToFit="true"
  196.             tabstop="false"/>
  197.     </subview>
  198. </view>
  199. <!-- info / content mode -->
  200. <view id="infoView" width="250" height="183" minWidth="388" minHeight="268" resizAble="true" titleBar="false" backgroundColor="none" scriptFile="mc.js"
  201.     onLoad="loadInfoPrefs();" onKeyPress="viewHotKeys();" onTimer="checkInfoColor()" timerInterval="500" >
  202.     <subview id="info0" zIndex="5" backgroundImage="f_top_left.png" transparencyColor="#ff00ff" />
  203.     <subview id="info1" zIndex="4" top="88" verticalAlignment="stretch" backgroundImage="f_left_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  204.     <subview id="info2" zIndex="5" top="jscript:view.height-92" verticalAlignment="bottom" backgroundImage="f_bot_left.png" transparencyColor="#ff00ff" />
  205.     <subview id="info3" zIndex="4" left="125" top="jscript:view.height-95" verticalAlignment="bottom" horizontalAlignment="stretch" backgroundImage="f_bot_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  206.     <subview id="info4" zIndex="5" left="jscript:view.width-121" top="jscript:view.height-95" verticalAlignment="bottom" horizontalAlignment="right" backgroundImage="f_bot_right.png" transparencyColor="#ff00ff" />
  207.     <subview id="info5" zIndex="4" left="jscript:view.width-121" top="83" verticalAlignment="stretch" horizontalAlignment="right" backgroundImage="f_right_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  208.     <subview id="info6" zIndex="5" left="jscript:view.width-121" horizontalAlignment="right" backgroundImage="f_top_right.png" transparencyColor="#ff00ff" />
  209.     <subview id="info7" zIndex="4" left="125" horizontalAlignment="stretch" backgroundImage="f_top_s.png" backgroundTiled="true" transparencyColor="#ff00ff" />
  210.     <subview zIndex="20" left="jscript:view.width-65" top="6" horizontalAlignment="right" backgroundImage="f_close_no.png" >
  211.         <button id="infoClose" image="f_close_no.png" hoverImage="f_close_hov.png" downImage="f_close_do.png" onClick="closeView('infoViewer');" upToolTip="Close" />
  212.     </subview>
  213. <!-- info mode // alpha blend version -->
  214.     <subview id="menuBack" zIndex="20" left="18" top="33" backgroundImage="c_back.jpg" >
  215.         <buttongroup left="278" top="150" image="c_nav_no.png" hoverImage="c_nav_hov.png" downImage="c_nav_do.png" disabledImage="c_nav_dis.png" mappingImage="c_nav_map.png" >
  216.             <buttonelement mappingColor="#0000ff" enabled="false" />
  217.             <buttonelement mappingColor="#0066ff" upToolTip="Next" onClick="showInfo('true','true',1);theme.playSound('drawer.wav');" cursor="hand" />
  218.         </buttongroup>
  219.     </subview>
  220. <!-- infosub -->
  221.     <subview id="infoSub" zIndex="20" left="jscript:menuBack.left" top="jscript:menuBack.top" backgroundImage="" width="jscript:menuBack.width" height="jscript:menuBack.height" onEndAlphaBlend="endAlphaBlend()" />
  222. <!-- nav -->
  223.     <subview id="infoMenuBack" zIndex="22" left="jscript:menuBack.left+278" top="jscript:menuBack.top+150" backgroundImage="c_nav_map_back.png" visible="false" transparencyColor="#ff00ff" >
  224.         <buttongroup image="c_nav_no.png" hoverImage="c_nav_hov.png" downImage="c_nav_do.png" disabledImage="c_nav_dis.png" mappingImage="c_nav_map_back.png" transparencyColor="#ff00ff" >
  225.             <buttonelement mappingColor="#0000ff" onClick="showInfo('false','false',0);theme.playSound('drawer.wav');" upToolTip="Previous" cursor="hand"  />
  226.             <buttonelement mappingColor="#0066ff" enabled="false" />
  227.         </buttongroup>
  228.     </subview>
  229.     <subview id="infoNavSub" zIndex="20" left="jscript:menuBack.left+278" top="jscript:menuBack.top+150" backgroundImage="c_nav_map.png" visible="false" transparencyColor="#ff00ff" >
  230.         <buttongroup image="c_nav_no.png" hoverImage="c_nav_hov.png" downImage="c_nav_do.png" disabledImage="c_nav_dis.png" mappingImage="c_nav_map.png" transparencyColor="#ff00ff" onClick="theme.playSound('drawer.wav');">
  231.             <buttonelement mappingColor="#0000ff" id="navPrev" upToolTip="Previous" onClick="infoNavPrev(navGo--)" cursor="hand" />
  232.             <buttonelement mappingColor="#0066ff" id="navNext" upToolTip="Next" onClick="infoNavNext(navGo++)" cursor="hand" />
  233.         </buttongroup>
  234.     </subview>
  235.     <subview id="infoLinks" zIndex="20" left="jscript:menuBack.left+182" top="jscript:menuBack.top+36" backgroundImage="c_web_no.png" visible="false" >
  236.         <buttongroup image="c_web_no.png" hoverImage="c_web_hov.png" downImage="c_web_no.png" mappingImage="c_web_map.png" cursor="hand" onClick="theme.playSound('drawer.wav');" >
  237.             <buttonelement mappingColor="#0000ff" upToolTip="Get Product Info on Windows XP Media Center Edition" onClick="jscript:player.launchURL('http://www.microsoft.com/windowsxp/mediacenter/default.asp')"  />
  238.             <buttonelement mappingColor="#0033ff" upToolTip="Try The Interactive Product Demo" onClick="jscript:player.launchURL('http://www.microsoft.com/windowsxp/wmx/mcedemo.asp')"  />
  239.             <buttonelement mappingColor="#0066ff" upToolTip="Find Out Where to Buy" onClick="jscript:player.launchURL('http://www.microsoft.com/windowsxp/mediacenter/howtobuy/default.asp')" />
  240.         </buttongroup>
  241.     </subview>
  242. </view>
  243. </theme>