<?xml version="1.0"?>
<xwidget>
	<!-- widget info -->
	<info>
		<name>Vista相册</name>
		<version>300</version>
		<author>小恐龙&amp;&amp;鱼鱼软件</author>
		<authorLogo>logo.jpg</authorLogo>
		<copyright>2007</copyright>
		<category>Aero系列</category>
		<minimumVersion>200</minimumVersion>
		<description>模拟Vista外观的桌面相册。滚动显示本机指定文件夹的图片。双击或者鼠标中键滚轮可切换图片。右键菜单支持设置图片为壁纸。</description>
		<showIcon>1</showIcon>
		<scriptFile>script.js</scriptFile>
		<scriptLanguage>JavaScript</scriptLanguage>
		<updateDateTime>2007-04-19 08:41:42</updateDateTime>
		<GUID>{0ED6B230-4261-40BC-A7A2-75E222ACBE89}</GUID>
		<linkText>bbs.cfishsoft.com</linkText>
		<linkUrl>http://bbs.cfishsoft.com/space.php?uid=3453</linkUrl>
		<category2>3</category2>
		<tag>小恐龙系列</tag>
		<updateHistory>2008-1-10  
[!]全面优化代码，速度大幅度提升，图片清晰
[!]优化淡入淡出，几乎不占cpu
[+]增加自动设置壁纸的可选项
[+]右键菜单增加迷你状态切换功能
</updateHistory>
	</info>
	<!-- widget's main window -->
	<window>
		<EnableDockScreenRight>1</EnableDockScreenRight>
		<page name="firstPage" width="360" height="280" bgAlpha="80" bgColor="">
			<item type="image">
				<name>bg</name>
				<src>bg.png</src>
				<width>245</width>
				<height>188</height>
				<stretch>0</stretch>
				<autoSize>1</autoSize>
				<thumbnailMode>0</thumbnailMode>
				<visible>1</visible>
			</item>
			<item type="image">
				<name>imgPic</name>
				<src></src>
				<width>120</width>
				<height>90</height>
				<left>11</left>
				<top>10</top>
				<OnClick></OnClick>
				<autoSize>0</autoSize>
				<center>1</center>
				<stretch>0</stretch>
				<proportional>1</proportional>
				<cursorHandPoint>0</cursorHandPoint>
				<bgColor>0,0,0</bgColor>
				<thumbnailMode>1</thumbnailMode>
				<bgAlpha>100</bgAlpha>
				<OnMouseDown></OnMouseDown>
				<tooltip></tooltip>
				<quality>0</quality>
				<visible>1</visible>
			</item>
			<item type="text">
				<name>imgPicAlpha</name>
				<src></src>
				<width>224</width>
				<height>168</height>
				<left>11</left>
				<top>10</top>
				<OnClick></OnClick>
				<autoSize>0</autoSize>
				<center>1</center>
				<stretch>0</stretch>
				<proportional>1</proportional>
				<cursorHandPoint>0</cursorHandPoint>
				<bgColor>0,0,0</bgColor>
				<thumbnailMode>1</thumbnailMode>
				<bgAlpha>0</bgAlpha>
				<OnMouseDown></OnMouseDown>
				<tooltip></tooltip>
				<visible>1</visible>
				<quality>1</quality>
				<caption></caption>
				<antiAlias>0</antiAlias>
				<alpha>100</alpha>
			</item>
			<item type="image">
				<name>imgBtBg</name>
				<src>bg_sidebar.png</src>
				<width>112</width>
				<height>23</height>
				<left>75</left>
				<top>150</top>
				<visible>0</visible>
				<bgColor></bgColor>
			</item>
			<item type="button">
				<name>btPrev</name>
				<comb3in1ImgSrc>prev.png</comb3in1ImgSrc>
				<bgColor></bgColor>
				<top>78</top>
				<left>13</left>
				<tooltip>上一张</tooltip>
				<visible>0</visible>
				<OnClick></OnClick>
				<OnMouseDown>btPrevOnClick</OnMouseDown>
			</item>
			<item type="button">
				<name>btPlay</name>
				<comb3in1ImgSrc>play.png</comb3in1ImgSrc>
				<bgColor></bgColor>
				<top>155</top>
				<left>95</left>
				<tooltip>开始</tooltip>
				<visible>0</visible>
				<OnClick></OnClick>
				<OnMouseDown>btPlayOnClick</OnMouseDown>
			</item>
			<item type="button">
				<name>btPause</name>
				<comb3in1ImgSrc>pause.png</comb3in1ImgSrc>
				<bgColor></bgColor>
				<top>155</top>
				<left>95</left>
				<tooltip>暂停</tooltip>
				<visible>0</visible>
				<OnClick></OnClick>
				<OnMouseDown>btPauseOnClick</OnMouseDown>
			</item>
			<item type="button">
				<name>btNext</name>
				<comb3in1ImgSrc>next.png</comb3in1ImgSrc>
				<bgColor></bgColor>
				<top>155</top>
				<left>115</left>
				<tooltip>下一张</tooltip>
				<visible>0</visible>
				<OnClick></OnClick>
				<OnMouseDown>btNextOnClick</OnMouseDown>
			</item>
			<item type="button">
				<name>btOpenPic</name>
				<comb3in1ImgSrc>reveal.png</comb3in1ImgSrc>
				<bgColor></bgColor>
				<top>155</top>
				<left>140</left>
				<OnClick>btOpenPicOnClick</OnClick>
				<tooltip>打开图片</tooltip>
				<visible>0</visible>
			</item>
		</page>
		<OnInit>widgetOnInit</OnInit>
		<OnStart></OnStart>
		<OnDock>checkDock</OnDock>
		<OnUnDock>checkDock</OnUnDock>
		<OnMouseWheelDown>widgetOnMouseWheelDown</OnMouseWheelDown>
		<OnMouseWheelUp>widgetOnMouseWheelUp</OnMouseWheelUp>
		<OnDBClick>widgetOnDBClick</OnDBClick>
		<OnEnter>widgetOnEnter</OnEnter>
		<OnLeave>widgetOnLeave</OnLeave>
		<DockScreenRightOffset>-10</DockScreenRightOffset>
		<OnPopupMenu>widgetOnPopupMenu</OnPopupMenu>
		<OnKeyDown>widgetOnKeyDown</OnKeyDown>
	</window>
	<!-- widget's timers setting -->
	<timers>
		<item>
			<name>timer0</name>
			<enabled>0</enabled>
			<interval>1000</interval>
			<OnTimer>timer0OnTimer</OnTimer>
		</item>
		<item>
			<name>timerAlphaShow</name>
			<enabled>1</enabled>
			<interval>100</interval>
			<OnTimer>alphashowpic</OnTimer>
		</item>
		<item>
			<name>timerAlphaHide</name>
			<enabled>0</enabled>
			<interval>100</interval>
			<OnTimer>alphaHidePic</OnTimer>
		</item>
	</timers>
	<!-- widget's menus setting -->
	<menus>
		<nBringWidgetToFront visible="0"/>
		<nAddWidget visible="0"/>
		<nMenu1 visible="1" caption="更换图片文件夹..." onclick="nMenu1OnClick"/>
		<nMenu3 onclick="nMenu3OnClick" caption="打开文件" visible="1"/>
		<nMenu2 caption="设为壁纸(&amp;X)" visible="1" onclick="nMenu2OnClick"/>
		<nMenu4 caption="打开目录" visible="1" onclick="nMenu4OnClick"/>
		<nMenu5 caption="-"/>
		<nMenu6 caption="切换到迷你模式" visible="1" onclick="nMenu6OnClick"/>
	</menus>
	<!-- widget's  Setting Window -->
	<optionsWindow hideDefaultSettings="0" OnAllSettingsSaved="OnAllSettingsSaved" DefaultOptionPageIndex="2">
		<optionPage caption="窗口">
		</optionPage>
		<optionPage caption="相册">
			<item type="folder" name="valPath">
				<caption>选择图片路径</caption>
			</item>
			<item type="checkbox" name="includeSubFolder">
				<caption>包含子目录</caption>
				<defaultValue>0</defaultValue>
			</item>
			<item type="integer" name="valTime">
				<caption>间隔时间(分钟):</caption>
				<defaultValue>30</defaultValue>
				<max>999</max>
				<min>1</min>
			</item>
			<item type="checkbox" name="valFadeIn">
				<caption>启用相片淡入淡出</caption>
				<defaultValue>1</defaultValue>
			</item>
			<item type="checkbox" name="isRandom">
				<caption>随机乱序显示照片</caption>
				<defaultValue>1</defaultValue>
				<description></description>
			</item>
			<item type="checkbox" name="autosetwallpaper">
				<caption>更换图片的时候自动将其设置为桌面壁纸</caption>
				<defaultValue>0</defaultValue>
			</item>
			<item type="combobox" name="valOpenAct">
				<caption>浏览按钮动作</caption>
				<optionList>打开图片文件
设置当前图片为壁纸
</optionList>
				<optionValueList>0
1
</optionValueList>
				<description>小工具上第四个按钮的功能</description>
				<defaultValue>0</defaultValue>
			</item>
		</optionPage>
	</optionsWindow>
	<!-- widget's html panel -->
	<htmlPanel/>
	<!-- widget's wmp panel -->
	<wmpPanel/>
	<!-- widget's float tool panel -->
	<toolFloatPanel>
		<top>2</top>
		<left>0</left>
		<topDocked>-1</topDocked>
	</toolFloatPanel>
	<flashPanel/><ppsPanel/></xwidget>
