<?xml version="1.0"?>
<xwidget>
	<!-- widget info -->
	<info>
		<name>Vista天气预报</name>
		<version>200</version>
		<author>鱼鱼软件</author>
		<authorLogo>logo.gif</authorLogo>
		<copyright>2007</copyright>
		<category>天气预报</category>
		<minimumVersion>200</minimumVersion>
		<description>模拟Vista的天气预报widget,采用中央气象台服务器数据,能准确预报全球8000多个城市的3天天气预报,支持国内所有县级城市,支持显示月相,背景颜色随白天黑夜自动变化.</description>
		<showIcon>1</showIcon>
		<scriptFile>script.js</scriptFile>
		<scriptLanguage>JavaScript</scriptLanguage>
		<updateDateTime>2007-04-10 13:18:46</updateDateTime>
		<GUID>{63E5542D-3E7E-4BCA-866B-87EF08EE7101}</GUID>
		<linkText>鱼鱼论坛</linkText>
		<linkUrl>http://bbs.cfishsoft.com</linkUrl>
		<category2>3</category2>
	</info>
	<!-- widget's main window -->
	<window>
		<EnableDockScreenRight>1</EnableDockScreenRight>
		<page name="DockedPage" width="130" height="67" bgAlpha="80" bgColor="" tooltip="">
			<item type="image">
				<name>dockedBg</name>
				<src>images\BLACKDOCKED-base.png</src>
				<width>130</width>
				<height>67</height>
			</item>
			<item type="image">
				<name>dockedIcon</name>
				<src></src>
				<width>130</width>
				<height>67</height>
				<tooltip></tooltip>
			</item>
			<item type="image">
				<name>dockhl1</name>
				<src>images\BLACKDOCKED-highlight-02.png</src>
				<width>123</width>
				<height>60</height>
				<left>2</left>
				<top>2</top>
			</item>
			<item type="image">
				<name>dockhl2</name>
				<src>images\BLACKDOCKED-highlight-02.png</src>
				<width>123</width>
				<height>60</height>
				<left>2</left>
				<top>2</top>
				<visible>1</visible>
			</item>
			<item type="button">
				<name>btRefresh</name>
				<comb3in1ImgSrc>images\btnChange.png</comb3in1ImgSrc>
				<bgColor></bgColor>
				<left>113</left>
				<top>50</top>
				<alpha>30</alpha>
				<tooltip>刷新天气</tooltip>
				<OnClick>btRefresh2OnClick</OnClick>
			</item>
			<item type="text">
				<name>txtDockedCity</name>
				<fontStr>clWhite/-19/黑体/14/0000</fontStr>
				<caption></caption>
				<frameAlpha>50</frameAlpha>
				<align>2</align>
				<autoSize>0</autoSize>
				<width>100</width>
				<left>23</left>
				<frameSize>2</frameSize>
				<colorDegree>2</colorDegree>
				<alpha>100</alpha>
				<top>37</top>
				<enableShadow>0</enableShadow>
				<shadowLeft>1</shadowLeft>
				<shadowTop>1</shadowTop>
				<frameColor>0,0,0</frameColor>
				<antiAlias>1</antiAlias>
				<bgColor>192,192,192</bgColor>
				<bgAlpha>0</bgAlpha>
				<visible>1</visible>
				<hotAlpha>80</hotAlpha>
				<height>15</height>
			</item>
			<item type="text">
				<name>txtDockedTmp</name>
				<fontStr>clWhite/-28/Tahoma/21/0000</fontStr>
				<caption></caption>
				<align>2</align>
				<autoSize>0</autoSize>
				<width>100</width>
				<left>27</left>
				<top>3</top>
				<height>25</height>
				<frameAlpha>50</frameAlpha>
				<frameSize>2</frameSize>
				<enableShadow>0</enableShadow>
				<shadowAlpha>30</shadowAlpha>
				<alpha>100</alpha>
				<frameColor>0,0,0</frameColor>
				<visible>1</visible>
				<colorDegree>1</colorDegree>
				<cursorHandPoint>0</cursorHandPoint>
				<tooltip></tooltip>
				<bgColor>192,192,192</bgColor>
				<bgAlpha>0</bgAlpha>
			</item>
		</page>
		<OnDBClick>widgetOnDBClick</OnDBClick>
		<page name="UndockPage" tooltip="" bgColor="212,208,200" bgAlpha="0">
			<item type="image">
				<name>bg</name>
				<src>images\BLACK-base.png</src>
				<width>264</width>
				<height>194</height>
				<tooltip></tooltip>
			</item>
			<item type="image">
				<name>bigIcon</name>
				<src></src>
				<width>264</width>
				<height>194</height>
				<left>0</left>
				<top>0</top>
				<smooth>0</smooth>
				<tooltip></tooltip>
			</item>
			<item type="image">
				<name>hl1</name>
				<src>images\BLACK-highlight-01.png</src>
				<width>230</width>
				<height>160</height>
				<visible>1</visible>
				<left>13</left>
				<top>13</top>
			</item>
			<item type="image">
				<name>hl2</name>
				<src>images\GRAY-highlight-01.png</src>
				<width>230</width>
				<height>160</height>
				<visible>1</visible>
				<left>13</left>
				<top>13</top>
			</item>
			<item type="image">
				<name>imgGrid</name>
				<src>images\Grid.png</src>
				<width>264</width>
				<height>194</height>
				<left>-1</left>
				<top>68</top>
			</item>
			<item type="image">
				<name>iconDay2</name>
				<src></src>
				<width>42</width>
				<height>34</height>
				<left>45</left>
				<top>120</top>
			</item>
			<item type="image">
				<name>iconDay3</name>
				<src></src>
				<width>42</width>
				<height>34</height>
				<top>120</top>
				<left>120</left>
			</item>
			<item type="image">
				<name>iconDay4</name>
				<src></src>
				<width>42</width>
				<height>34</height>
				<top>120</top>
				<left>193</left>
			</item>
			<item type="text">
				<name>txtDay2</name>
				<fontStr>clWhite/-19/黑体/14/0000</fontStr>
				<caption>4月12日</caption>
				<left>15</left>
				<top>105</top>
				<alpha>70</alpha>
				<tooltip></tooltip>
				<hotFontStr></hotFontStr>
				<hotAlpha>100</hotAlpha>
				<cursorHandPoint>0</cursorHandPoint>
				<visible>1</visible>
				<bgColor>64,128,128</bgColor>
				<bgAlpha>0</bgAlpha>
			</item>
			<item type="text">
				<name>txtDay3</name>
				<fontStr>clWhite/-19/黑体/14/0000</fontStr>
				<caption>星期三</caption>
				<left>92</left>
				<top>105</top>
				<alpha>70</alpha>
				<visible>1</visible>
				<tooltip></tooltip>
				<cursorHandPoint>0</cursorHandPoint>
			</item>
			<item type="text">
				<name>txtDay4</name>
				<fontStr>clWhite/-19/黑体/14/0000</fontStr>
				<caption>4月14日</caption>
				<left>171</left>
				<top>105</top>
				<alpha>70</alpha>
				<antiAlias>1</antiAlias>
			</item>
			<item type="text">
				<name>txtTmpH2</name>
				<fontStr>clWhite/-16/Tahoma/12/0000</fontStr>
				<caption>24°</caption>
				<antiAlias>1</antiAlias>
				<left>15</left>
				<top>122</top>
				<alpha>90</alpha>
			</item>
			<item type="text">
				<name>copyright</name>
				<fontStr>clWhite/-15/Tahoma/11/0000</fontStr>
				<caption>@XDeskShow2</caption>
				<left>17</left>
				<top>158</top>
				<alpha>50</alpha>
				<colorDegree>1</colorDegree>
				<tooltip>点击打开网页查看详细天气...</tooltip>
				<hotFontStr>clWhite/-15/Tahoma/11/0010</hotFontStr>
				<cursorHandPoint>1</cursorHandPoint>
				<hotAlpha>80</hotAlpha>
				<OnClick>copyrightOnClick</OnClick>
			</item>
			<item type="text">
				<name>txtTmpH3</name>
				<fontStr>clWhite/-16/Tahoma/12/0000</fontStr>
				<caption>25°</caption>
				<antiAlias>1</antiAlias>
				<left>92</left>
				<top>122</top>
				<alpha>90</alpha>
			</item>
			<item type="text">
				<name>txtTmpH4</name>
				<fontStr>clWhite/-16/Tahoma/12/0000</fontStr>
				<caption>25°</caption>
				<antiAlias>1</antiAlias>
				<left>171</left>
				<top>122</top>
				<alpha>90</alpha>
			</item>
			<item type="text">
				<name>txtTmpL2</name>
				<fontStr>clWhite/-16/Tahoma/12/0000</fontStr>
				<caption>18°</caption>
				<antiAlias>1</antiAlias>
				<left>15</left>
				<top>138</top>
				<alpha>50</alpha>
			</item>
			<item type="text">
				<name>txtTmpL3</name>
				<fontStr>clWhite/-16/Tahoma/12/0000</fontStr>
				<caption>19°</caption>
				<antiAlias>1</antiAlias>
				<left>92</left>
				<top>138</top>
				<alpha>50</alpha>
			</item>
			<item type="text">
				<name>txtTmpL4</name>
				<fontStr>clWhite/-16/Tahoma/12/0000</fontStr>
				<caption></caption>
				<antiAlias>1</antiAlias>
				<left>171</left>
				<top>138</top>
				<alpha>50</alpha>
			</item>
			<item type="text">
				<name>txtCity</name>
				<fontStr>clWhite/-21/黑体/16/0000</fontStr>
				<caption>000</caption>
				<align>2</align>
				<autoSize>0</autoSize>
				<antiAlias>1</antiAlias>
				<height>15</height>
				<width>150</width>
				<bgColor></bgColor>
				<left>90</left>
				<top>85</top>
				<colorDegree>1</colorDegree>
				<visible>1</visible>
				<ShadowBlur>1</ShadowBlur>
				<enableShadow>0</enableShadow>
				<shadowAlpha>50</shadowAlpha>
				<cursorHandPoint>0</cursorHandPoint>
				<tooltip></tooltip>
				<hotAlpha>80</hotAlpha>
			</item>
			<item type="text">
				<name>txtWeatherInfo</name>
				<fontStr>clWhite/-19/黑体/14/0000</fontStr>
				<caption></caption>
				<left>90</left>
				<top>50</top>
				<width>150</width>
				<align>2</align>
				<visible>1</visible>
				<antiAlias>1</antiAlias>
				<frameAlpha>0</frameAlpha>
				<autoSize>0</autoSize>
				<bgColor></bgColor>
				<colorDegree>1</colorDegree>
				<frameColor>0,0,0</frameColor>
				<alpha>100</alpha>
				<hotFontStr></hotFontStr>
				<enableShadow>0</enableShadow>
				<shadowAlpha>50</shadowAlpha>
				<ShadowBlur>1</ShadowBlur>
			</item>
			<item type="text">
				<name>txtBigTmp</name>
				<fontStr>clWhite/-44/Tahoma/33/0000</fontStr>
				<caption></caption>
				<left>95</left>
				<top>10</top>
				<frameAlpha>0</frameAlpha>
				<autoSize>0</autoSize>
				<align>2</align>
				<width>150</width>
				<bgColor></bgColor>
				<colorDegree>1</colorDegree>
				<antiAlias>1</antiAlias>
				<hotFontStr>clWhite/-44/Tahoma/33/0000</hotFontStr>
				<alpha>100</alpha>
				<enableShadow>1</enableShadow>
				<shadowAlpha>50</shadowAlpha>
			</item>
			<item type="text">
				<name>txtTodayTmp</name>
				<fontStr>clWhite/-16/Tahoma/12/0000</fontStr>
				<caption></caption>
				<antiAlias>1</antiAlias>
				<left>90</left>
				<autoSize>0</autoSize>
				<width>150</width>
				<align>2</align>
				<bgColor>192,192,192</bgColor>
				<top>67</top>
				<visible>1</visible>
				<alpha>100</alpha>
				<enableShadow>0</enableShadow>
				<ShadowBlur>1</ShadowBlur>
				<shadowAlpha>50</shadowAlpha>
			</item>
			<item type="button">
				<name>btRefresh2</name>
				<comb3in1ImgSrc>images\btnChange.png</comb3in1ImgSrc>
				<bgColor></bgColor>
				<left>230</left>
				<top>160</top>
				<tooltip>刷新天气</tooltip>
				<alpha>100</alpha>
				<OnMouseEnter></OnMouseEnter>
				<OnClick>btRefresh2OnClick</OnClick>
			</item>
		</page>
		<OnDock>widgetOnDock</OnDock>
		<OnUnDock>widgetOnUnDock</OnUnDock>
		<OnStart>widgetOnStart</OnStart>
		<OnInit>widgetOnInit</OnInit>
		<DockScreenRightOffset>-8</DockScreenRightOffset>
		<OnPopupMenu>widgetOnPopupMenu</OnPopupMenu>
		<OnClose>widgetOnClose</OnClose>
	</window>
	<!-- widget's timers setting -->
	<timers>
		<item>
			<name>timer0</name>
			<enabled>0</enabled>
			<interval>6000000</interval>
			<OnTimer>timer0OnTimer</OnTimer>
		</item>
		<item>
			<name>timer1</name>
			<enabled>0</enabled>
			<interval>1000</interval>
			<OnTimer>timer1OnTimer</OnTimer>
		</item>
	</timers>
	<!-- widget's menus setting -->
	<menus>
		<nMenu1 caption="样式切换(&amp;Y)" visible="0" onclick="nMenuSwitchnClick"/>
		<nMenu2 caption="刷新天气(&amp;R)" onclick="nMenu1OnClick" visible="1"/>
		<nBringWidgetToFront visible="0"/>
		<nAddWidget enabled="1" visible="0"/>
		<nSplite1 enabled="1" visible="0"/>
		<nMenu3 caption="更换城市(&amp;C)..." onclick="nMenu2OnClick" visible="1"/>
		<nMenu4 visible="1" caption="切换到迷你模式" onclick="nMenuSwitchnClick"/>
	</menus>
	<!-- widget's  Setting Window -->
	<optionsWindow hideDefaultSettings="0" DefaultOptionPageIndex="2" OnAllSettingsSaved="OnAllSettingsSaved">
		<optionPage caption="窗口"/>
		<optionPage caption="城市">
			<item type="text" name="city">
				<caption>城市名称</caption>
				<defaultValue>广州</defaultValue>
				<description>请输入您需要预报天气的城市名称,支持国内所有县级地区. (注意: 请直接输入城市名称,不需要输入省份,例如直接输入 "广州")</description>
			</item>
		</optionPage>
	</optionsWindow>
	<!-- widget's html panel -->
	<htmlPanel/>
	<!-- widget's wmp panel -->
	<wmpPanel/>
	<!-- widget's float tool panel -->
	<toolFloatPanel/>
	<flashPanel/><ppsPanel/></xwidget>
