<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lundman.net/wiki/index.php?action=history&amp;feed=atom&amp;title=NMT%3Adirectfb-sample</id>
	<title>NMT:directfb-sample - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lundman.net/wiki/index.php?action=history&amp;feed=atom&amp;title=NMT%3Adirectfb-sample"/>
	<link rel="alternate" type="text/html" href="https://lundman.net/wiki/index.php?title=NMT:directfb-sample&amp;action=history"/>
	<updated>2026-04-15T01:41:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://lundman.net/wiki/index.php?title=NMT:directfb-sample&amp;diff=2318&amp;oldid=prev</id>
		<title>Lundman at 05:19, 14 January 2008</title>
		<link rel="alternate" type="text/html" href="https://lundman.net/wiki/index.php?title=NMT:directfb-sample&amp;diff=2318&amp;oldid=prev"/>
		<updated>2008-01-14T05:19:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:19, 14 January 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l107&quot;&gt;Line 107:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 107:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	 * DIDID_KEYBOARD is the device id of the primary keyboard.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	 * DIDID_KEYBOARD is the device id of the primary keyboard.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	 */&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	 */&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	DFBCHECK (dfb-&amp;gt;GetInputDevice (dfb, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;3&lt;/del&gt;, &amp;amp;keyboard));&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	DFBCHECK (dfb-&amp;gt;GetInputDevice (dfb, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;DIDID_REMOTE&lt;/ins&gt;, &amp;amp;keyboard));&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	/*&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	/*&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lundman</name></author>
	</entry>
	<entry>
		<id>https://lundman.net/wiki/index.php?title=NMT:directfb-sample&amp;diff=2317&amp;oldid=prev</id>
		<title>Lundman at 05:15, 14 January 2008</title>
		<link rel="alternate" type="text/html" href="https://lundman.net/wiki/index.php?title=NMT:directfb-sample&amp;diff=2317&amp;oldid=prev"/>
		<updated>2008-01-14T05:15:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:15, 14 January 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;META&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PRE&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/*&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/*&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    DirectFB Tutorials&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    DirectFB Tutorials&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l238&quot;&gt;Line 238:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 238:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	return 23;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	return 23;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;META&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PRE&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lundman</name></author>
	</entry>
	<entry>
		<id>https://lundman.net/wiki/index.php?title=NMT:directfb-sample&amp;diff=2316&amp;oldid=prev</id>
		<title>Lundman at 05:11, 14 January 2008</title>
		<link rel="alternate" type="text/html" href="https://lundman.net/wiki/index.php?title=NMT:directfb-sample&amp;diff=2316&amp;oldid=prev"/>
		<updated>2008-01-14T05:11:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:11, 14 January 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;META&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/*&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/*&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    DirectFB Tutorials&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    DirectFB Tutorials&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l237&quot;&gt;Line 237:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 238:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	return 23;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	return 23;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/META&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lundman</name></author>
	</entry>
	<entry>
		<id>https://lundman.net/wiki/index.php?title=NMT:directfb-sample&amp;diff=2315&amp;oldid=prev</id>
		<title>Lundman at 05:07, 14 January 2008</title>
		<link rel="alternate" type="text/html" href="https://lundman.net/wiki/index.php?title=NMT:directfb-sample&amp;diff=2315&amp;oldid=prev"/>
		<updated>2008-01-14T05:07:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:07, 14 January 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/*&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/*&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    DirectFB Tutorials&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    DirectFB Tutorials&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l238&quot;&gt;Line 238:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 237:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	return 23;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	return 23;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lundman</name></author>
	</entry>
	<entry>
		<id>https://lundman.net/wiki/index.php?title=NMT:directfb-sample&amp;diff=2314&amp;oldid=prev</id>
		<title>Lundman at 05:06, 14 January 2008</title>
		<link rel="alternate" type="text/html" href="https://lundman.net/wiki/index.php?title=NMT:directfb-sample&amp;diff=2314&amp;oldid=prev"/>
		<updated>2008-01-14T05:06:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:06, 14 January 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/*&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/*&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    DirectFB Tutorials&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    DirectFB Tutorials&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l237&quot;&gt;Line 237:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 238:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	return 23;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	return 23;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lundman</name></author>
	</entry>
	<entry>
		<id>https://lundman.net/wiki/index.php?title=NMT:directfb-sample&amp;diff=2313&amp;oldid=prev</id>
		<title>Lundman at 05:04, 14 January 2008</title>
		<link rel="alternate" type="text/html" href="https://lundman.net/wiki/index.php?title=NMT:directfb-sample&amp;diff=2313&amp;oldid=prev"/>
		<updated>2008-01-14T05:04:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/*&lt;br /&gt;
   DirectFB Tutorials&lt;br /&gt;
&lt;br /&gt;
   (c) Copyright 2000-2002  convergence integrated media GmbH.&lt;br /&gt;
   (c) Copyright 2002       convergence GmbH.&lt;br /&gt;
   All rights reserved.&lt;br /&gt;
&lt;br /&gt;
   Written by Denis Oliver Kropp &amp;lt;dok@directfb.org&amp;gt;,&lt;br /&gt;
	      Andreas Hundt &amp;lt;andi@fischlustig.de&amp;gt; and&lt;br /&gt;
	      Sven Neumann &amp;lt;neo@directfb.org&amp;gt;.&lt;br /&gt;
	      &lt;br /&gt;
   This file is subject to the terms and conditions of the MIT License:&lt;br /&gt;
&lt;br /&gt;
   Permission is hereby granted, free of charge, to any person&lt;br /&gt;
   obtaining a copy of this software and associated documentation&lt;br /&gt;
   files (the &amp;quot;Software&amp;quot;), to deal in the Software without restriction,&lt;br /&gt;
   including without limitation the rights to use, copy, modify, merge,&lt;br /&gt;
   publish, distribute, sublicense, and/or sell copies of the Software,&lt;br /&gt;
   and to permit persons to whom the Software is furnished to do so,&lt;br /&gt;
   subject to the following conditions:&lt;br /&gt;
&lt;br /&gt;
   The above copyright notice and this permission notice shall be&lt;br /&gt;
   included in all copies or substantial portions of the Software.&lt;br /&gt;
&lt;br /&gt;
   THE SOFTWARE IS PROVIDED &amp;quot;AS IS&amp;quot;, WITHOUT WARRANTY OF ANY KIND,&lt;br /&gt;
   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF&lt;br /&gt;
   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.&lt;br /&gt;
   IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY&lt;br /&gt;
   CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,&lt;br /&gt;
   TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE&lt;br /&gt;
   SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * sprite.c&lt;br /&gt;
 *&lt;br /&gt;
 * Moving a sprite with the cursor keys (without input buffer)&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;unistd.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;directfb.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/* You might need to change this */&lt;br /&gt;
