Re: Questions about GUI design on N800
Hi, On Fri, Feb 23, 2007 at 09:15:16AM +0200, ext [EMAIL PROTECTED] wrote: 1. Is it possible to use the display of the N800 in portrait orientation? My application currently runs on a display that is 640x480. 800x480 would be a big advantage, but I can't figure out how to reorganize my layout for 480x800. Did I got you right? 800x480 is the default on N800. Haven't tested screen rotation on N800. On 770 it worked, but one had to gave up few optimizations: http://syslog.movial.fi/archives/7-xrandr-on-nokia-770.html Easiest way is to just run xrandr on N800 and see what happens. That will rotate in software, which is immensely slow. The LCD controller (Hailstorm) can rotate on scanout in hardware, so using that won't be a performance hit, will still let you display videos, and will generally be a great deal faster. That's dtrue and of course should be preffered over software solution. The only advance of the software solution is that it can be easily controlled from the application, but if the goal is to run nothing but this software in kiosk mode I would also vote for the HW solution. Br, Sampo ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Questions about GUI design on N800
On Fri, Feb 23, 2007 at 12:21:36PM +0200, ext [EMAIL PROTECTED] wrote: On Fri, Feb 23, 2007 at 09:15:16AM +0200, ext [EMAIL PROTECTED] wrote: Did I got you right? 800x480 is the default on N800. Haven't tested screen rotation on N800. On 770 it worked, but one had to gave up few optimizations: http://syslog.movial.fi/archives/7-xrandr-on-nokia-770.html Easiest way is to just run xrandr on N800 and see what happens. That will rotate in software, which is immensely slow. The LCD controller (Hailstorm) can rotate on scanout in hardware, so using that won't be a performance hit, will still let you display videos, and will generally be a great deal faster. That's dtrue and of course should be preffered over software solution. The only advance of the software solution is that it can be easily controlled from the application, but if the goal is to run nothing but this software in kiosk mode I would also vote for the HW solution. The hardware solution can also be controlled from software, via the exact same API (XRandR). It's just a matter of actually implementing it; the use is exactly the same. Cheers, Daniel signature.asc Description: Digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Questions about GUI design on N800
Hi, On Fri, Feb 23, 2007 at 09:15:16AM +0200, ext [EMAIL PROTECTED] wrote: Did I got you right? 800x480 is the default on N800. Haven't tested screen rotation on N800. On 770 it worked, but one had to gave up few optimizations: http://syslog.movial.fi/archives/7-xrandr-on-nokia-770.html Easiest way is to just run xrandr on N800 and see what happens. That will rotate in software, which is immensely slow. The LCD controller (Hailstorm) can rotate on scanout in hardware, so using that won't be a performance hit, will still let you display videos, and will generally be a great deal faster. That's dtrue and of course should be preffered over software solution. The only advance of the software solution is that it can be easily controlled from the application, but if the goal is to run nothing but this software in kiosk mode I would also vote for the HW solution. The hardware solution can also be controlled from software, via the exact same API (XRandR). It's just a matter of actually implementing it; the use is exactly the same. I think you got my point: you just need to implement it. :-) Br, Sampo ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Questions about GUI design on N800
Oh, I see - yes, usually resolutions are given in (w)x(h). I agree it would be nice if the unit could switch between landscape and portrait mode. David On 2/22/07, Jeffrey Barish [EMAIL PROTECTED] wrote: On Thursday 22 February 2007 11:57:50 you wrote: On 2/22/07, Jeffrey Barish [EMAIL PROTECTED] wrote: 1. Is it possible to use the display of the N800 in portrait orientation? My application currently runs on a display that is 640x480. 800x480 would be a big advantage, but I can't figure out how to reorganize my layout for 480x800. The display on the n800 is 800x480 so if your program is designed to operate at 640x480 you shouldn't need to operate in portrait mode - am I missing something? It looks as if I am sideways. My current design works on 640 (h) x 480 (w), which I gather I should have described as 480x640 (although Dell describes it as I did). I would love 800 (h) x 480 (w) as I would merely stretch existing GUI elements to fill the additional space. However, 800 (w) x 480 (h) is a problem. -- Jeffrey Barish ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Questions about GUI design on N800
On Thu, Feb 22, 2007 at 10:11:54AM -0700, Jeffrey Barish wrote: 2. Is it difficult to run an application in full-screen mode so that controls such as the task navigator and application switcher do not appear? Not difficult. You use the standard GTK+ API for toggling full-screen mode (gtk_window_fullscreen). 4. Is it possible to control stand-by mode programmatically? How does the N800 decide that the system is idle? If an application is running and is updating a progress bar, is that activity sufficient to keep the N800 out of standby mode? If you're talking about screen blanking, then the N800 counts seconds after the last user event (tap/hardware button press). If your application wants to keep the screen on without user activity, it should periodically call osso_display_blanking_pause (once every 59 seconds). A better idea may be to call osso_display_state_on after the progress bar is completed. That will save battery, and let the user see when your operation finishes. See http://maemo.org/platform/docs/api-bora/libosso/index.html Marius Gedminas -- 1 4m 5o 3l337! just got r00t on this a href=127.0.0.1k3wl site/a j00 sux0r5! signature.asc Description: Digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Questions about GUI design on N800
On Thu, 2007-02-22 at 11:20 -0800, ext David Leinbach wrote: Oh, I see - yes, usually resolutions are given in (w)x(h). Lucas Rocha has been blogging about how this problem is being solved: Hildon UI Development News http://blogs.gnome.org/view/lucasr/2007/01/29/0 Hildon Desktop Scalability http://blogs.gnome.org/view/lucasr/2007/02/09/0 -- Quim Gil - http://maemo.org ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Questions about GUI design on N800
On Fri, Feb 23, 2007 at 09:15:16AM +0200, ext [EMAIL PROTECTED] wrote: 1. Is it possible to use the display of the N800 in portrait orientation? My application currently runs on a display that is 640x480. 800x480 would be a big advantage, but I can't figure out how to reorganize my layout for 480x800. Did I got you right? 800x480 is the default on N800. Haven't tested screen rotation on N800. On 770 it worked, but one had to gave up few optimizations: http://syslog.movial.fi/archives/7-xrandr-on-nokia-770.html Easiest way is to just run xrandr on N800 and see what happens. That will rotate in software, which is immensely slow. The LCD controller (Hailstorm) can rotate on scanout in hardware, so using that won't be a performance hit, will still let you display videos, and will generally be a great deal faster. Cheers, Daniel signature.asc Description: Digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers