<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>resizing displays</title>
		<link>http://www.allegro.cc/forums/view/610695</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 27 Jul 2012 21:10:13 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>How do I make a display that I set ALLEGRO_RESIZABLE to not be able to resize anymore?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (shadyvillian)</author>
		<pubDate>Wed, 25 Jul 2012 07:16:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Looks like <span class="source-code"><a href="http://www.allegro.cc/manual/al_toggle_display_flag"><span class="a">al_toggle_display_flag</span></a><span class="k2">(</span><span class="k2">)</span></span> only supports <span class="source-code">ALLEGRO_FULLSCREEN_WINDOW</span> and <span class="source-code">ALLEGRO_NOFRAME</span>. The only thing you could do is destroy the display and recreate it with <span class="source-code">ALLEGRO_RESIZABLE</span> turned off.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Todd Cope)</author>
		<pubDate>Wed, 25 Jul 2012 08:11:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The unstable version has a way to specify size constraints on the window, which you could use to implement something like this.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Wed, 25 Jul 2012 08:22:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve been using that function in the beginning of the program thats a good idea.</p><p>EDIT: doing that messes up the program big time and causes it to crash some how
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (shadyvillian)</author>
		<pubDate>Wed, 25 Jul 2012 18:10:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Do you remember to update <i>all</i> of the pointers to your display?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Luiji99)</author>
		<pubDate>Thu, 26 Jul 2012 08:48:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What do you mean exactly? I&#39;ve attached a screenshot to what happens.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (shadyvillian)</author>
		<pubDate>Thu, 26 Jul 2012 19:13:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>No, you haven&#39;t.</p><p>What I mean is, did you update every single variable of type <span class="source-code"><a href="http://www.allegro.cc/manual/ALLEGRO_DISPLAY"><span class="a">ALLEGRO_DISPLAY</span></a><span class="k3">*</span></span> to point to the new display? If you haven&#39;t, at some point you&#39;ll try to access the old pointer, which you&#39;ve destroyed, which will lead to unpredictable results.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Luiji99)</author>
		<pubDate>Thu, 26 Jul 2012 20:55:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oh you have to create a new display? I can&#39;t do that I&#39;d have to reload all my resources.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (shadyvillian)</author>
		<pubDate>Fri, 27 Jul 2012 18:10:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That appears to be your only option, sorry. The only resource that I think gets attached to a display is <span class="source-code"><a href="http://www.allegro.cc/manual/ALLEGRO_BITMAP"><span class="a">ALLEGRO_BITMAP</span></a></span>, though, and I&#39;m pretty sure there&#39;s a way to transfer them over from one display to another without reloading them.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Luiji99)</author>
		<pubDate>Fri, 27 Jul 2012 21:10:13 +0000</pubDate>
	</item>
</rss>
