Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Screen handling


Screen size independence

Neither the window server nor the UI control framework are dependent on screen size. At system start time, the window server interrogates the HAL to find out the size of the screen.

Applications should be written to be independent of the screen size. In some cases, particularly when the application is targeted at a small-screen handheld device, the view will be tailored to a known screen size. But since the Symbian OS will be implemented on many platforms with varying screen sizes, applications should build in flexibility where possible.

[Top]


Mode switching

Some machines running the Symbian OS support multiple screen modes — for instance, 2- and 4-bit-per-pixel modes, allowing 4 or 16 shades of grey.

On a handheld machine, the main drain on batteries is the data transfer which supports screen refresh. Thus, there is a strong incentive to use 2bpp if possible, and 4bpp only when necessary.

The window server keeps track of the windows visible on the screen, and automatically switches the screen to the mode which uses the least power but supports all the modes of these windows. On a machine like that described above, the 2bpp mode would be used unless part of at least one 4bpp window was visible on the screen.