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

Runtime display rotation


Runtime display rotation

Postby Nomad » Apr 17, 2007 @ 1:45pm

Hi, All.
I want to add an option to menu to set display and keys rotation (for right or lefthanded people). Is this possible at runtime or application must be restarted to apply this?
Regards, Nomad.
Nomad
pm Member
 
Posts: 76
Joined: Oct 28, 2006 @ 8:21pm
Location: Ukraine, Kiev


Postby edge » Apr 17, 2007 @ 3:10pm

Hi Nomad,

It's currently not supported to change the display orientation runtime.

However, you may try the following method (please note that this is an untested method and may not work):
- Destroy all surfaces
- Call display->Close()
- Set rotation in ecd.cfg->rotation
- Call display->Open()
- Reload surfaces
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


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