[maemo-developers] Howto enable portrait mode support on Fremantle
From: Alberto Garcia agarcia at igalia.comDate: Fri Aug 21 15:12:40 EEST 2009
- Previous message: Howto enable portrait mode support on Fremantle
- Next message: Howto enable portrait mode support on Fremantle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Aug 21, 2009 at 10:59:32AM +0200, Cornelius Hald wrote: > > And I think that the use of signal "size-changed" is not the right > > way.(IMHO) > > You will need control real value size of window. You will need > > control changing to full screen and revert in window and in next > > Maemo devices size of screen may be large or small. You don't need anything new to detect orientation changes, screen size of window size. There's already standard GTK+ API for that. > Yes, there have been many discussions about that already. The > result of this discussion was that there is not a single correct > way of doing this. I´m assuming the following: width > height > => landscape and height > width => portrait. Of course this does > not work if you have a square screen ;) Well, I´m not super happy > with it, but inside scratchbox using xrandr to rotate the screen it > works. I really can't see the problem :-? Landscape is by definition when width > height, and portrait when width < height Maybe I'm overlooking something, but why would you need any new API? And how would you expect that API to work? > I think the bottom line is just that it´s very poorly documented Well, that might be true, but hopefully the documentation can be improved once the device is released, which is something that we can't do with the code :) that's why we're putting more effort in the latter. Berto
- Previous message: Howto enable portrait mode support on Fremantle
- Next message: Howto enable portrait mode support on Fremantle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]