<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>GUI Libraries</title>
		<link>http://www.allegro.cc/forums/view/558143</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Mon, 09 Jan 2006 09:19:43 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>hey, do you know of any good, easy-using gui systems around? cegui is too complex for me right now, im just looking for something easy to use for making windows and menus and stuff, i want a nice easy good looking gui library</p><p>i looked into glo, i don&#39;t like that either</p><p>and i definately didn&#39;t want to use allegro&#39;s gui susystem, once i saw how it looked i literally wanted to stick my fingers down my throat and vomit.</p><p>thanks in advance <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Money)</author>
		<pubDate>Sun, 08 Jan 2006 05:21:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Masking is pretty easy to use... Other than that try guichan?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (nonnus29)</author>
		<pubDate>Sun, 08 Jan 2006 05:42:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Are you looking for in a game or a stand-alone program?</p><p>If you&#39;re looking for a stand-alone, you should look into the big ones:<br />Windows API (not as bad as it sounds! especially if you can &quot;get your hands on&quot; any copy of MSVC with its awesome dialog editor)<br />Umm... The Linux ones like GTK and junk. I don&#39;t know the actual names to be honest with you <img src="http://www.allegro.cc/forums/smileys/rolleyes.gif" alt="::)" />. I think GTK is a GUI lib for the X Windows System, yes? Someone will correct me. </p><p>Anyways, Windows isn&#39;t a bad place to start, IMHO. Dialogs are super easy and you don&#39;t have to deal with the messy registration routines or anything, DialogBox does all that for you. And the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/dialogboxes/dialogboxreference/dialogboxfunctions/dialogbox.asp">MSDN reference</a> is very useful!</p><p>EDIT: Win32 is daunting at first, but don&#39;t be afraid of it! All thos HINSTNACE and crap like that, they&#39;re just pointers! Anything with an H in front of it is a pointer, pretty much. You&#39;ll get the hang of it quickly
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Synapse Jumps)</author>
		<pubDate>Sun, 08 Jan 2006 07:49:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>MASkinG is super cool. I suggest you use that. Or perhaps you could try making your own GUI? It&#39;s a big job and chances are you won&#39;t complete it, but it&#39;s a good learning experience.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonny Cook)</author>
		<pubDate>Sun, 08 Jan 2006 10:00:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
Guichan comes with zero documentation. I tried.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (X-G)</author>
		<pubDate>Sun, 08 Jan 2006 10:01:28 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>MASkinG is the best I know of.<br />The documentation is quite rich too.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trezker)</author>
		<pubDate>Sun, 08 Jan 2006 12:47:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Linux (or really X11) uses GTK or Qt more often than not. Both GTK and Qt4 work in X and Windows, so if you&#39;re looking for a stand-alone cross-platform solution, that&#39;s the way to go.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kitty Cat)</author>
		<pubDate>Sun, 08 Jan 2006 13:25:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I think he already tried MASkinG and failed to install it. </p><p>From what I&#39;ve seen so far I think CGUI is the best one out there and most complete too. But as the dancing tiger said, it depends on what you want to do. If you want to make an application such as some sort of editor and want it to integrate seamlessly with the desktop environment, then you will want to go with a big general purpose lib. Your choice also depends on whether you want your product to be cross platform. If you do, then what Kitty Cat said. Or you could even go the Java way and use it&#39;s GUI. But if you want specifically something that will give you a GUI for your Allegro game, then you will want one of the Allegro add-on libraries. MASkinG can be used for games, as well as CGUI, and then there&#39;s that XML base GUI lib that looks very promissing...</p><p>EDIT:<br />Here&#39;s a list of some of the GUI libraries you might want to check out: <a href="http://www.allegro.cc/resource/index.php?id=8">http://www.allegro.cc/resource/index.php?id=8</a><br />There are some others on the depot as well...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Sun, 08 Jan 2006 14:06:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
and i definately didn&#39;t want to use allegro&#39;s gui susystem, once i saw how it looked i literally wanted to stick my fingers down my throat and vomit.
</p></div></div><p>
You can overload the drawing operations, eg (pseudoish code)
</p><div class="source-code snippet"><div class="inner"><pre><span class="k1">int</span> my_button_proc<span class="k2">(</span><span class="k1">int</span> msg, <a href="http://www.allegro.cc/manual/DIALOG" target="_blank"><span class="a">DIALOG</span></a> <span class="k3">*</span>d, <span class="k1">int</span> c<span class="k2">)</span>
<span class="k2">{</span>
   <span class="k1">if</span> <span class="k2">(</span>msg <span class="k3">=</span><span class="k3">=</span> MSG_DRAW<span class="k2">)</span> <span class="k2">{</span>
      <a href="http://www.allegro.cc/manual/stretch_blit" target="_blank"><span class="a">stretch_blit</span></a><span class="k2">(</span>bmp, <a href="http://www.allegro.cc/manual/gui_get_screen" target="_blank"><span class="a">gui_get_screen</span></a><span class="k2">(</span><span class="k2">)</span>, <span class="n">0</span>, <span class="n">0</span>, bmp-&gt;w, bmp-&gt;h, d-&gt;x, d-&gt;y,
                   d-&gt;w, d-&gt;h<span class="k2">)</span><span class="k2">;</span>
      <span class="c">/* other stuff, eg text */</span>
      <span class="k1">return</span> D_O_K<span class="k2">;</span>
   <span class="k2">}</span>

   <span class="k1">return</span> <a href="http://www.allegro.cc/manual/d_button_proc" target="_blank"><span class="a">d_button_proc</span></a><span class="k2">(</span>msg, d, <span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>
creates a button that looks exactly how I want it to look and it still uses Allegro&#39;s default GUI system.<br />You may also want to have a look at ADime (<a href="http://adime.sourceforge.net/">http://adime.sourceforge.net/</a>), which I&#39;ve never used but always thought was a pretty cool idea.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Sun, 08 Jan 2006 15:47:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>For in-game GFX i think i&#39;d use MASkinG.</p><p>For non-game GFX I&#39;d use glade or something (RAD gui tool for gtk).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (m c)</author>
		<pubDate>Sun, 08 Jan 2006 16:26:17 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve got the MASkinG binaries if you need them, Money (I have a feeling that&#39;s not your real name...)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonny Cook)</author>
		<pubDate>Mon, 09 Jan 2006 09:19:43 +0000</pubDate>
	</item>
</rss>
