<?xml version="1.0"?>
<xwidget>
	<!-- widget info -->
	<info>
		<name>双核CPU监控</name>
		<version>200</version>
		<author>鱼鱼软件</author>
		<authorLogo>logo.gif</authorLogo>
		<copyright>2007</copyright>
		<category2>5</category2>
		<minimumVersion>200</minimumVersion>
		<description>显示cpu使用率图表，支持单核、双核切换</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>
		<linkText>cfishsoft.com</linkText>
		<linkUrl>http://www.cfishsoft.com</linkUrl>
		<updateHistory>2007-12-13  修正双核cpu情况下更改颜色样式的问题，增加双击小工具弹出系统的任务管理器的功能
</updateHistory>
	</info>
	<!-- widget's main window -->
	<window>
		<EnableDockScreenRight>1</EnableDockScreenRight>
		<page name="firstPage" width="133" height="60" bgAlpha="80" bgColor="">
			<item type="image">
				<name>bg</name>
				<src>default.png</src>
				<alpha>100</alpha>
				<width>133</width>
				<height>60</height>
				<visible>1</visible>
			</item>
			<item type="chart">
				<name>chart1</name>
				<left>5</left>
				<top>5</top>
				<width>55</width>
				<height>43</height>
				<dataType>0</dataType>
				<style>3</style>
				<space>1</space>
				<brushStyle>48</brushStyle>
				<brushAlpha>10</brushAlpha>
				<bgAlpha>0</bgAlpha>
				<gradientAlpha>100</gradientAlpha>
				<penAlpha>100</penAlpha>
				<penSize>1</penSize>
				<OnChanged>chart1OnChanged</OnChanged>
				<smooth>1</smooth>
				<updateInterval>1000</updateInterval>
				<gradientColor>255,255,0</gradientColor>
				<borderSize>1</borderSize>
				<borderColor>128,128,128</borderColor>
				<borderAlpha>50</borderAlpha>
				<visible>1</visible>
			</item>
			<item type="chart">
				<name>chart2</name>
				<left>67</left>
				<top>5</top>
				<width>55</width>
				<height>43</height>
				<dataType>0</dataType>
				<style>2</style>
				<space>1</space>
				<brushStyle>48</brushStyle>
				<brushAlpha>10</brushAlpha>
				<bgAlpha>0</bgAlpha>
				<gradientAlpha>100</gradientAlpha>
				<penAlpha>100</penAlpha>
				<penSize>1</penSize>
				<OnChanged>chart1OnChanged</OnChanged>
				<smooth>1</smooth>
				<updateInterval>1000</updateInterval>
				<gradientColor>255,0,0</gradientColor>
				<borderSize>1</borderSize>
				<borderColor>128,128,128</borderColor>
				<borderAlpha>50</borderAlpha>
			</item>
			<item type="text">
				<name>txt</name>
				<fontStr>clWhite/-16/Tahoma/12/1000</fontStr>
				<caption>CPU: 0%</caption>
				<fontStr>clWhite/-12/Arial/14/0000</fontStr>
				<left>5</left>
				<top>5</top>
				<alpha>80</alpha>
				<frameAlpha>60</frameAlpha>
				<frameColor>0,0,0</frameColor>
				<frameSize>2</frameSize>
				<visible>1</visible>
			</item>
		</page>
		<OnDBClick>widgetOnDBClick</OnDBClick>
		<OnInit>widgetOnInit</OnInit>
		<DockScreenRightOffset>-7</DockScreenRightOffset>
	</window>
	<!-- widget's timers setting -->
	<timers>
		<item>
			<name>tm</name>
			<enabled>0</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="combobox" name="cpu">
				<caption>CPU类型</caption>
				<defaultValue>0</defaultValue>
				<optionList>普通单核CPU(默认)
双核CPU
</optionList>
				<optionValueList>0
1
</optionValueList>
			</item>
			<item type="integer" name="tm">
				<caption>刷新间隔毫秒</caption>
				<defaultValue>1000</defaultValue>
				<max>10</max>
				<description>数值越小刷新速度越快，推荐 500-3000之间，默认1000毫秒</description>
			</item>
			<item type="combobox" name="style">
				<caption>样式</caption>
				<defaultValue>3</defaultValue>
				<optionList>单色曲线
渐变色曲线
单色填充
渐变色填充
</optionList>
				<optionValueList>0
1
2
3
</optionValueList>
			</item>
			<item type="color" name="linecl">
				<caption>曲线线条颜色</caption>
				<defaultValue>clLime</defaultValue>
				<description>样式为曲线线条是有效</description>
			</item>
			<item type="color" name="fillcl">
				<caption>填充颜色</caption>
				<defaultValue>clLime</defaultValue>
			</item>
			<item type="color" name="gradcl">
				<caption>渐变填充色</caption>
				<defaultValue>clRed</defaultValue>
			</item>
		</optionPage>
	</optionsWindow>
	<!-- widget's html panel -->
	<htmlPanel/>
	<!-- widget's wmp panel -->
	<wmpPanel/>
	<!-- widget's float tool panel -->
	<toolFloatPanel/>
	<flashPanel/><ppsPanel/></xwidget>
