home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 April / Chip_2003-04_cd1.bin / zkuste / wmakeup / download / Tierce.wmz / tierce.wms < prev   
Encoding:
Text File  |  2002-12-03  |  18.3 KB  |  173 lines

  1. <!--  Essorant - 2002             -->
  2. <!--  http://essorant.ipfox.com/  -->
  3. <!--  essorant@btinternet.com     -->
  4.  
  5. <theme author="Essorant" authorVersion="1" copyright="⌐ Tim Dagger 2002" title="Tierce">
  6.  
  7. <!-- start main body view -->
  8.  
  9. <view id="mainview" width="345" height="157" backgroundColor="none" titleBar="false" scriptFile="tierce.js;res://wmploc.dll/RT_TEXT/#132;" onLoad="init();">
  10.  
  11. <PLAYER playState_onchange="JScript:state_change();" status_onChange="text_upd();">
  12.   <CONTROLS currentPosition_onchange="pos_slider.value = player.controls.currentPosition;"/>
  13. </PLAYER>
  14.  
  15. <VIDEO visible="false" enabled="true" onVideoStart="JScript:vid_start();" onVideoEnd="JScript:vid_end();"/>
  16.  
  17. <!-- body bg -->
  18. <subview zIndex="0" id="body_bg" left="0" top="0" visible="true" backgroundImage="tierce_body_main.bmp" transparencyColor="#ff00ff">
  19. </subview>
  20.  
  21. <!-- vis bg -->
  22. <subview zIndex="1" id="vis_bg" left="0" top="0" visible="false" backgroundImage="tierce_body_vis.bmp" transparencyColor="#ff00ff">
  23. </subview>
  24.  
  25. <!-- vis -->
  26. <subview zIndex="2" id="vis" left="195" top="13" width="140" height="131" visible="wmpprop:viseffects.visible" backgroundImage="tierce_vis_mask.bmp" transparencyColor="#ff00ff">
  27.   <effects id="viseffects" zIndex="2" top="0" left="0" width="140" height="131" visible="false" onClick="jscript:viseffects.next();" upToolTip="click for next vis"/>
  28. </subview>
  29.  
  30. <!-- vis mask -->
  31. <subview zIndex="3" id="visfg" left="183" top="3" visible="false" backgroundImage="tierce_vis_fg.bmp" transparencyColor="#FF00FF" upToolTip="click for next vis">
  32. </subview>
  33.  
  34. <!-- buttons -->
  35. <subview zIndex="4" id="mainbody" left="0" top="0" visible="true" backgroundImage="tierce_button_mask.bmp" transparencyColor="#ff00ff">
  36.   <button id="eqbutton" left="166" top="93" image="tierce_opt_eq.bmp" hoverImage="tierce_opt_eq_mo.bmp" downImage="tierce_opt_eq_press.bmp" onClick="jscript:openeq();" upToolTip="show/hide equaliser"/>
  37.   <button id="plbutton" left="176" top="75" image="tierce_opt_pl.bmp" hoverImage="tierce_opt_pl_mo.bmp" downImage="tierce_opt_pl_press.bmp" onClick="jscript:openpl();" upToolTip="show/hide playlist"/>
  38.   <button id="min" left="176" top="6" image="tierce_win_min.bmp" hoverImage="tierce_win_min_mo.bmp" downImage="tierce_win_min_press.bmp" upToolTip="minimize" onClick="jscript:view.minimize();"/>
  39.   <button id="fullmode" left="190" top="16" image="tierce_win_max.bmp" hoverImage="tierce_win_max_mo.bmp" downImage="tierce_win_max_press.bmp" upToolTip="full mode" onClick="jscript:view.returnToMediaCenter();"/>
  40.   <button id="close" zIndex="2" left="200" top="29" image="tierce_win_close.bmp" hoverImage="tierce_win_close_mo.bmp" downImage="tierce_win_close_press.bmp" upToolTip="close" onClick="jscript:view.close();"/>
  41.   <button id="volup" left="187" top="42" image="tierce_vol_up.bmp" hoverImage="tierce_vol_up_mo.bmp" downImage="tierce_vol_up_press.bmp" upToolTip="volume up" onClick="jscript:vol_up();" enabled="jscript:chkDecVol();" />
  42.   <button id="voldn" left="181" top="59" image="tierce_vol_dn.bmp" hoverImage="tierce_vol_dn_mo.bmp" downImage="tierce_vol_dn_press.bmp" upToolTip="volume down" onClick="jscript:vol_dn();" enabled="jscript:chkIncVol();" />
  43.   <text id="metadata" zIndex="1" left="60" top="29" width="95" height="12" value="JScript:text_upd();" textwidth_onchange="JScript:scrolling=(textwidth>width);" fontSize="7" fontSmoothing="true" fontFace="Tahoma" foregroundColor="#B5F3FF" scrollingDelay="30" scrollingAmount="1" justification="left" fontStyle="normal" scrolling="true" />
  44. </subview>
  45.  
  46. <!-- controls -->
  47. <subview zIndex="5" left="58" top="48" backgroundImage="tierce_control_bg.bmp" transparencyColor="#ff00ff">
  48.   <playbutton left="26" top="4" image="tierce_control_play.bmp" hoverImage="tierce_control_play_mo.bmp" downImage="tierce_control_play_press.bmp" onclick="jscript:player.controls.play(); jscript:toggle_time();"/>
  49.   <pausebutton left="26" top="4" image="tierce_control_pause.bmp" hoverImage="tierce_control_pause_mo.bmp" downImage="tierce_control_pause_press.bmp" visible="wmpenabled:player.controls.pause" onclick="jscript:player.controls.pause(); jscript:toggle_time();" />
  50.   <stopbutton left="38" top="56" image="tierce_control_stop.bmp" hoverImage="tierce_control_stop_mo.bmp" downImage="tierce_control_stop_press.bmp" onclick="jscript:player.controls.stop(); jscript:toggle_time();"/>    
  51.   <prevbutton id="prev" left="1" top="1" image="tierce_control_prev.bmp" hoverImage="tierce_control_prev_mo.bmp" downImage="tierce_control_prev_press.bmp" onclick="jscript:player.controls.previous()" />
  52.   <nextbutton id="next" left="75" top="1" image="tierce_control_next.bmp" hoverImage="tierce_control_next_mo.bmp" downImage="tierce_control_next_press.bmp" onclick="jscript:player.controls.next()" />
  53.   <button id="visbutton" left="12" top="37" image="tierce_opt_vis.bmp" hoverImage="tierce_opt_vis_mo.bmp" downImage="tierce_opt_vis_press.bmp" onClick="jscript:toggle_vis();" visible="true" upToolTip="toggle vis on/off"/>
  54.   <button id="open" left="72" top="37" image="tierce_opt_open.bmp" hoverImage="tierce_opt_open_mo.bmp" downImage="tierce_opt_open_press.bmp" onclick="JScript:player.URL=theme.openDialog('FILE_OPEN','FILES_ALL');"  upToolTip="open files"/>
  55.   <text id="time" zIndex="5" left="27" top="14" width="50" visible="false" fontSize="7" scrolling="false" fontSmoothing="false" fontFace="Tahoma" foregroundColor="#3A9FD0" fontStyle="normal" justification="center" value="wmpprop:player.controls.currentPositionString" scrolling="false" />
  56. </subview>
  57.  
  58. <!-- shuffle / repeat -->
  59. <subview zIndex="6" left="141" top="113" backgroundImage="tierce_trk_bg.bmp" transparencyColor="#ff00ff">
  60.   <button id="trk_bg2" left="0" top="0" visible="false" zIndex="0" image="tierce_trk_bg2.bmp"/>
  61.   <button id="shuffle" left="0" top="16" zIndex="1" image="tierce_trk_shuff.bmp" hoverImage="tierce_trk_shuff_mo.bmp" downImage="tierce_trk_shuff_press.bmp" sticky="true" upTooltip="shuffle on" downTooltip="shuffle off" down="jscript:player.settings.getMode('shuffle');" onClick="player.settings.setMode('shuffle',down);"/>
  62.   <button id="repeat" left="11" top="0" zIndex="1" image="tierce_trk_rep.bmp" hoverImage="tierce_trk_rep_mo.bmp" downImage="tierce_trk_rep_press.bmp" sticky="true" upTooltip="repeat on" downTooltip="repeat off" down="jscript:player.settings.getMode('loop');" onClick="player.settings.setMode('loop',down);"/>
  63. </subview>
  64.  
  65.  
  66. </view>
  67.  
  68. <!-- end main body view -->
  69.  
  70.  
  71.  
  72. <!-- start video body view -->
  73.  
  74. <VIEW
  75.     id="body_video" resizable="true" titleBar="false" backgroundColor="none"
  76.     minWidth="350" minHeight="311" width="350" height="311"
  77.     scriptFile="tierce.js;res://wmploc.dll/RT_TEXT/#132;"
  78.     onLoad="OnLoadVideo();"    onClose="OnCloseVideo();"
  79. >
  80.  
  81. <player OpenState_onchange="SnapToVideo();"></player>
  82.  
  83. <!-- vid body -->
  84. <subview id="topleft" zIndex="1" backgroundImage="tierce_vid_tl.bmp" transparencyColor="#FF00FF" top="0" left="0" verticalAlignment="top" horizontalAlignment="left"/>
  85. <subview id="topstretch" zIndex="1" backgroundImage="tierce_vid_top.bmp" transparencyColor="#FF00FF" top="0" left="13" verticalAlignment="top" horizontalAlignment="stretch" backgroundTiled="true">
  86.   <button id="vid_label" zIndex="2" top="5" left="0" image="tierce_vid_label.bmp"/>
  87. </subview>
  88. <subview id="topright" zIndex="1" backgroundImage="tierce_vid_tr.bmp" transparencyColor="#FF00FF" top="0" left="jscript:view.width-37;" verticalAlignment="top" horizontalAlignment="right">
  89.   <button id="vid_close" zIndex="2" width="12" height="13" top="2" left="10" image="tierce_vid_close.bmp" hoverImage="tierce_vid_close_mo.bmp" downImage="tierce_vid_close.bmp" onClick="jscript:if(vid_check()) {player.controls.stop();};view.close();" upTooltip="close"/>
  90. </subview>
  91. <subview id="leftstretch" zIndex="1" backgroundImage="tierce_vid_left.bmp" transparencyColor="#FF00FF" top="24" left="0" verticalAlignment="stretch" horizontalAlignment="stretch" backgroundTiled="true"/>
  92. <subview id="rightstretch" zIndex="1" backgroundImage="tierce_vid_right.bmp" transparencyColor="#FF00FF" top="24" left="jscript:view.width-37;" verticalAlignment="stretch" horizontalAlignment="right" backgroundTiled="true"/>
  93. <subview id="bottomleft" zIndex="1" backgroundImage="tierce_vid_bl.bmp" transparencyColor="#FF00FF" top="jscript:view.height-13;" left="0" verticalAlignment="bottom" horizontalAlignment="left"/>
  94. <subview id="bottomstretch" zIndex="1" backgroundImage="tierce_vid_bottom.bmp" transparencyColor="#FF00FF" top="jscript:view.height-13;" left="13" verticalAlignment="bottom" horizontalAlignment="stretch" backgroundTiled="true"/>
  95. <subview id="bottomright" zIndex="1" backgroundImage="tierce_vid_br.bmp" transparencyColor="#FF00FF" top="jscript:view.height-13;" left="jscript:view.width-37;" verticalAlignment="bottom" horizontalAlignment="right">
  96.   <button id="bottomleft_resize" uptooltip="Resize Screen" zindex="8" top="2" left="26" width="9" height="9"  image="tierce_vid_resize.bmp" hoverImage="tierce_vid_resize_mo.bmp" downImage="tierce_vid_resize.bmp"  onmousedown="AllowResizeVideo();view.size( 'bottomright' );g_fUserHasSized=true;" cursor="resize.cur"/>
  97. </subview>
  98.  
  99. <!-- vid play area -->
  100. <subview id="videoRgn" zIndex="4" top="24" left="13" width="jscript:view.width-26;" height="jscript:view.height-37;" horizontalAlignment="stretch" verticalAlignment="stretch" backgroundColor="#000000">
  101.   <WMPVIDEO id="vid" zIndex="1" top="3" left="3" width="jscript:videoRgn.width;" height="jscript:videoRgn.height;" horizontalAlignment="stretch" verticalAlignment="stretch" backgroundColor="#000000" windowless="false" maintainAspectRatio="true" visible="true" fullscreen="false" onClick="jscript:ZoomVideo();" cursor="hand"/>
  102. </subview>
  103. </VIEW>
  104.  
  105. <!-- end video body view -->
  106.  
  107.  
  108.  
  109. <!-- start playlist view -->
  110.  
  111. <VIEW id="body_pl" titleBar="false" backgroundColor="none" minWidth="350" minHeight="311" width="350" height="311" resizAble="true" scriptFile="tierce.js;res://wmploc.dll/RT_TEXT/#132;">
  112.  
  113. <!-- pl body -->
  114. <subview id="pltopleft" zIndex="1" backgroundImage="tierce_vid_tl.bmp" transparencyColor="#FF00FF" top="0" left="0" verticalAlignment="top" horizontalAlignment="left"/>
  115. <subview id="pltopstretch" zIndex="1" backgroundImage="tierce_pl_top.bmp" transparencyColor="#FF00FF" top="0" left="13" verticalAlignment="top" horizontalAlignment="stretch" backgroundTiled="true">
  116.   <button id="pl_label" zIndex="2" top="5" left="0" image="tierce_pl_label.bmp"/>
  117. </subview>
  118. <subview id="pltopright" zIndex="1" backgroundImage="tierce_vid_tr.bmp" transparencyColor="#FF00FF" top="0" left="jscript:view.width-37;" verticalAlignment="top" horizontalAlignment="right">
  119.   <button id="pl_close" zIndex="2" width="12" height="13" top="2" left="10" image="tierce_vid_close.bmp" hoverImage="tierce_vid_close_mo.bmp" downImage="tierce_vid_close.bmp" onClick="jscript:if(vid_check()) {player.controls.stop();};view.close();" upTooltip="close"/>
  120. </subview>
  121. <subview id="plleftstretch" zIndex="1" backgroundImage="tierce_vid_left.bmp" transparencyColor="#FF00FF" top="24" left="0" verticalAlignment="stretch" horizontalAlignment="stretch" backgroundTiled="true"/>
  122. <subview id="plrightstretch" zIndex="1" backgroundImage="tierce_vid_right.bmp" transparencyColor="#FF00FF" top="24" left="jscript:view.width-37;" verticalAlignment="stretch" horizontalAlignment="right" backgroundTiled="true"/>
  123. <subview id="plbottomleft" zIndex="1" backgroundImage="tierce_vid_bl.bmp" transparencyColor="#FF00FF" top="jscript:view.height-13;" left="0" verticalAlignment="bottom" horizontalAlignment="left"/>
  124. <subview id="plbottomstretch" zIndex="1" backgroundImage="tierce_vid_bottom.bmp" transparencyColor="#FF00FF" top="jscript:view.height-13;" left="13" verticalAlignment="bottom" horizontalAlignment="stretch" backgroundTiled="true"/>
  125. <subview id="plbottomright" zIndex="1" backgroundImage="tierce_vid_br.bmp" transparencyColor="#FF00FF" top="jscript:view.height-13;" left="jscript:view.width-37;" verticalAlignment="bottom" horizontalAlignment="right">
  126.   <button id="plbottomleft_resize" uptooltip="Resize Screen" zindex="8" top="2" left="26" width="9" height="9" image="tierce_vid_resize.bmp" hoverImage="tierce_vid_resize_mo.bmp" downImage="tierce_vid_resize.bmp" onMouseDown="view.size('bottomright');" cursor="resize.cur"/>
  127. </subview>
  128.  
  129.  
  130. <!-- playlist -->
  131. <subview id="pl_bg" zIndex="4" top="24" left="13" width="jscript:view.width-26;" height="jscript:view.height-37;" horizontalAlignment="stretch" verticalAlignment="stretch" backgroundColor="#000000">
  132.   <playlist id="pl" width="jscript:pl_bg.width" height="jscript:pl_bg.height"
  133.   backgroundColor="#333741" foregroundcolor="#B3B5BC" itemPlayingColor="#00E0F8" itemPlayingBackgroundColor="#005D7F" 
  134.   disabledItemColor="#556382" columns="name=Name;artist=Artist;album=Album;duration=Time;" playlistItemsVisible="true" dropDownVisible="true" 
  135.   horizontalAlignment="stretch" verticalAlignment="stretch" allowItemEditing="true" columnsVisible="true" allowColumnSorting="true"
  136.   />
  137. </subview>
  138.  
  139. </VIEW>
  140.  
  141. <!-- end playlist view -->
  142.  
  143.  
  144. <!-- start eq view -->
  145.  
  146. <VIEW id="body_eq" titleBar="false" backgroundColor="none" width="162" height="151" scriptFile="tierce.js;res://wmploc.dll/RT_TEXT/#132;">
  147.  
  148. <subview zIndex="2" id="eq_bg" left="0" top="0" backgroundImage="tierce_body_eq.bmp" visible="true" transparencyColor="#FF00FF">
  149.   <equalizerSettings id="equal" enable="true"></equalizerSettings>                
  150.   <slider id="eq1" borderSize="0" top="23" left="35" height="56" width="2" tiled="false" transparencyColor="#FF00FF" toolTip="32Hz" backgroundimage="tierce_eq_slider_bg.bmp" foregroundimage="tierce_eq_slider_fg.bmp" thumbImage="tierce_eq_slider_button.bmp" slide="false" cursor="system"    min="-16" max="16" value="wmpprop:equal.gainLevel1" value_onchange="equal.gainLevel1=value;" direction="vertical"/>
  151.   <slider id="eq2" borderSize="0" top="23" left="45" height="56" width="2" tiled="false" transparencyColor="#FF00FF" toolTip="64Hz" backgroundimage="tierce_eq_slider_bg.bmp" foregroundimage="tierce_eq_slider_fg.bmp" thumbImage="tierce_eq_slider_button.bmp" slide="false" cursor="system"    min="-16" max="16" value="wmpprop:equal.gainLevel2" value_onchange="equal.gainLevel2=value;" direction="vertical"/>
  152.   <slider id="eq3" borderSize="0" top="23" left="55" height="56" width="2" tiled="false" transparencyColor="#FF00FF" toolTip="125Hz" backgroundimage="tierce_eq_slider_bg.bmp" foregroundimage="tierce_eq_slider_fg.bmp" thumbImage="tierce_eq_slider_button.bmp" slide="false" cursor="system"    min="-16" max="16" value="wmpprop:equal.gainLevel3" value_onchange="equal.gainLevel3=value;" direction="vertical"/>
  153.   <slider id="eq4" borderSize="0" top="23" left="65" height="56" width="2" tiled="false" transparencyColor="#FF00FF" toolTip="250Hz" backgroundimage="tierce_eq_slider_bg.bmp" foregroundimage="tierce_eq_slider_fg.bmp" thumbImage="tierce_eq_slider_button.bmp" slide="false" cursor="system"    min="-16" max="16" value="wmpprop:equal.gainLevel4" value_onchange="equal.gainLevel4=value;" direction="vertical"/>
  154.   <slider id="eq5" borderSize="0" top="23" left="75" height="56" width="2" tiled="false" transparencyColor="#FF00FF" toolTip="500Hz" backgroundimage="tierce_eq_slider_bg.bmp" foregroundimage="tierce_eq_slider_fg.bmp" thumbImage="tierce_eq_slider_button.bmp" slide="false" cursor="system"    min="-16" max="16" value="wmpprop:equal.gainLevel5" value_onchange="equal.gainLevel5=value;" direction="vertical"/>
  155.   <slider id="eq6" borderSize="0" top="23" left="85" height="56" width="2" tiled="false" transparencyColor="#FF00FF" toolTip="1kHz" backgroundimage="tierce_eq_slider_bg.bmp" foregroundimage="tierce_eq_slider_fg.bmp" thumbImage="tierce_eq_slider_button.bmp" slide="false" cursor="system"    min="-16" max="16" value="wmpprop:equal.gainLevel6" value_onchange="equal.gainLevel6=value;" direction="vertical"/>
  156.   <slider id="eq7" borderSize="0" top="23" left="95" height="56" width="2" tiled="false" transparencyColor="#FF00FF" toolTip="2kHz" backgroundimage="tierce_eq_slider_bg.bmp" foregroundimage="tierce_eq_slider_fg.bmp" thumbImage="tierce_eq_slider_button.bmp" slide="false" cursor="system"    min="-16" max="16" value="wmpprop:equal.gainLevel7" value_onchange="equal.gainLevel7=value;" direction="vertical"/>
  157.   <slider id="eq8" borderSize="0" top="23" left="105" height="56" width="2" tiled="false" transparencyColor="#FF00FF" toolTip="4kHz" backgroundimage="tierce_eq_slider_bg.bmp" foregroundimage="tierce_eq_slider_fg.bmp" thumbImage="tierce_eq_slider_button.bmp" slide="false" cursor="system"    min="-16" max="16" value="wmpprop:equal.gainLevel8" value_onchange="equal.gainLevel8=value;" direction="vertical"/>
  158.   <slider id="eq9" borderSize="0" top="23" left="115" height="56" width="2" tiled="false" transparencyColor="#FF00FF" toolTip="8kHz" backgroundimage="tierce_eq_slider_bg.bmp" foregroundimage="tierce_eq_slider_fg.bmp" thumbImage="tierce_eq_slider_button.bmp" slide="false" cursor="system"    min="-16" max="16" value="wmpprop:equal.gainLevel9" value_onchange="equal.gainLevel9=value;" direction="vertical"/>
  159.   <slider id="eq10" borderSize="0" top="23" left="125" height="56" width="2" tiled="false" transparencyColor="#FF00FF" toolTip="16kHz" backgroundimage="tierce_eq_slider_bg.bmp" foregroundimage="tierce_eq_slider_fg.bmp" thumbImage="tierce_eq_slider_button.bmp" slide="false" cursor="system"    min="-16" max="16" value="wmpprop:equal.gainLevel10" value_onchange="equal.gainLevel10=value;" direction="vertical"/>
  160.  
  161.   <button id="eqprev" zIndex="3" left="45" top="87" image="tierce_eq_prev.bmp" hoverImage="tierce_eq_prev_mo.bmp" downImage="tierce_eq_prev_press.bmp" onClick="equal.previousPreset();" visible="true" upToolTip="previous preset"/>
  162.   <button id="eqreset" zIndex="3" left="75" top="102" image="tierce_eq_reset.bmp" hoverImage="tierce_eq_reset_mo.bmp" downImage="tierce_eq_reset_press.bmp" onClick="equal.reset();" visible="true" upToolTip="reset eq"/>
  163.   <button id="eqnext" zIndex="3" left="99" top="87" image="tierce_eq_next.bmp" hoverImage="tierce_eq_next_mo.bmp" downImage="tierce_eq_next_press.bmp" onClick="equal.nextPreset();" visible="true" upToolTip="next preset"/>
  164.   <button id="eqclose" zIndex="3" left="72" top="115" image="tierce_eq_close.bmp" hoverImage="tierce_eq_close_mo.bmp" downImage="tierce_eq_close_press.bmp" onClick="view.close();" visible="true" upToolTip="close"/>
  165.   <text id="eqpre" zIndex="5" left="64" top="90" width="36" fontSize="7" scrolling="false" fontSmoothing="false" fontFace="Tahoma" foregroundColor="#009FE8" fontStyle="normal" justification="center" value="wmpprop:equal.currentPresetTitle" />
  166. </subview>
  167.  
  168. </VIEW>
  169.  
  170. <!-- end eq view -->
  171.  
  172.  
  173. </theme>