<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Stupid newb + file_select_ex = stupid newb post about file_select_ex</title>
		<link>http://www.allegro.cc/forums/view/566519</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Mon, 13 Feb 2006 21:58:33 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey guys;</p><p>Trying to write up a quick little program here. I&#39;ve done ok so far, but I&#39;ve never used the GUI componants. Yes, I&#39;ve heard that no one likes the Allegro GUI. But I only need one thing from it: The File Dialog box. I figure it&#39;s simpler to use an ugly box that&#39;s already made than to make one of my own.</p><p>Problem is, I haven&#39;t a clue how to use it. Can anyone throw me a quick example of getting the GUI box onscreen? I checked the GUI Clinic tutorials but they didn&#39;t have anything about it listed there.</p><p>Sidenote: If I do need a GUI later, what&#39;s everyone&#39;s recommendation here?</p><p>Thanks!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Ampersand)</author>
		<pubDate>Mon, 13 Feb 2006 17:16:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Quick little &quot;select a picture to load&quot; dialog using file_select_ex:</p><div class="source-code snippet"><div class="inner"><pre><span class="k1">char</span> path<span class="k2">[</span><span class="n">100</span><span class="k2">]</span> <span class="k3">=</span> <span class="s">""</span><span class="k2">;</span>

<a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>temp<span class="k2">;</span>

<span class="k1">if</span> <span class="k2">(</span><a href="http://www.allegro.cc/manual/file_select_ex" target="_blank"><span class="a">file_select_ex</span></a><span class="k2">(</span><span class="s">"Select a picture"</span>, path, <span class="s">"BMP;LBM;PCX;TGA"</span>, <span class="k1">sizeof</span><span class="k2">(</span>path<span class="k2">)</span>, <span class="n">600</span>, <span class="n">460</span><span class="k2">)</span> <span class="k3">!</span><span class="k3">=</span> <span class="n">0</span><span class="k2">)</span>
<span class="k2">{</span>
    temp <span class="k3">=</span> <a href="http://www.allegro.cc/manual/load_bitmap" target="_blank"><span class="a">load_bitmap</span></a><span class="k2">(</span>path, NULL<span class="k2">)</span><span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (kdevil)</author>
		<pubDate>Mon, 13 Feb 2006 21:54:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
If I do need a GUI later, what&#39;s everyone&#39;s recommendation here?
</p></div></div><p>

MASkinG is a good one.<br />For GUIs look <a href="http://www.allegro.cc/resource/index.php?id=8">here</a>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Michael Faerber)</author>
		<pubDate>Mon, 13 Feb 2006 21:58:33 +0000</pubDate>
	</item>
</rss>
