<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Windows Phone 7 Flashlight</title>
	<atom:link href="http://codecube.net/2010/03/windows-phone-7-flashlight/feed/" rel="self" type="application/rss+xml" />
	<link>http://codecube.net/2010/03/windows-phone-7-flashlight/</link>
	<description>Joel Martinez' weblog</description>
	<lastBuildDate>Fri, 03 Sep 2010 20:47:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: GoGo-Robot</title>
		<link>http://codecube.net/2010/03/windows-phone-7-flashlight/comment-page-1/#comment-1070</link>
		<dc:creator>GoGo-Robot</dc:creator>
		<pubDate>Fri, 19 Mar 2010 12:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://codecube.net/?p=307#comment-1070</guid>
		<description>Bah! Comments mangled the code :( I&#039;ve posted it here: http://www.gogo-robot.com/2010/03/19/windows-phone-7-flashlight-with-sos/</description>
		<content:encoded><![CDATA[<p>Bah! Comments mangled the code <img src='http://codecube.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  I&#8217;ve posted it here: <a href="http://www.gogo-robot.com/2010/03/19/windows-phone-7-flashlight-with-sos/" rel="nofollow">http://www.gogo-robot.com/2010/03/19/windows-phone-7-flashlight-with-sos/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GoGo-Robot</title>
		<link>http://codecube.net/2010/03/windows-phone-7-flashlight/comment-page-1/#comment-1069</link>
		<dc:creator>GoGo-Robot</dc:creator>
		<pubDate>Fri, 19 Mar 2010 11:53:12 +0000</pubDate>
		<guid isPermaLink="false">http://codecube.net/?p=307#comment-1069</guid>
		<description>Couldn&#039;t resist :)

graphics.GraphicsDevice.Clear(
                /* Check for touch panel being pressed */
            TouchPanel.GetState().Count == 0 ?
                /* Touch panel released, so reset the timer. This is stored in the target elapsed time, so we don&#039;t have to create any variables :) We also turn off IsFixedTimeStep, so that TargetElapsedTime isn&#039;t used. */
                ((((this.IsFixedTimeStep = false) == false) &amp;&amp; ((this.TargetElapsedTime = TimeSpan.FromMilliseconds(Math.Max(1.0f, gameTime.TotalGameTime.TotalMilliseconds))) == TimeSpan.Zero)) ? Color.Gray : Color.Gray) :
                /* Touch panel pressed, so do SOS */
                (gameTime.TotalGameTime - this.TargetElapsedTime).Seconds = 2) &amp;&amp; ((gameTime.TotalGameTime - this.TargetElapsedTime).Seconds = 4) &amp;&amp; ((gameTime.TotalGameTime - this.TargetElapsedTime).Seconds = 7) &amp;&amp; ((gameTime.TotalGameTime - this.TargetElapsedTime).Seconds = 10) &amp;&amp; ((gameTime.TotalGameTime - this.TargetElapsedTime).Seconds = 13) &amp;&amp; ((gameTime.TotalGameTime - this.TargetElapsedTime).Seconds = 17) &amp;&amp; ((gameTime.TotalGameTime - this.TargetElapsedTime).Seconds = 19) &amp;&amp; ((gameTime.TotalGameTime - this.TargetElapsedTime).Seconds = 21) &amp;&amp; ((gameTime.TotalGameTime - this.TargetElapsedTime).Seconds &lt; 22)) ? Color.White :
                Color.Black);</description>
		<content:encoded><![CDATA[<p>Couldn&#8217;t resist <img src='http://codecube.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>graphics.GraphicsDevice.Clear(<br />
                /* Check for touch panel being pressed */<br />
            TouchPanel.GetState().Count == 0 ?<br />
                /* Touch panel released, so reset the timer. This is stored in the target elapsed time, so we don&#8217;t have to create any variables <img src='http://codecube.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  We also turn off IsFixedTimeStep, so that TargetElapsedTime isn&#8217;t used. */<br />
                ((((this.IsFixedTimeStep = false) == false) &amp;&amp; ((this.TargetElapsedTime = TimeSpan.FromMilliseconds(Math.Max(1.0f, gameTime.TotalGameTime.TotalMilliseconds))) == TimeSpan.Zero)) ? Color.Gray : Color.Gray) :<br />
                /* Touch panel pressed, so do SOS */<br />
                (gameTime.TotalGameTime &#8211; this.TargetElapsedTime).Seconds = 2) &amp;&amp; ((gameTime.TotalGameTime &#8211; this.TargetElapsedTime).Seconds = 4) &amp;&amp; ((gameTime.TotalGameTime &#8211; this.TargetElapsedTime).Seconds = 7) &amp;&amp; ((gameTime.TotalGameTime &#8211; this.TargetElapsedTime).Seconds = 10) &amp;&amp; ((gameTime.TotalGameTime &#8211; this.TargetElapsedTime).Seconds = 13) &amp;&amp; ((gameTime.TotalGameTime &#8211; this.TargetElapsedTime).Seconds = 17) &amp;&amp; ((gameTime.TotalGameTime &#8211; this.TargetElapsedTime).Seconds = 19) &amp;&amp; ((gameTime.TotalGameTime &#8211; this.TargetElapsedTime).Seconds = 21) &amp;&amp; ((gameTime.TotalGameTime &#8211; this.TargetElapsedTime).Seconds &lt; 22)) ? Color.White :<br />
                Color.Black);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leaf</title>
		<link>http://codecube.net/2010/03/windows-phone-7-flashlight/comment-page-1/#comment-1036</link>
		<dc:creator>Leaf</dc:creator>
		<pubDate>Tue, 16 Mar 2010 07:41:29 +0000</pubDate>
		<guid isPermaLink="false">http://codecube.net/?p=307#comment-1036</guid>
		<description>Pah, my real flashlight can send out &quot;SOS&quot; in morse code. Let&#039;s see that in one line :)</description>
		<content:encoded><![CDATA[<p>Pah, my real flashlight can send out &#8220;SOS&#8221; in morse code. Let&#8217;s see that in one line <img src='http://codecube.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zachary Snow</title>
		<link>http://codecube.net/2010/03/windows-phone-7-flashlight/comment-page-1/#comment-1035</link>
		<dc:creator>Zachary Snow</dc:creator>
		<pubDate>Tue, 16 Mar 2010 07:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://codecube.net/?p=307#comment-1035</guid>
		<description>Isn&#039;t the XNA Framework amazing? The flashlight app in one line of code.</description>
		<content:encoded><![CDATA[<p>Isn&#8217;t the XNA Framework amazing? The flashlight app in one line of code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
