void PortraitMode();

 

Sets the application to portrait mode.  In this mode the screen dimensions are 320 pixels wide by 480 pixels high (for iPhone / iPod touch devices) or 768 pixels wide by 1024 pixels high (for iPad devices).  Application X and Y values are handled accordingly.

 

Availability

 

Available in DragonFireSDK 1.0 and later.

 

Example

 

#include "DragonFireSDK.h"

 

void AppMain()

{

  PortraitMode();

}

 

void AppExit()

{

 

}

 

void OnTimer()

{

 

}