&lt;br /&gt;
#define DATADIR &amp;quot;/music&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
 * (Globals)&lt;br /&gt;
 */&lt;br /&gt;
static IDirectFB *dfb = NULL;&lt;br /&gt;
static IDirectFBSurface *primary = NULL;&lt;br /&gt;
static IDirectFBSurface *tux = NULL;&lt;br /&gt;
static int screen_width  = 0;&lt;br /&gt;
static int screen_height = 0;&lt;br /&gt;
#define DFBCHECK(x...)                                         \&lt;br /&gt;
  {                                                            \&lt;br /&gt;
    DFBResult err = x;                                         \&lt;br /&gt;
                                                               \&lt;br /&gt;
    if (err != DFB_OK)                                         \&lt;br /&gt;
      {                                                        \&lt;br /&gt;
        fprintf( stderr, &amp;quot;%s &amp;lt;%d&amp;gt;:\n\t&amp;quot;, __FILE__, __LINE__ ); \&lt;br /&gt;
        DirectFBErrorFatal( #x, err );                         \&lt;br /&gt;
      }                                                        \&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
 * Our interface to the keyboard.&lt;br /&gt;
 */&lt;br /&gt;
static IDirectFBInputDevice *keyboard = NULL;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
int main (int argc, char **argv)&lt;br /&gt;
{&lt;br /&gt;
	/*&lt;br /&gt;
	 * (Locals)&lt;br /&gt;
	 */&lt;br /&gt;
	DFBSurfaceDescription   dsc;&lt;br /&gt;
	IDirectFBImageProvider *provider;&lt;br /&gt;
&lt;br /&gt;
	/*&lt;br /&gt;
	 * To quit the application when escape is pressed we store the key state here.&lt;br /&gt;
	 */&lt;br /&gt;
	DFBInputDeviceKeyState escape = DIKS_UP;&lt;br /&gt;
&lt;br /&gt;
	/*&lt;br /&gt;
	 * Here we store the current position of the sprite on the screen&lt;br /&gt;
	 * and the maximum x/y coordinates the sprite can have without being clipped.&lt;br /&gt;
	 */&lt;br /&gt;
	int sprite_x, sprite_y, max_x, max_y;&lt;br /&gt;
&lt;br /&gt;
	/*&lt;br /&gt;
	 * (Initialize)&lt;br /&gt;
	 */&lt;br /&gt;
	DFBCHECK (DirectFBInit (&amp;amp;argc, &amp;amp;argv));&lt;br /&gt;
	DFBCHECK (DirectFBCreate (&amp;amp;dfb));&lt;br /&gt;
	DFBCHECK (dfb-&amp;gt;SetCooperativeLevel (dfb, DFSCL_FULLSCREEN));&lt;br /&gt;
	dsc.flags = DSDESC_CAPS;&lt;br /&gt;
	dsc.caps  = DSCAPS_PRIMARY | DSCAPS_FLIPPING;&lt;br /&gt;
	DFBCHECK (dfb-&amp;gt;CreateSurface( dfb, &amp;amp;dsc, &amp;amp;primary ));&lt;br /&gt;
	DFBCHECK (primary-&amp;gt;GetSize (primary, &amp;amp;screen_width, &amp;amp;screen_height));&lt;br /&gt;
&lt;br /&gt;
	/*&lt;br /&gt;
	 * Retrieve an interface to the keyboard so we can query key states.&lt;br /&gt;
	 * DIDID_KEYBOARD is the device id of the primary keyboard.&lt;br /&gt;
	 */&lt;br /&gt;
	DFBCHECK (dfb-&amp;gt;GetInputDevice (dfb, 3, &amp;amp;keyboard));&lt;br /&gt;
&lt;br /&gt;
	/*&lt;br /&gt;
	 * (Load the sprite)&lt;br /&gt;
	 */&lt;br /&gt;
         /* tux.png is in your DirectFB directory */&lt;br /&gt;
	DFBCHECK (dfb-&amp;gt;CreateImageProvider (dfb, DATADIR&amp;quot;/tux.png&amp;quot;, &amp;amp;provider));&lt;br /&gt;
	DFBCHECK (provider-&amp;gt;GetSurfaceDescription (provider, &amp;amp;dsc));&lt;br /&gt;
	DFBCHECK (dfb-&amp;gt;CreateSurface (dfb, &amp;amp;dsc, &amp;amp;tux));&lt;br /&gt;
	DFBCHECK (provider-&amp;gt;RenderTo (provider, tux, NULL));&lt;br /&gt;
	provider-&amp;gt;Release (provider);&lt;br /&gt;
&lt;br /&gt;
	/*&lt;br /&gt;
	 * Calculate maximum x/y coordinates depending on screen resolution and sprite size.&lt;br /&gt;
	 */&lt;br /&gt;
	max_x = screen_width - dsc.width;&lt;br /&gt;
	max_y = screen_height - dsc.height;&lt;br /&gt;
&lt;br /&gt;
	/*&lt;br /&gt;
	 * Initialize the sprite position by centering it on the screen.&lt;br /&gt;
	 */&lt;br /&gt;
	sprite_x = (screen_width - dsc.width) / 2;&lt;br /&gt;
	sprite_y = (screen_height - dsc.height) / 2;&lt;br /&gt;
	DFBCHECK (primary-&amp;gt;Blit (primary, tux, NULL, sprite_x, sprite_y));&lt;br /&gt;
&lt;br /&gt;
	DFBCHECK (primary-&amp;gt;Flip (primary, NULL, DSFLIP_WAITFORSYNC));&lt;br /&gt;
&lt;br /&gt;
	/*&lt;br /&gt;
	 * Loop through until the escape key is pressed.&lt;br /&gt;
	 */&lt;br /&gt;
	static IDirectFBEventBuffer *buffer = NULL;&lt;br /&gt;
	DFBCHECK (keyboard-&amp;gt;CreateEventBuffer (keyboard, &amp;amp;buffer));&lt;br /&gt;
	int quit = 0;&lt;br /&gt;
	while (!quit) {&lt;br /&gt;
		/*&lt;br /&gt;
		 * Structure which stores a DirectFB input event from an input buffer.&lt;br /&gt;
		 */&lt;br /&gt;
		DFBInputEvent event;&lt;br /&gt;
&lt;br /&gt;
		/*&lt;br /&gt;
		 * This makes the current thread wait idle for the next event.&lt;br /&gt;
		 */&lt;br /&gt;
		DFBCHECK (buffer-&amp;gt;WaitForEvent (buffer));&lt;br /&gt;
&lt;br /&gt;
		/*&lt;br /&gt;
		 * Fetch all events from buffer one by one and process them.&lt;br /&gt;
		 */&lt;br /&gt;
		while (buffer-&amp;gt;GetEvent (buffer, DFB_EVENT(&amp;amp;event)) == DFB_OK) {&lt;br /&gt;
			/*&lt;br /&gt;
			 * If any key went up, we clear the screen.&lt;br /&gt;
			 &lt;br /&gt;
			if (event.type == DIET_KEYRELEASE)&lt;br /&gt;
				DFBCHECK (primary-&amp;gt;FillRectangle (primary,&lt;br /&gt;
								  0, 0, &lt;br /&gt;
								  screen_width, screen_height));&lt;br /&gt;
			*/&lt;br /&gt;
			/*&lt;br /&gt;
			 * If a key has been pressed and it&amp;#039;s the escape key, we quit.&lt;br /&gt;
			 * Otherwise we put a foot print somewhere.&lt;br /&gt;
			 */&lt;br /&gt;
			if (event.type == DIET_KEYPRESS) {&lt;br /&gt;
				printf(&amp;quot;%x\n&amp;quot;,event.key_symbol);&lt;br /&gt;
				switch (event.key_symbol) {&lt;br /&gt;
				case DIKS_CURSOR_RIGHT:&lt;br /&gt;
					sprite_x+=10;&lt;br /&gt;
					break;&lt;br /&gt;
				case DIKS_CURSOR_LEFT:&lt;br /&gt;
					sprite_x-=10;&lt;br /&gt;
					break;&lt;br /&gt;
				case DIKS_CURSOR_UP:&lt;br /&gt;
					sprite_y-=10;&lt;br /&gt;
					break;&lt;br /&gt;
				case DIKS_CURSOR_DOWN:&lt;br /&gt;
					sprite_y+=10;&lt;br /&gt;
					break;&lt;br /&gt;
&lt;br /&gt;
				case DIKS_HOME:&lt;br /&gt;
				case DIKS_AB:&lt;br /&gt;
					sprite_x = (screen_width - dsc.width) / 2;&lt;br /&gt;
					sprite_y = (screen_height - dsc.height) / 2;&lt;br /&gt;
					break;&lt;br /&gt;
				case DIKS_STOP:&lt;br /&gt;
					quit = 1;&lt;br /&gt;
					break;&lt;br /&gt;
				}&lt;br /&gt;
				/*&lt;br /&gt;
				* Clear the screen.&lt;br /&gt;
				*/&lt;br /&gt;
			       DFBCHECK (primary-&amp;gt;FillRectangle (primary, 0, 0, screen_width, screen_height));&lt;br /&gt;
&lt;br /&gt;
			       /*&lt;br /&gt;
				* Blit the sprite at its current position.&lt;br /&gt;
				*/&lt;br /&gt;
			       DFBCHECK (primary-&amp;gt;Blit (primary, tux, NULL, sprite_x, sprite_y));&lt;br /&gt;
&lt;br /&gt;
			       /*&lt;br /&gt;
				* Flip the front and back buffer, but wait for the vertical retrace to avoid tearing.&lt;br /&gt;
				*/&lt;br /&gt;
			       DFBCHECK (primary-&amp;gt;Flip (primary, NULL, DSFLIP_WAITFORSYNC));&lt;br /&gt;
&lt;br /&gt;
			       /*&lt;br /&gt;
				* Now make sure we didn&amp;#039;t move the sprite out of the screen.&lt;br /&gt;
				*/&lt;br /&gt;
			       if (sprite_x &amp;lt; 0)&lt;br /&gt;
				       sprite_x = 0;&lt;br /&gt;
			       else if (sprite_x &amp;gt; max_x)&lt;br /&gt;
				       sprite_x = max_x;&lt;br /&gt;
			       if (sprite_y &amp;lt; 0)&lt;br /&gt;
				       sprite_y = 0;&lt;br /&gt;
			       else if (sprite_y &amp;gt; max_y)&lt;br /&gt;
				       sprite_y = max_y;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
	}&lt;br /&gt;
	/*&lt;br /&gt;
	 * Release the keyboard.&lt;br /&gt;
	 */&lt;br /&gt;
	keyboard-&amp;gt;Release (keyboard);&lt;br /&gt;
&lt;br /&gt;
	/*&lt;br /&gt;
	 * (Release)&lt;br /&gt;
	 */&lt;br /&gt;
	tux-&amp;gt;Release (tux);&lt;br /&gt;
	primary-&amp;gt;Release (primary);&lt;br /&gt;
	dfb-&amp;gt;Release (dfb);&lt;br /&gt;
&lt;br /&gt;
	return 23;&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Lundman</name></author>
	</entry>
</feed>