|
2011-04-25
, 12:43
|
|
Posts: 345 |
Thanked: 72 times |
Joined on Dec 2009
@ Reunion Island
|
#2152
|
|
2011-04-25
, 14:34
|
Posts: 173 |
Thanked: 106 times |
Joined on Jun 2010
|
#2153
|
|
2011-04-25
, 14:40
|
|
Posts: 534 |
Thanked: 723 times |
Joined on Oct 2009
|
#2154
|
javispedro/jflatt, would you guys know whether it would be possbile to add true portrait support for games that are played in portrait mode? The games that are played in portrait work well, but notifications & volume control are in landscape - it would be nice to have them in portait since those two items do work in portrait mode maemo applications.
Just an idea, I have no idea how simple/complex it would be to incorporate, or any roadblocks in the way.
|
2011-04-25
, 15:03
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#2155
|
That would require knowing which specific programs displayed themselves in a portrait orientation, which would be a bit hackish. There isn't anything going on with Maemo API rotation there.
The Following User Says Thank You to javispedro For This Useful Post: | ||
|
2011-04-25
, 15:07
|
|
Posts: 397 |
Thanked: 241 times |
Joined on Mar 2010
@ Melbourne, Australia
|
#2156
|
That would require knowing which specific programs displayed themselves in a portrait orientation, which would be a bit hackish. There isn't anything going on with Maemo API rotation there.
|
2011-04-25
, 15:14
|
|
Posts: 397 |
Thanked: 241 times |
Joined on Mar 2010
@ Melbourne, Australia
|
#2157
|
That's what the PDL_SetOrientation function is for AFAIU, its a hint to the system UI from the game which orientation should system alerts, menus, etc. should use.
However, the issue is with the Maemo SDL. It doesn't work exactly well with the standard Hildon rotation (doesn't update its valid resolutions list when the screen is rotated, and thus crashes unless you don't render outside of a 480x480 area).
|
2011-04-25
, 15:18
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#2158
|
Thanks for the response jflatt. I just had a thought, bear with me if I don't make sense. Is a game that is running via preenv seen by Maemo like any other application that is running? If so, could we add a switch to preenv (and desktopgen), say -p, that would allow that instance of preenv to be seen by maemo as a portait application, and hence rotate volume controls and notifications?
javispedro, can an orientation be set independent of that function for the application/system interaction?
The Following User Says Thank You to javispedro For This Useful Post: | ||
|
2011-04-25
, 22:48
|
|
Posts: 397 |
Thanked: 241 times |
Joined on Mar 2010
@ Melbourne, Australia
|
#2159
|
|
2011-04-25
, 23:02
|
Posts: 10 |
Thanked: 0 times |
Joined on Jul 2010
|
#2160
|
Look it even reached 2 pages here and I don't see any need for that at all.
http://talk.maemo.org/search.php?searchid=10210140