[MeeGo-touch-dev] libmeegotouch for Portrait-oriented LCDs?

Michael Hasselmann michaelh at openismus.com
Thu Sep 16 12:06:24 PDT 2010


On Wed, 2010-09-15 at 16:35 -0600, Eugene Seah wrote:
> It seems that the rotation angle of the UI is tied to the orientation 
> type (portrait or landscape).
> On a 480x800 screen, we have angle 0 rotation corresponding to what 
> should be portrait layout, but libmeegotouch is orienting all the apps 
> to use a landscape layout policy instead.

And why is it necessary to remap 0° to portrait, and 90° to landscape?
Since landscape and portrait mode are mirrored to the opposing angles
(180° and 270° respectively), you have all the freedom you need (ie.,
the opposite orientation sits "left" and "right" of your current
orientation).

So the only remaining issue is to set the *default* orientation that
your device wants to start with.

regards,
Michael



More information about the MeeGo-touch-dev mailing list