<?xml version="1.0"?>
<xwidget>
	<!-- widget info -->
	<info>
		<name>简单电池</name>
		<version>100</version>
		<author>鱼鱼软件</author>
		<authorLogo>logo.gif</authorLogo>
		<copyright>2007</copyright>
		<category2>5</category2>
		<minimumVersion>200</minimumVersion>
		<description>简单电池电量监控小工具，可以在选项里面任意更改电池各个状态下的颜色</description>
		<showIcon>1</showIcon>
		<scriptFile>script.js</scriptFile>
		<scriptLanguage>JavaScript</scriptLanguage>
		<updateDateTime>2007-11-16 </updateDateTime>
		<GUID>{44F20967-06AD-4EB2-8EE5-3E67DE7A273F}</GUID>
		<tag>电池</tag>
		<linkText>cfishsoft.com</linkText>
		<linkUrl>http://www.cfishsoft.com</linkUrl>
	</info>
	<!-- widget's main window -->
	<window>
		<EnableDockScreenRight>1</EnableDockScreenRight>
		<page name="firstPage" width="140" height="61" bgAlpha="80" bgColor="">
			<item type="image">
				<name>bg</name>
				<src>default.png</src>
				<alpha>100</alpha>
				<width>140</width>
				<height>61</height>
				<quality>0</quality>
			</item>
			<item type="progressBar">
				<name>ba</name>
				<barColor>128,255,0</barColor>
				<gradientColor>255,255,255</gradientColor>
				<gradientAlpha>100</gradientAlpha>
				<left>10</left>
				<top>10</top>
				<dataType>0</dataType>
				<borderAlpha>0</borderAlpha>
				<percent>50</percent>
				<width>115</width>
				<height>41</height>
				<alpha>100</alpha>
				<OnChanged>baOnChanged</OnChanged>
				<smooth>0</smooth>
			</item>
			<item type="image">
				<name>hl</name>
				<src>Battery Highlight.png</src>
				<width>140</width>
				<height>61</height>
				<left>0</left>
				<top>-1</top>
				<visible>1</visible>
			</item>
			<item type="text">
				<name>txt</name>
				<fontStr>clBlack/-17/黑体/13/1000</fontStr>
				<caption></caption>
				<top>15</top>
				<autoSize>0</autoSize>
				<height>14</height>
				<width>132</width>
				<align>1</align>
				<antiAlias>1</antiAlias>
			</item>
			<item type="text">
				<name>txtTime</name>
				<fontStr>clWhite/-15/Tahoma/11/1000</fontStr>
				<caption></caption>
				<top>35</top>
				<autoSize>0</autoSize>
				<height>14</height>
				<width>132</width>
				<align>1</align>
				<antiAlias>1</antiAlias>
				<left>0</left>
			</item>
			<item type="image">
				<name>cross</name>
				<src>cross.png</src>
				<width>40</width>
				<height>40</height>
				<left>48</left>
				<top>10</top>
				<visible>0</visible>
			</item>
		</page>
		<DockScreenRightOffset>-3</DockScreenRightOffset>
		<OnInit>widgetOnInit</OnInit>
	</window>
	<!-- widget's timers setting -->
	<timers>
		<item>
			<name>tm</name>
			<enabled>1</enabled>
			<interval>1000</interval>
			<OnTimer>tmOnTimer</OnTimer>
		</item>
	</timers>
	<!-- widget's menus setting -->
	<menus/>
	<!-- widget's  Setting Window -->
	<optionsWindow hideDefaultSettings="0" DefaultOptionPageIndex="2" OnAllSettingsSaved="widgetOnInit">
		<optionPage caption="窗口"/>
		<optionPage caption="电池">
			<item type="color" name="cl80">
				<caption>80%电池颜色</caption>
				<description>电量剩余80%及以上时的颜色</description>
			</item>
			<item type="color" name="cl50">
				<caption>50%电池颜色</caption>
				<description>电量剩余50%及以上时的颜色</description>
			</item>
			<item type="color" name="cl20">
				<caption>20%电池颜色</caption>
				<description>电量剩余20%及以上时的颜色</description>
			</item>
		</optionPage>
	</optionsWindow>
	<!-- widget's html panel -->
	<htmlPanel/>
	<!-- widget's wmp panel -->
	<wmpPanel/>
	<!-- widget's float tool panel -->
	<toolFloatPanel>
		<topDocked>3</topDocked>
		<top>6</top>
	</toolFloatPanel>
	<flashPanel/><ppsPanel/></xwidget>
