diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-4BAA1BE9-E590-564E-8D5C-C7191AB4D8A6.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-4BAA1BE9-E590-564E-8D5C-C7191AB4D8A6.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,52 @@ + + + + + +BitmapsShell: +dealing with bitmaps +

Note: This example is designed to work with TechView and there +is no guarantee that it will work with other interfaces.

+
Download

Click +on the following link to download the example: BitmapsShell.zip

Download some additional files +required by the example: CommonGraphicsExampleFiles

Click: browse to view the example code.

View the additional +files: browse.
+
Description

BitmapsShell provides +an application shell, and two concrete controls.

CGraphicExampleControl is +a control class, derived from CCoeControl, which links the +app shell to the particular controls.

The CBitmapControl and CFbsControl classes, +derived from CGraphicExampleControl, define behaviour for +their particular controls.

CBitmapControl illustrates +the handling and rendering of bitmaps.

CFbsControl illustrates +the use of the font and bitmap server.

+
Build

The source code for this example application +can be found in the directory:

examples\Graphics\Bitmaps

This +source code may be in the directory in which you installed the Symbian platform, +or it may be in src\common\developerlibrary\ directory. +The directory includes the two project files needed for building the example: bld.inf and +the .mmp file.

The +Symbian build process describes how to build this application. For +the emulator, an application called BitmapsShell.exe is +created in epoc32\release\winscw\<udeb or urel>\.

+
Usage
    +
  1. Launch the emulator:

    \epoc32\release\winscw\<urel +or udeb>\EPOC.EXE.

  2. +
  3. Click on BITMAPSSHELL to +run the application. If using the TechView emulator, this will be in +the Extras menu.

  4. +
  5. The controls are listed +on the menu List of Programs. +Press the appropriate menu item to select a specific control.

  6. +
  7. Step through each phase +of an example by pressing the space bar or by tapping on the window drawn +by that example.

  8. +
+
Class Summary

By the bitmap control:

TPoint

TRect

TSize

CWindowGc

TRgb

CFont

CFbsBitmap

By +the font and bitmap server control:

CWindowGc

CFbsBitmap

+
\ No newline at end of file