<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>simplegui Wiki &amp; Documentation Rss Feed</title><link>http://www.codeplex.com/simplegui/Wiki/View.aspx?title=Home</link><description>simplegui Wiki Rss Description</description><item><title>Updated Wiki: Home</title><link>http://simplegui.codeplex.com/wikipage?version=21</link><description>&lt;div class="wikidoc"&gt;&lt;br /&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;A GUI controls library for XNA 3.1. Contains panel, button &amp;#40;toggle and push&amp;#41;, checkbox, listbox, combobox, textbox, multi-line textbox, grid, layout, image, and form. Hook up control events to your game easily.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;DownloadId=130295" alt="DGui.png" title="DGui.png" /&gt;&lt;br /&gt;&lt;i&gt;Demo showing all control types. The source code includes this demo.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;About XNA Simple Gui&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This project is called XNA Simple Gui but the namespace is actually DGui.&lt;br /&gt;DGui controls use the mouse and keyboard for input and is thus intended for Windows games. Nevertheless, the source code is free and open and you are welcome to modify it to support Xbox 360 controls.&lt;br /&gt;DGui contains the following control elements:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;DPanel&lt;/li&gt;
&lt;li&gt;DButton/DToggleButton&lt;/li&gt;
&lt;li&gt;DComboBox&lt;/li&gt;
&lt;li&gt;DCheckbox&lt;/li&gt;
&lt;li&gt;DTextBox&lt;/li&gt;
&lt;li&gt;DMultiLineTextBox&lt;/li&gt;
&lt;li&gt;DGrid&lt;/li&gt;
&lt;li&gt;DListBox&lt;/li&gt;
&lt;li&gt;DForm&lt;/li&gt;
&lt;li&gt;DLayout&lt;/li&gt;
&lt;li&gt;DImage&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;The color of Gui items can be modified using a color theme object. You can also change a control&amp;#39;s border thickness and font size from the defaults. Controls can be arranged in a hierarchy to create more elaborate user interfaces.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What it doesn&amp;#39;t do&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Textured controls (list box items can have an image icon - no support for this on buttons yet)&lt;/li&gt;
&lt;li&gt;Orderable data grid (only a static grid)&lt;/li&gt;
&lt;li&gt;Title bars or inbuilt message dialogs&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;See the &lt;a href="http://simplegui.codeplex.com/documentation?referringTitle=Home"&gt;Documentation&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this is ok!&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 03 Jul 2010 03:21:52 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100703032152A</guid></item><item><title>Updated Wiki: Home</title><link>http://simplegui.codeplex.com/wikipage?version=20</link><description>&lt;div class="wikidoc"&gt;&lt;br /&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;A GUI controls library for XNA 3.1. Contains panel, button &amp;#40;toggle and push&amp;#41;, checkbox, listbox, combobox, textbox, multi-line textbox, grid, layout, image, and form. Hook up control events to your game easily.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;DownloadId=130295" alt="DGui.png" title="DGui.png" /&gt;&lt;br /&gt;&lt;i&gt;Demo showing all control types. The source code includes this demo.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;About XNA Simple Gui&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This project is called XNA Simple Gui but the namespace is actually DGui.&lt;br /&gt;DGui controls use the mouse and keyboard for input and is thus intended for Windows games. Nevertheless, the source code is free and open and you are welcome to modify it to support Xbox 360 controls.&lt;br /&gt;DGui contains the following control elements:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;DPanel&lt;/li&gt;
&lt;li&gt;DButton/DToggleButton&lt;/li&gt;
&lt;li&gt;DComboBox&lt;/li&gt;
&lt;li&gt;DCheckbox&lt;/li&gt;
&lt;li&gt;DTextBox&lt;/li&gt;
&lt;li&gt;DMultiLineTextBox&lt;/li&gt;
&lt;li&gt;DGrid&lt;/li&gt;
&lt;li&gt;DListBox&lt;/li&gt;
&lt;li&gt;DForm&lt;/li&gt;
&lt;li&gt;DLayout&lt;/li&gt;
&lt;li&gt;DImage&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Controls can be arranged in a hierarchy to create more elaborate user interfaces.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What it doesn&amp;#39;t do&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Textured controls (list box items can have an image icon - no support for this on buttons yet)&lt;/li&gt;
&lt;li&gt;Orderable data grid (only a static grid)&lt;/li&gt;
&lt;li&gt;Title bars or inbuilt message dialogs&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;See the &lt;a href="http://simplegui.codeplex.com/documentation?referringTitle=Home"&gt;Documentation&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this is ok!&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 03 Jul 2010 03:17:08 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100703031708A</guid></item><item><title>Updated Wiki: Home</title><link>http://simplegui.codeplex.com/wikipage?version=19</link><description>&lt;div class="wikidoc"&gt;&lt;br /&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;A GUI controls library for XNA 3.1. Contains panel, button &amp;#40;toggle and push&amp;#41;, checkbox, listbox, combobox, textbox, multi-line textbox, grid, layout, image, and form. Hook up control events to your game easily.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;DownloadId=130295" alt="DGui.png" title="DGui.png" /&gt;&lt;br /&gt;&lt;i&gt;Demo showing all control types. The source code includes this demo.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;About XNA Simple Gui&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This project is called XNA Simple Gui but the namespace is actually DGui.&lt;br /&gt;DGui controls use the mouse and keyboard for input and is thus intended for Windows games. Nevertheless, the source code is free and open and you are welcome to modify it to support Xbox 360 controls.&lt;br /&gt;DGui contains the following control elements:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;DPanel&lt;/li&gt;
&lt;li&gt;DButton/DToggleButton&lt;/li&gt;
&lt;li&gt;DComboBox&lt;/li&gt;
&lt;li&gt;DCheckbox&lt;/li&gt;
&lt;li&gt;DTextBox&lt;/li&gt;
&lt;li&gt;DMultiLineTextBox&lt;/li&gt;
&lt;li&gt;DGrid&lt;/li&gt;
&lt;li&gt;DListBox&lt;/li&gt;
&lt;li&gt;DForm&lt;/li&gt;
&lt;li&gt;DLayout&lt;/li&gt;
&lt;li&gt;DImage&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Controls can be arranged in a hierarchy to create more elaborate user interfaces.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What it doesn&amp;#39;t do&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Textured controls (list box items can have an image icon - no support for this on buttons yet)&lt;/li&gt;
&lt;li&gt;Orderable data grid (only a static grid)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;See the &lt;a href="http://simplegui.codeplex.com/documentation?referringTitle=Home"&gt;Documentation&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this is ok!&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 03 Jul 2010 03:16:29 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100703031629A</guid></item><item><title>Updated Wiki: Home</title><link>http://simplegui.codeplex.com/wikipage?version=18</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;A GUI controls library for XNA 3.1. Contains panel, button &amp;#40;toggle and push&amp;#41;, checkbox, listbox, combobox, textbox, multi-line textbox, grid, layout, image, and form. Hook up control events to your game easily.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;DownloadId=130295" alt="DGui.png" title="DGui.png" /&gt;&lt;br /&gt;&lt;i&gt;Demo showing all control types. The source code includes this demo.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;About XNA Simple Gui&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This project is called XNA Simple Gui but the namespace is actually DGui.&lt;br /&gt;DGui controls use the mouse and keyboard for input and is thus intended for Windows games. Nevertheless, the source code is free and open and you are welcome to modify it to support Xbox 360 controls.&lt;br /&gt;DGui contains the following control elements:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;DPanel&lt;/li&gt;
&lt;li&gt;DButton/DToggleButton&lt;/li&gt;
&lt;li&gt;DComboBox&lt;/li&gt;
&lt;li&gt;DCheckbox&lt;/li&gt;
&lt;li&gt;DTextBox&lt;/li&gt;
&lt;li&gt;DMultiLineTextBox&lt;/li&gt;
&lt;li&gt;DGrid&lt;/li&gt;
&lt;li&gt;DListBox&lt;/li&gt;
&lt;li&gt;DForm&lt;/li&gt;
&lt;li&gt;DLayout&lt;/li&gt;
&lt;li&gt;DImage&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Controls can be arranged in a hierarchy to create more elaborate user interfaces.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What it doesn&amp;#39;t do&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Textured controls (list box items can have an image icon - no support for this on buttons yet)&lt;/li&gt;
&lt;li&gt;Orderable data grid (only a static grid)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;See the &lt;a href="http://simplegui.codeplex.com/documentation?referringTitle=Home"&gt;Documentation&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this is ok!&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 03 Jul 2010 03:16:07 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100703031607A</guid></item><item><title>Updated Wiki: Home</title><link>http://simplegui.codeplex.com/wikipage?version=17</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;A GUI controls library for XNA 3.1. Contains panel, button &amp;#40;toggle and push&amp;#41;, checkbox, listbox, combobox, textbox, multi-line textbox, grid, layout, image, and form. Hook up control events to your game easily.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;DownloadId=130295" alt="DGui.png" title="DGui.png" /&gt;&lt;br /&gt;&lt;i&gt;Demo showing all control types. The source code includes this demo.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;About XNA Simple Gui&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This project is called XNA Simple Gui but the namespace is actually DGui.&lt;br /&gt;DGui controls use the mouse and keyboard for input and is thus intended for Windows games. Nevertheless, the source code is free and open and you are welcome to modify it to support Xbox 360 controls.&lt;br /&gt;DGui contains the following control elements:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;DPanel&lt;/li&gt;
&lt;li&gt;DButton/DToggleButton&lt;/li&gt;
&lt;li&gt;DComboBox&lt;/li&gt;
&lt;li&gt;DCheckbox&lt;/li&gt;
&lt;li&gt;DTextBox&lt;/li&gt;
&lt;li&gt;DMultiLineTextBox&lt;/li&gt;
&lt;li&gt;DGrid&lt;/li&gt;
&lt;li&gt;DListBox&lt;/li&gt;
&lt;li&gt;DForm&lt;/li&gt;
&lt;li&gt;DLayout&lt;/li&gt;
&lt;li&gt;DImage&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Controls can be arranged in a hierarchy to create more elaborate user interfaces.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What it doesn&amp;#39;t do&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Textured controls (list box items can have an image icon - no support for this on buttons yet)&lt;/li&gt;
&lt;li&gt;Orderable data grid (only a static grid)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;See the &lt;a href="http://simplegui.codeplex.com/documentation?referringTitle=Home"&gt;Documentation&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this is ok!&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 03 Jul 2010 03:15:43 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100703031543A</guid></item><item><title>Updated Wiki: Documentation</title><link>http://simplegui.codeplex.com/documentation?version=3</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;How to use DGui&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Controls must be registered with an instance of DGuiManager. You must pass your game object and a SpriteBatch object to the DGuiManager:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DGuiManager guiManager = new DGuiManager(this, spriteBatch);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Call DGuiManager.Update() in your update method to enable input to your controls.&lt;br /&gt;Call DGuiManager.Draw() in your draw method to draw the controls.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To add a form to your game:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DForm form = new DForm(guiManager, &amp;quot;MainForm&amp;quot;, null);
form.Size = new Vector2(640, 480);
form.Position = new Vector2(10, 10);
form.Initialize();
guiManager.AddControl(form);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Or to add a panel, using constructor parameters for size and position:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DPanel panel = new DPanel (guiManager, 5, 5, 640, 480);
panel.Initialize();
guiManager.AddControl(panel);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can add a control to a form or panel (or another control) like so:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DButton button = new DButton (guiManager, 5, 5, &amp;quot;Button&amp;quot;); // Button at 5,5 with text &amp;quot;Button&amp;quot;
button.Initialize();
form.AddPanel(button);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To register events for your gui elements, you can do something like the following:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
button.OnClick += new ButtonEventHandler(handleClick); // Register the click listener
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are many other properties to enable/disable hover color events, child panel clipping, accept focus, etc. Check out the demo in the &lt;a href="http://simplegui.codeplex.com/releases/48235/download/130291" class="externalLink"&gt;source code&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for more examples.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 03 Jul 2010 03:14:39 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20100703031439A</guid></item><item><title>Updated Wiki: Documentation</title><link>http://simplegui.codeplex.com/documentation?version=2</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;How to use DGui&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Controls must be registered with an instance of DGuiManager. You must pass your game object and a SpriteBatch object to the DGuiManager:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DGuiManager guiManager = new DGuiManager(this, spriteBatch);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Call DGuiManager.Update() in your update method to enable input to your controls.&lt;br /&gt;Call DGuiManager.Draw() in your draw method to draw the controls.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To add a form to your game:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DForm form = new DForm(guiManager, &amp;quot;MainForm&amp;quot;, null);
form.Size = new Vector2(640, 480);
form.Position = new Vector2(10, 10);
form.Initialize();
guiManager.AddControl(form);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Or to add a panel, using constructor parameters for size and position:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DPanel panel = new DPanel (guiManager, 5, 5, 640, 480);
panel.Initialize();
guiManager.AddControl(panel);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can add a control to a form or panel (or another control) like so:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DButton button = new DButton (guiManager, 5, 5, &amp;quot;Button&amp;quot;); // Button at 5,5 with text &amp;quot;Button&amp;quot;
button.Initialize();
form.AddPanel(button);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To register events for your gui elements, you can do something like the following:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
button.OnClick += new ButtonEventHandler(handleClick); // Register the click listener
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are many other properties to enable/disable hover color events, child panel clipping, accept focus, etc. Check out the demo code for more examples.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 03 Jul 2010 03:13:25 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20100703031325A</guid></item><item><title>Updated Wiki: Documentation</title><link>http://simplegui.codeplex.com/documentation?version=1</link><description>&lt;div class="wikidoc"&gt;Controls must be registered with an instance of DGuiManager. You must pass your game object and a SpriteBatch object to the DGuiManager:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DGuiManager guiManager = new DGuiManager(this, spriteBatch);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Call DGuiManager.Update() in your update method to enable input to your controls.&lt;br /&gt;Call DGuiManager.Draw() in your draw method to draw the controls.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To add a form to your game:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DForm form = new DForm(guiManager, &amp;quot;MainForm&amp;quot;, null);
form.Size = new Vector2(640, 480);
form.Position = new Vector2(10, 10);
form.Initialize();
guiManager.AddControl(form);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Or to add a panel, using constructor parameters for size and position:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DPanel panel = new DPanel (guiManager, 5, 5, 640, 480);
panel.Initialize();
guiManager.AddControl(panel);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can add a control to a form or panel (or another control) like so:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DButton button = new DButton (guiManager, 5, 5, &amp;quot;Button&amp;quot;); // Button at 5,5 with text &amp;quot;Button&amp;quot;
button.Initialize();
form.AddPanel(button);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To register events for your gui elements, you can do something like the following:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
button.OnClick += new ButtonEventHandler(handleClick); // Register the click listener
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are many other properties to enable/disable hover color events, child panel clipping, accept focus, etc. Check out the demo code for more examples.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 03 Jul 2010 03:13:06 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20100703031306A</guid></item><item><title>Updated Wiki: Home</title><link>http://simplegui.codeplex.com/wikipage?version=16</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;A GUI controls library for XNA 3.1. Contains panel, button &amp;#40;toggle and push&amp;#41;, checkbox, listbox, combobox, textbox, multi-line textbox, grid, layout, image, and form. Hook up control events to your game easily.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;DownloadId=130295" alt="DGui.png" title="DGui.png" /&gt;&lt;br /&gt;&lt;i&gt;Demo showing all control types. The source code includes this demo.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;About XNA Simple Gui&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This project is called XNA Simple Gui but the namespace is actually DGui.&lt;br /&gt;DGui controls use the mouse and keyboard for input and is thus intended for Windows games. Nevertheless, the source code is free and open and you are welcome to modify it to support Xbox 360 controls.&lt;br /&gt;DGui contains the following control elements:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;DPanel&lt;/li&gt;
&lt;li&gt;DButton/DToggleButton&lt;/li&gt;
&lt;li&gt;DComboBox&lt;/li&gt;
&lt;li&gt;DCheckbox&lt;/li&gt;
&lt;li&gt;DTextBox&lt;/li&gt;
&lt;li&gt;DMultiLineTextBox&lt;/li&gt;
&lt;li&gt;DGrid&lt;/li&gt;
&lt;li&gt;DListBox&lt;/li&gt;
&lt;li&gt;DForm&lt;/li&gt;
&lt;li&gt;DLayout&lt;/li&gt;
&lt;li&gt;DImage&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Controls can be arranged in a hierarchy to create more elaborate user interfaces.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What it doesn&amp;#39;t do&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Textured buttons or panels (list box items can have an image icon - no support for this on buttons yet)&lt;/li&gt;
&lt;li&gt;Orderable data grid (only a static grid)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;See the &lt;a href="http://simplegui.codeplex.com/documentation?referringTitle=Home"&gt;Documentation&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this is ok!&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 03 Jul 2010 03:12:53 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100703031253A</guid></item><item><title>Updated Wiki: Home</title><link>http://simplegui.codeplex.com/wikipage?version=15</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;A GUI controls library for XNA 3.1. Contains panel, button &amp;#40;toggle and push&amp;#41;, checkbox, listbox, combobox, textbox, multi-line textbox, grid, layout, image, and form. Hook up control events to your game easily.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;DownloadId=130295" alt="DGui.png" title="DGui.png" /&gt;&lt;br /&gt;&lt;i&gt;Demo showing all control types. The source code includes this demo.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;About XNA Simple Gui&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This project is called XNA Simple Gui but the namespace is actually DGui.&lt;br /&gt;DGui controls use the mouse and keyboard for input and is thus intended for Windows games. Nevertheless, the source code is free and open and you are welcome to modify it to support Xbox 360 controls.&lt;br /&gt;DGui contains the following control elements:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;DPanel&lt;/li&gt;
&lt;li&gt;DButton/DToggleButton&lt;/li&gt;
&lt;li&gt;DComboBox&lt;/li&gt;
&lt;li&gt;DCheckbox&lt;/li&gt;
&lt;li&gt;DTextBox&lt;/li&gt;
&lt;li&gt;DMultiLineTextBox&lt;/li&gt;
&lt;li&gt;DGrid&lt;/li&gt;
&lt;li&gt;DListBox&lt;/li&gt;
&lt;li&gt;DForm&lt;/li&gt;
&lt;li&gt;DLayout&lt;/li&gt;
&lt;li&gt;DImage&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Controls can be arranged in a hierarchy to create more elaborate user interfaces.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What it doesn&amp;#39;t do&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Textured buttons or panels (list box items can have an image icon - no support for this on buttons yet)&lt;/li&gt;
&lt;li&gt;Orderable data grid (only a static grid)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Controls must be registered with an instance of DGuiManager. You must pass your game object and a SpriteBatch object to the DGuiManager:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DGuiManager guiManager = new DGuiManager(this, spriteBatch);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Call DGuiManager.Update() in your update method to enable input to your controls.&lt;br /&gt;Call DGuiManager.Draw() in your draw method to draw the controls.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To add a form to your game:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DForm form = new DForm(guiManager, &amp;quot;MainForm&amp;quot;, null);
form.Size = new Vector2(640, 480);
form.Position = new Vector2(10, 10);
form.Initialize();
guiManager.AddControl(form);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Or to add a panel, using constructor parameters for size and position:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DPanel panel = new DPanel (guiManager, 5, 5, 640, 480);
panel.Initialize();
guiManager.AddControl(panel);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can add a control to a form or panel (or another control) like so:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
DButton button = new DButton (guiManager, 5, 5, &amp;quot;Button&amp;quot;); // Button at 5,5 with text &amp;quot;Button&amp;quot;
button.Initialize();
form.AddPanel(button);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To register events for your gui elements, you can do something like the following:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
button.OnClick += new ButtonEventHandler(handleClick); // Register the click listener
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are many other properties to enable/disable hover color events, child panel clipping, accept focus, etc. Check out the demo code for more examples.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this is ok!&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 03 Jul 2010 03:10:37 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100703031037A</guid></item><item><title>Updated Wiki: Home</title><link>http://simplegui.codeplex.com/wikipage?version=14</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;A GUI controls library for XNA 3.1. Contains panel, button &amp;#40;toggle and push&amp;#41;, checkbox, listbox, combobox, textbox, multi-line textbox, grid, layout, and form. Hook up control events to your game model easily.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;DownloadId=130295" alt="DGui.png" title="DGui.png" /&gt;&lt;br /&gt;&lt;i&gt;Demo showing all control types. The source code includes this demo.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;This project is called XNA Simple Gui but the namespace is actually DGui.&lt;br /&gt;&lt;br /&gt;DGui controls use the mouse and keyboard for input and is intended for Windows games. Nevertheless, the source code is free and open and you are welcome to modify it to support Xbox 360 controls.&lt;br /&gt;&lt;br /&gt;DGui contains the following control elements:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;DPanel&lt;/li&gt;
&lt;li&gt;DButton/DToggleButton&lt;/li&gt;
&lt;li&gt;DComboBox&lt;/li&gt;
&lt;li&gt;DCheckbox&lt;/li&gt;
&lt;li&gt;DTextBox&lt;/li&gt;
&lt;li&gt;DMultiLineTextBox&lt;/li&gt;
&lt;li&gt;DGrid&lt;/li&gt;
&lt;li&gt;DListBox&lt;/li&gt;
&lt;li&gt;DForm&lt;/li&gt;
&lt;li&gt;DLayout&lt;/li&gt;
&lt;li&gt;DImage&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;Controls can be arranged in a hierarchy to create more elaborate user interfaces.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What it doesn&amp;#39;t do&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Textured buttons or panels (list box items can have an image icon - no support for this on buttons yet)&lt;/li&gt;
&lt;li&gt;Orderable data grid (only a static grid)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;Controls must be registered with an instance of DGuiManager. You must pass your game object and a SpriteBatch object to the DGuiManager:&lt;br /&gt;&lt;pre&gt;
DGuiManager guiManager = new DGuiManager(this, spriteBatch);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Call DGuiManager.Update() in your update method to enable input to your controls.&lt;br /&gt;Call DGuiManager.Draw() in your draw method to draw the controls.&lt;br /&gt;&lt;br /&gt;To add a form to your game&lt;br /&gt;&lt;pre&gt;
DForm form = new DForm(guiManager, &amp;quot;MainForm&amp;quot;, null);
form.Size = new Vector2(640, 480);
form.Position = new Vector2(10, 10);
form.Initialize();
guiManager.AddControl(form);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Or panel, using constructor parameters for size and position&lt;br /&gt;&lt;pre&gt;
DPanel panel = new DPanel (guiManager, 5, 5, 640, 480);
panel.Initialize();
guiManager.AddControl(panel);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can add a control to a form or panel (or another control) like so:&lt;br /&gt;&lt;pre&gt;
DButton button = new DButton (guiManager, 5, 5, &amp;quot;Button&amp;quot;); // Button at 5,5 with text &amp;quot;Button&amp;quot;
button.Initialize();
form.AddPanel(button);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;To register events for your gui elements, you can do something like the following:&lt;br /&gt;&lt;pre&gt;
button.OnClick += new ButtonEventHandler(handleClick); // Register the click listener
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;There are many other properties to enable/disable hover color events, child panel clipping, accept focus, etc. Check out the demo code for more examples.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this is ok!&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 03 Jul 2010 03:07:50 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100703030750A</guid></item><item><title>Updated Wiki: Home</title><link>http://simplegui.codeplex.com/wikipage?version=13</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;A GUI controls library for XNA 3.1. Contains panel, button &amp;#40;toggle and push&amp;#41;, checkbox, listbox, combobox, textbox, multi-line textbox, grid, layout, and form. Hook up control events to your game model easily.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;DownloadId=130295" alt="DGui.png" title="DGui.png" /&gt;&lt;br /&gt;&lt;i&gt;Demo showing all control types. The source code includes this demo.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Control Elements&lt;/b&gt;
&lt;ul&gt;&lt;li&gt;DPanel&lt;/li&gt;
&lt;li&gt;DButton/DToggleButton&lt;/li&gt;
&lt;li&gt;DComboBox&lt;/li&gt;
&lt;li&gt;DCheckbox&lt;/li&gt;
&lt;li&gt;DTextBox&lt;/li&gt;
&lt;li&gt;DMultiLineTextBox&lt;/li&gt;
&lt;li&gt;DGrid&lt;/li&gt;
&lt;li&gt;DListBox&lt;/li&gt;
&lt;li&gt;DForm&lt;/li&gt;
&lt;li&gt;DLayout&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;Controls must be registered with an instance of DGuiManager. You must pass your game object and a SpriteBatch object to the DGuiManager:&lt;br /&gt;&lt;pre&gt;
DGuiManager guiManager = new DGuiManager(this, spriteBatch);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Call DGuiManager.Update() in your update method to enable input to your controls.&lt;br /&gt;Call DGuiManager.Draw() in your draw method to draw the controls.&lt;br /&gt;&lt;br /&gt;To add a form to your game&lt;br /&gt;&lt;pre&gt;
DForm form = new DForm(guiManager, &amp;quot;MainForm&amp;quot;, null);
form.Size = new Vector2(640, 480);
form.Position = new Vector2(10, 10);
form.Initialize();
guiManager.AddControl(form);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Or panel, using constructor parameters for size and position&lt;br /&gt;&lt;pre&gt;
DPanel panel = new DPanel (guiManager, 5, 5, 640, 480);
panel.Initialize();
guiManager.AddControl(panel);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can add a control to a form or panel (or another control) like so:&lt;br /&gt;&lt;pre&gt;
DButton button = new DButton (guiManager, 5, 5, &amp;quot;Button&amp;quot;); // Button at 5,5 with text &amp;quot;Button&amp;quot;
button.Initialize();
form.AddPanel(button);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;To register events for your gui elements, you can do something like the following:&lt;br /&gt;&lt;pre&gt;
button.OnClick += new ButtonEventHandler(handleClick); // Register the click listener
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;There are many other properties to enable/disable hover color events, child panel clipping, accept focus, etc. Check out the demo code for more examples.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this is ok!&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 03 Jul 2010 02:49:14 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100703024914A</guid></item><item><title>Updated Wiki: Home</title><link>http://simplegui.codeplex.com/wikipage?version=12</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;Some simple GUI control elements for XNA games. Uses events and delegates to link the GUI elements to your game.&lt;br /&gt;&lt;br /&gt;Uses drawing code from the Farseer Physics Demos and Ziggyware Scene Graph example.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;DownloadId=130294" alt="DGui.png" title="DGui.png" /&gt;&lt;br /&gt;&lt;i&gt;Demo showing all control types. The source code includes this demo.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Control Elements&lt;/b&gt;
&lt;ul&gt;&lt;li&gt;DPanel&lt;/li&gt;
&lt;li&gt;DButton/DToggleButton&lt;/li&gt;
&lt;li&gt;DComboBox&lt;/li&gt;
&lt;li&gt;DCheckbox&lt;/li&gt;
&lt;li&gt;DTextBox&lt;/li&gt;
&lt;li&gt;DMultiLineTextBox&lt;/li&gt;
&lt;li&gt;DGrid&lt;/li&gt;
&lt;li&gt;DListBox&lt;/li&gt;
&lt;li&gt;DForm&lt;/li&gt;
&lt;li&gt;DLayout&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;Controls must be registered with an instance of DGuiManager. You must pass your game object and a SpriteBatch object to the DGuiManager:&lt;br /&gt;&lt;pre&gt;
DGuiManager guiManager = new DGuiManager(this, spriteBatch);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Call DGuiManager.Update() in your update method to enable input to your controls.&lt;br /&gt;Call DGuiManager.Draw() in your draw method to draw the controls.&lt;br /&gt;&lt;br /&gt;To add a form to your game&lt;br /&gt;&lt;pre&gt;
DForm form = new DForm(guiManager, &amp;quot;MainForm&amp;quot;, null);
form.Size = new Vector2(640, 480);
form.Position = new Vector2(10, 10);
form.Initialize();
guiManager.AddControl(form);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Or panel, using constructor parameters for size and position&lt;br /&gt;&lt;pre&gt;
DPanel panel = new DPanel (guiManager, 5, 5, 640, 480);
panel.Initialize();
guiManager.AddControl(panel);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can add a control to a form or panel (or another control) like so:&lt;br /&gt;&lt;pre&gt;
DButton button = new DButton (guiManager, 5, 5, &amp;quot;Button&amp;quot;); // Button at 5,5 with text &amp;quot;Button&amp;quot;
button.Initialize();
form.AddPanel(button);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;To register events for your gui elements, you can do something like the following:&lt;br /&gt;&lt;pre&gt;
button.OnClick += new ButtonEventHandler(handleClick); // Register the click listener
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;There are many other properties to enable/disable hover color events, child panel clipping, accept focus, etc. Check out the demo code for more examples.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this is ok!&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 03 Jul 2010 02:33:33 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100703023333A</guid></item><item><title>Updated Wiki: Home</title><link>http://simplegui.codeplex.com/wikipage?version=11</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;Some simple GUI control elements for XNA games. Uses events and delegates to link the GUI elements to your game.&lt;br /&gt;&lt;br /&gt;Uses drawing code from the Farseer Physics Demos and Ziggyware Scene Graph example.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;DownloadId=130293" alt="DGui.png" title="DGui.png" /&gt;&lt;br /&gt;&lt;i&gt;Demo showing all control types. The source code includes this demo.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Control Elements&lt;/b&gt;
&lt;ul&gt;&lt;li&gt;DPanel&lt;/li&gt;
&lt;li&gt;DButton/DToggleButton&lt;/li&gt;
&lt;li&gt;DComboBox&lt;/li&gt;
&lt;li&gt;DCheckbox&lt;/li&gt;
&lt;li&gt;DTextBox&lt;/li&gt;
&lt;li&gt;DMultiLineTextBox&lt;/li&gt;
&lt;li&gt;DGrid&lt;/li&gt;
&lt;li&gt;DListBox&lt;/li&gt;
&lt;li&gt;DForm&lt;/li&gt;
&lt;li&gt;DLayout&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;Controls must be registered with an instance of DGuiManager. You must pass your game object and a SpriteBatch object to the DGuiManager:&lt;br /&gt;&lt;pre&gt;
DGuiManager guiManager = new DGuiManager(this, spriteBatch);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Call DGuiManager.Update() in your update method to enable input to your controls.&lt;br /&gt;Call DGuiManager.Draw() in your draw method to draw the controls.&lt;br /&gt;&lt;br /&gt;To add a form to your game&lt;br /&gt;&lt;pre&gt;
DForm form = new DForm(guiManager, &amp;quot;MainForm&amp;quot;, null);
form.Size = new Vector2(640, 480);
form.Position = new Vector2(10, 10);
form.Initialize();
guiManager.AddControl(form);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Or panel, using constructor parameters for size and position&lt;br /&gt;&lt;pre&gt;
DPanel panel = new DPanel (guiManager, 5, 5, 640, 480);
panel.Initialize();
guiManager.AddControl(panel);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can add a control to a form or panel (or another control) like so:&lt;br /&gt;&lt;pre&gt;
DButton button = new DButton (guiManager, 5, 5, &amp;quot;Button&amp;quot;); // Button at 5,5 with text &amp;quot;Button&amp;quot;
button.Initialize();
form.AddPanel(button);
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;To register events for your gui elements, you can do something like the following:&lt;br /&gt;&lt;pre&gt;
button.OnClick += new ButtonEventHandler(handleClick); // Register the click listener
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;There are many other properties to enable/disable hover color events, child panel clipping, accept focus, etc. Check out the demo code for more examples.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this is ok!&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 03 Jul 2010 01:45:00 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100703014500A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/simplegui/Wiki/View.aspx?title=Home&amp;version=10</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;Some simple GUI control elements for XNA games. Uses events and delegates to link the GUI elements to your game.&lt;br /&gt;&lt;br /&gt;Uses drawing code from the Farseer Physics Demos and Ziggyware Scene Graph example.
&lt;br /&gt; &lt;br /&gt;&lt;img src="http://www.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;amp;DownloadId=28336" alt="xnasimplegui2.png" /&gt;&lt;br /&gt;&lt;i&gt;Sample showing panel, buttons, checkbox, textbox, and listbox.&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Control Elements&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Panel           (DPanel)&lt;/li&gt;&lt;li&gt;Button          (DButton or DPushButton)&lt;/li&gt;&lt;li&gt;Checkbox  (DCheckBox)&lt;/li&gt;&lt;li&gt;Textbox      (DTextBox)&lt;/li&gt;&lt;li&gt;Listbox        (DListBox)&lt;/li&gt;&lt;li&gt;Image         (DImage)&lt;/li&gt;&lt;li&gt;Text             (DText)&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;To create a panel and add it to your game:&lt;br /&gt;&lt;pre&gt;
DPanel panel = new DPanel(Game, 5, 5, 400, 400); // Panel at 5,5 and dimensions 400x400 pixels
Components.Add(panel);
&lt;/pre&gt;You can add panels inside other panels:&lt;br /&gt;&lt;pre&gt;
DPanel childPanel = new DPanel(Game, 5, 5, 200, 200);
panel.AddPanel(childPanel);
&lt;/pre&gt;To register events for your gui elements, you can do something like the following:&lt;br /&gt;&lt;pre&gt;
DButton button = new DButton(Game, 5, 5);
button.OnClick += new ButtonEventHandler(handleClick); // Register the click listener
&lt;/pre&gt; &lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Hope this is ok!&lt;br /&gt;
&lt;/div&gt;</description><author>spamdog</author><pubDate>Sun, 09 Mar 2008 12:24:19 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080309122419P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/simplegui/Wiki/View.aspx?title=Home&amp;version=9</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;Some simple GUI control elements for XNA games. Uses events and delegates to link the GUI elements to your game.&lt;br /&gt;&lt;br /&gt;Uses drawing code from the Farseer Physics Demos and Ziggyware Scene Graph example.
&lt;br /&gt; &lt;br /&gt;&lt;img src="http://www.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;amp;DownloadId=28336" alt="xnasimplegui2.png" /&gt;&lt;br /&gt;&lt;i&gt;Sample showing panel, buttons, checkbox, textbox, and listbox.&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Control Elements&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Panel           (DPanel)&lt;/li&gt;&lt;li&gt;Button          (DButton or DPushButton)&lt;/li&gt;&lt;li&gt;Checkbox  (DCheckBox)&lt;/li&gt;&lt;li&gt;Textbox      (DTextBox)&lt;/li&gt;&lt;li&gt;Listbox        (DListBox)&lt;/li&gt;&lt;li&gt;Image         (DImage)&lt;/li&gt;&lt;li&gt;Text             (DText)&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;To create a panel and add it to your game:&lt;br /&gt;&lt;pre&gt;
DPanel panel = new DPanel(Game, 5, 5, 400, 400); // Panel at 5,5 and dimensions 400x400 pixels
Components.Add(panel);
&lt;/pre&gt; &lt;br /&gt;You can add panels inside other panels:&lt;br /&gt;&lt;pre&gt;
DPanel childPanel = new DPanel(Game, 5, 5, 200, 200);
panel.AddPanel(childPanel);
&lt;/pre&gt; &lt;br /&gt;To register events for your gui elements, you can do something like the following:&lt;br /&gt;&lt;pre&gt;
DButton button = new DButton(Game, 5, 5);
button.OnClick += new ButtonEventHandler(handleClick); // Register the click listener
&lt;/pre&gt; &lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Hope this is ok!&lt;br /&gt;
&lt;/div&gt;</description><author>spamdog</author><pubDate>Sun, 09 Mar 2008 12:23:46 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080309122346P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/simplegui/Wiki/View.aspx?title=Home&amp;version=8</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;Some simple control elements for XNA games. Uses events and delegates to link the GUI elements to your game.&lt;br /&gt;&lt;br /&gt;Uses drawing code from the Farseer Physics Demos and Ziggyware Scene Graph example.
&lt;br /&gt; &lt;br /&gt;&lt;img src="http://www.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;amp;DownloadId=28336" alt="xnasimplegui2.png" /&gt;&lt;br /&gt;&lt;i&gt;Sample showing panel, buttons, checkbox, textbox, and listbox.&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Control Elements&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Panel           (DPanel)&lt;/li&gt;&lt;li&gt;Button          (DButton or DPushButton)&lt;/li&gt;&lt;li&gt;Checkbox  (DCheckBox)&lt;/li&gt;&lt;li&gt;Textbox      (DTextBox)&lt;/li&gt;&lt;li&gt;Listbox        (DListBox)&lt;/li&gt;&lt;li&gt;Image         (DImage)&lt;/li&gt;&lt;li&gt;Text             (DText)&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;To create a panel and add it to your game:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;DPanel panel = new DPanel(Game, 5, 5, 400, 400); // Panel at 5,5 and dimensions 400x400 pixels&lt;/i&gt;&lt;br /&gt;&lt;i&gt;Components.Add(panel);&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;You can add panels inside other panels:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;DPanel childPanel = new DPanel(Game, 5, 5, 200, 200);&lt;/i&gt;&lt;br /&gt;&lt;i&gt;panel.AddPanel(childPanel);&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;To register events for your gui elements, you can do something like the following:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;DButton button = new DButton(Game, 5, 5);&lt;/i&gt;&lt;br /&gt;&lt;i&gt;button.OnClick += new ButtonEventHandler(handleClick); // Register the click listener&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Hope this is ok!&lt;br /&gt;
&lt;/div&gt;</description><author>spamdog</author><pubDate>Sun, 24 Feb 2008 02:50:30 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080224025030A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/simplegui/Wiki/View.aspx?title=Home&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;Some simple control elements for XNA games. Uses events and delegates to link the GUI elements to your game.&lt;br /&gt;&lt;br /&gt;Uses drawing code from the Farseer Physics Demos and Ziggyware Scene Graph example.
&lt;br /&gt; &lt;br /&gt;&lt;img src="http://www.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;amp;DownloadId=28322" alt="xnasimplegui2.png" /&gt;&lt;br /&gt;&lt;i&gt;Sample showing panel, buttons, checkbox, textbox, and listbox.&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Control Elements&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Panel           (DPanel)&lt;/li&gt;&lt;li&gt;Button          (DButton or DPushButton)&lt;/li&gt;&lt;li&gt;Checkbox  (DCheckBox)&lt;/li&gt;&lt;li&gt;Textbox      (DTextBox)&lt;/li&gt;&lt;li&gt;Listbox        (DListBox)&lt;/li&gt;&lt;li&gt;Image         (DImage)&lt;/li&gt;&lt;li&gt;Text             (DText)&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;To create a panel and add it to your game:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;DPanel panel = new DPanel(Game, 5, 5, 400, 400); // Panel at 5,5 and dimensions 400x400 pixels&lt;/i&gt;&lt;br /&gt;&lt;i&gt;Components.Add(panel);&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;You can add panels inside other panels:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;DPanel childPanel = new DPanel(Game, 5, 5, 200, 200);&lt;/i&gt;&lt;br /&gt;&lt;i&gt;panel.AddPanel(childPanel);&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;To register events for your gui elements, you can do something like the following:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;DButton button = new DButton(Game, 5, 5);&lt;/i&gt;&lt;br /&gt;&lt;i&gt;button.OnClick += new ButtonEventHandler(handleClick); // Register the click listener&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Hope this is ok!&lt;br /&gt;
&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 23 Feb 2008 16:58:20 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080223045820P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/simplegui/Wiki/View.aspx?title=Home&amp;version=6</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;Some simple control elements for XNA games. Uses events and delegates to link the GUI elements to your game.&lt;br /&gt;&lt;br /&gt;Uses drawing code from the Farseer Physics Demos and Ziggyware Scene Graph example.
&lt;br /&gt; &lt;br /&gt;&lt;span class="unresolved"&gt;Cannot resolve link: &lt;/span&gt;[image:xnasimplegui2.png]&lt;br /&gt;&lt;i&gt;Sample showing panel, buttons, listboxes, scrollbars, image and text.&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Control Elements&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Panel           (DPanel)&lt;/li&gt;&lt;li&gt;Button          (DButton or DPushButton)&lt;/li&gt;&lt;li&gt;Checkbox  (DCheckBox)&lt;/li&gt;&lt;li&gt;Textbox      (DTextBox)&lt;/li&gt;&lt;li&gt;Listbox        (DListBox)&lt;/li&gt;&lt;li&gt;Image         (DImage)&lt;/li&gt;&lt;li&gt;Text             (DText)&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;To create a panel and add it to your game:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;DPanel panel = new DPanel(Game, 5, 5, 400, 400); // Panel at 5,5 and dimensions 400x400 pixels&lt;/i&gt;&lt;br /&gt;&lt;i&gt;Components.Add(panel);&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;You can add panels inside other panels:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;DPanel childPanel = new DPanel(Game, 5, 5, 200, 200);&lt;/i&gt;&lt;br /&gt;&lt;i&gt;panel.AddPanel(childPanel);&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;To register events for your gui elements, you can do something like the following:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;DButton button = new DButton(Game, 5, 5);&lt;/i&gt;&lt;br /&gt;&lt;i&gt;button.OnClick += new ButtonEventHandler(handleClick); // Register the click listener&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Hope this is ok!&lt;br /&gt;
&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 23 Feb 2008 16:53:55 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080223045355P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/simplegui/Wiki/View.aspx?title=Home&amp;version=5</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;Some simple control elements for XNA games. Uses events and delegates to link the GUI elements to your game.&lt;br /&gt;&lt;br /&gt;Uses drawing code from the Farseer Physics Demos&amp;#58;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;www.codeplex.com&amp;#47;FarseerPhysics
&lt;br /&gt; &lt;br /&gt;&lt;img src="http://www.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=simplegui&amp;amp;DownloadId=28312" alt="xnasimplegui.png" /&gt;&lt;br /&gt;&lt;i&gt;Sample showing panel, buttons, listboxes, scrollbars, image and text.&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Control Elements&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Panel           (DPanel)&lt;/li&gt;&lt;li&gt;Button          (DButton or DPushButton)&lt;/li&gt;&lt;li&gt;Checkbox  (DCheckBox)&lt;/li&gt;&lt;li&gt;Textbox      (DTextBox)&lt;/li&gt;&lt;li&gt;Listbox        (DListBox)&lt;/li&gt;&lt;li&gt;Image         (DImage)&lt;/li&gt;&lt;li&gt;Text             (DText)&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;b&gt;How to use&lt;/b&gt;&lt;br /&gt;To create a panel and add it to your game:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;DPanel panel = new DPanel(Game, 5, 5, 400, 400); // Panel at 5,5 and dimensions 400x400 pixels&lt;/i&gt;&lt;br /&gt;&lt;i&gt;Components.Add(panel);&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;You can add panels inside other panels:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;DPanel childPanel = new DPanel(Game, 5, 5, 200, 200);&lt;/i&gt;&lt;br /&gt;&lt;i&gt;panel.AddPanel(childPanel);&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;To register events for your gui elements, you can do something like the following:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;DButton button = new DButton(Game, 5, 5);&lt;/i&gt;&lt;br /&gt;&lt;i&gt;button.OnClick += new ButtonEventHandler(handleClick); // Register the click listener&lt;/i&gt;&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Thanks to&lt;/b&gt;&lt;br /&gt;Farseer Physics! I used your drawing helper classes.&lt;br /&gt;&lt;a href="http://www.codeplex.com/FarseerPhysics" class="externalLink"&gt;http://www.codeplex.com/FarseerPhysics&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Also to Ziggyware, I used your SceneGraph example:&lt;br /&gt;&lt;a href="http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0" class="externalLink"&gt;http://www.ziggyware.com/readarticle.php?article_id=130&amp;amp;rowstart=0&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Hope this is ok!&lt;br /&gt;
&lt;/div&gt;</description><author>spamdog</author><pubDate>Sat, 23 Feb 2008 12:33:57 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080223123357P</guid></item></channel></rss>