This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Screen orientation problem when using iPhone UI with Edgelib


Screen orientation problem when using iPhone UI with Edgelib

Postby Orion_ » Mar 4, 2010 @ 4:20pm

Hello,

I'm using edgelib with facebook connect iphone api.
I want to add a simple connect button on the view but in landscape mode.
I added the Info.plist property "Initial interface orientation" in "Landscape (right home button)".
I also set up the edgelib orientation flag to DOR_LANDSCAPE in OnDisplayConfig.
But this doesn't seems to do anything, I still have to correct the orientation using opengl rotation/translation + correcting the x/y touch point by hand.
But the main problem is that my connect button added by facebook connect api is not rotated in landscape mode.
Do you know how can I solve this issue ?

Thank you.
Orion_
pm Member
 
Posts: 20
Joined: Jan 28, 2009 @ 4:51pm
Location: Paris, France


Postby edge » Mar 12, 2010 @ 7:11pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Orion_ » Mar 15, 2010 @ 3:39pm

thanks for the answer.
This is working for one part of the problem, the keyboard is now in the correct orientation.
But the facebook button is still not rotated.
Orion_
pm Member
 
Posts: 20
Joined: Jan 28, 2009 @ 4:51pm
Location: Paris, France


Postby edge » Mar 15, 2010 @ 7:50pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Orion_ » Mar 16, 2010 @ 11:02am

Orion_
pm Member
 
Posts: 20
Joined: Jan 28, 2009 @ 4:51pm
Location: Paris, France


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron