<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>[5] How rotate an allegro display ?</title>
		<link>http://www.allegro.cc/forums/view/614681</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Tue, 30 Sep 2014 13:04:23 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hello,</p><p>i learn how events are coding on allegro 5 and i see that kind of event :</p><p>ALLEGRO_EVENT_DISPLAY_ORIENTATION</p><p>and property of display :<br />event.display.orientation</p><p>    Contains one of the following values:</p><p>        ALLEGRO_DISPLAY_ORIENTATION_0_DEGREES<br />        ALLEGRO_DISPLAY_ORIENTATION_90_DEGREES<br />        ALLEGRO_DISPLAY_ORIENTATION_180_DEGREES<br />        ALLEGRO_DISPLAY_ORIENTATION_270_DEGREES<br />        ALLEGRO_DISPLAY_ORIENTATION_FACE_UP<br />        ALLEGRO_DISPLAY_ORIENTATION_FACE_DOWN</p><p>how is it possible to rotate an allegro display ? <br />(i am under visual studio 2013 and windows 8.)</p><p>Thank you.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fred58)</author>
		<pubDate>Mon, 29 Sep 2014 14:54:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The events are intended to catch the rotation of the display by the undelying operative system, tipically on mobile platforms (Android &amp; iOS) I presume, even thou it&#39;s possible to rotate the display also on Windows I currently don&#39;t know if Allegro catches such events on this platform.</p><p>I don&#39;t think (if I understood you corrcetly) that there&#39;s a method in Allegro API that lets YOU change the orientation.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (pkrcel)</author>
		<pubDate>Mon, 29 Sep 2014 15:30:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yes, those events are if the device itself detected a physical orientation change.</p><p>If you want to rotate your drawing, use <span class="source-code"><a href="http://www.allegro.cc/manual/ALLEGRO_TRANSFORM"><span class="a">ALLEGRO_TRANSFORM</span></a></span> s.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Mon, 29 Sep 2014 22:00:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>thank you very much, Allegro is a wonderful library full of surprises !</p><p>Fred
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fred58)</author>
		<pubDate>Tue, 30 Sep 2014 13:04:23 +0000</pubDate>
	</item>
</rss>
