<?xml version="1.0"?>
<xwidget>
	<!-- widget info -->
	<info>
		<name>vista玻璃播放器控制</name>
		<version>100</version>
		<author>XP侧边栏</author>
		<authorLogo>logo.gif</authorLogo>
		<copyright>2007</copyright>
		<category2>4</category2>
		<minimumVersion>200</minimumVersion>
		<description>支持控制千千静听、Wmplayer、Foobar2000、Winamp等播放器的玻璃透明小工具。支持直接拖放歌曲文件到小工具上来播放</description>
		<showIcon>1</showIcon>
		<scriptFile>script.js</scriptFile>
		<scriptLanguage>JavaScript</scriptLanguage>
		<updateDateTime>2007-07-16 14:58:14</updateDateTime>
		<GUID>{44F20967-06AD-4EB2-8EE5-3E67DE7A273F}</GUID>
		<tag>播放器控制</tag>
		<linkText>XP侧边栏</linkText>
		<linkUrl>http://www.duisou.com</linkUrl>
	</info>
	<!-- widget's main window -->
	<window>
		<EnableDockScreenRight>1</EnableDockScreenRight>
		<page name="firstPage" width="174" height="157" bgAlpha="80" bgColor="">
			<item type="image">
				<name>bg</name>
				<src>bg.png</src>
				<alpha>100</alpha>
				<width>174</width>
				<height>157</height>
			</item>
			<item type="button">
				<name>btplaypause</name>
				<comb3in1ImgSrc>button-play.png</comb3in1ImgSrc>
				<left>49</left>
				<top>6</top>
				<OnClick>button0OnClick</OnClick>
				<tooltip>开始播放</tooltip>
				<normalImgSrc></normalImgSrc>
			</item>
			<item type="button">
				<name>btinfo</name>
				<comb3in1ImgSrc>btnInfo.png</comb3in1ImgSrc>
				<left>5</left>
				<top>70</top>
				<OnClick>btinfoOnClick</OnClick>
				<tooltip>显示\隐藏播放器</tooltip>
			</item>
			<item type="button">
				<name>btprev</name>
				<comb3in1ImgSrc>button-prev.png</comb3in1ImgSrc>
				<left>24</left>
				<top>73</top>
				<visible>1</visible>
				<OnClick>btprevOnClick</OnClick>
				<tooltip>上一首</tooltip>
			</item>
			<item type="button">
				<name>btnext</name>
				<comb3in1ImgSrc>button-next.png</comb3in1ImgSrc>
				<left>115</left>
				<top>73</top>
				<visible>1</visible>
				<OnClick>btnextOnClick</OnClick>
				<tooltip>下一首</tooltip>
			</item>
			<item type="button">
				<name>btstop</name>
				<comb3in1ImgSrc>Stop.png</comb3in1ImgSrc>
				<left>61</left>
				<top>89</top>
				<OnClick>btstopOnClick</OnClick>
				<tooltip>停止</tooltip>
				<normalImgSrc></normalImgSrc>
			</item>
		</page>
		<OnDock>widgetOnDock</OnDock>
		<OnUnDock>widgetOnUnDock</OnUnDock>
		<OnDBClick>btinfoOnClick</OnDBClick>
		<OnInit>widgetOnInit</OnInit>
		<OnClose>widgetOnClose</OnClose>
		<DockScreenRightOffset>0</DockScreenRightOffset>
		<OnDropFile>widgetOnDropFile</OnDropFile>
	</window>
	<!-- widget's timers setting -->
	<timers/>
	<!-- widget's menus setting -->
	<menus>
		<nMenu1 caption="显示/隐藏播放器" visible="1" onclick="btinfoOnClick"/>
		<nMenu2 caption="-" visible="1"/>
		<nMenu3 caption="播放\暂停" visible="1" onclick="button0OnClick"/>
		<nMenu4 caption="下一首" visible="1" onclick="btnextOnClick"/>
		<nMenu5 caption="上一首" visible="1" onclick="btprevOnClick"/>
		<nMenu6 visible="1" caption="-"/>
		<nMenu7 visible="1" caption="打开音乐文件..." onclick="nMenu7OnClick"/>
	</menus>
	<!-- widget's  Setting Window -->
	<optionsWindow hideDefaultSettings="0" DefaultOptionPageIndex="2" OnAllSettingsSaved="OnAllSettingsSaved">
		<optionPage caption="窗口"/>
		<optionPage caption="播放器控制">
			<item type="combobox" name="player">
				<caption>播放器选择</caption>
				<defaultValue>wmplayer</defaultValue>
				<optionList>Windows Media Player
TTplayer千千静听
Foobar2000
Winamp
</optionList>
				<optionValueList>wmplayer
ttplayer
foobar
winamp
</optionValueList>
				<description>选择要控制的播放器的名称</description>
			</item>
			<item type="filepath" name="path">
				<caption>播放器主程序位置</caption>
				<defaultValue>c:\Program Files\Windows Media Player\wmplayer.exe</defaultValue>
				<extension>播放器主程序文件 (*.exe)|*.exe</extension>
				<description>请设置需要控制的对应播放器的主程序所在位置</description>
			</item>
		</optionPage>
	</optionsWindow>
	<!-- widget's html panel -->
	<htmlPanel/>
	<!-- widget's wmp panel -->
	<wmpPanel/>
	<!-- widget's float tool panel -->
	<toolFloatPanel>
		<top>0</top>
		<left>5</left>
	</toolFloatPanel>
	<flashPanel/><ppsPanel/></xwidget>
