03.01.2013 Views

Chapter 1

Chapter 1

Chapter 1

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Now it's time to be precise about how windows and controls work together to enable your<br />

application to share the screen with other applications and to enable the different parts of<br />

your application to work together.<br />

Symbian OS is a full multitasking system in which multiple applications may run<br />

concurrently. The screen is a single resource that must be shared among all these<br />

applications. Symbian OS implements this sharing using the window server. Each<br />

application draws to one or more windows; the window server manages the windows,<br />

ensuring that the correct window or windows are displayed, exposing and hiding windows as<br />

necessary, and managing overlaps (Figure 11.8).<br />

Figure 11.8<br />

An application must also share the screen effectively between its own components. These<br />

components include the main application view, the button bar, and other ornaments: dialogs,<br />

menus, and the like. An application uses controls for its components. Some controls –<br />

dialogs, for instance – use an entire window, but many others simply reside alongside other<br />

controls on an existing window. The buttons on a button bar behave this way, as do the fleet<br />

views in the main application view of Battleships.<br />

11.5.1 CONE<br />

Every GUI client uses CONE, the control environment, to provide the basic framework for<br />

controls and for communication with the window server in Figure 11.9:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!