Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2011-12-19 20:18:08
Size: 1093
Editor: SheenaSmith
Comment: some sans-Sam editing (shift green to comment); default statement
Revision 4 as of 2011-12-31 20:53:34
Size: 1023
Editor: SheenaSmith
Comment: minor change
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
By default all orientations are allowed.  ???

{{{#!wiki comment
This hint appears to have no default.
}}}
By default all orientations are allowed.

DRAFT

SDL_HINT_ORIENTATIONS

A hint that specifies a variable controlling which orientations are allowed on iOS.

Values

LandscapeLeft

top of device left

LandscapeRight

top of device right

Portrait

top of device up

PortraitUpsideDown

top of device down

Default

By default all orientations are allowed.

Code Examples

You can add your code example here

Remarks

In some circumstances it is necessary to be able to explicitly control which UI orientations are allowed.

This variable is a space delimited list of the above values.


CategoryDefine, CategoryHints

None: SDL_HINT_ORIENTATIONS (last edited 2015-06-20 19:43:03 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit