This example application demonstrates creating semi-transparent UI content over OpenVG content that is rendered to a composition surface. This is only possible when ScreenPlay is enabled.
Click on the following link to download the example: GraphicsShell.zip
Click: browse to view the example code.
The example
is located in the examples\Graphics\CoverFlow
directory.
Figure: Basic Screenshot
Figure: Screenshot showing ticker and incoming call animation
Figure: Screenshot showing the absence of the mirror surface
CCoverFlowAppUi
CEGLRendering
MEngine
CDialogBox
COpenVGEngine
CTicker
CLoader
Figure: UML class diagram
The Symbian build process describes how to build an application.
Change the WINDOWMODE
parameter to Color16MAP
in epoc32\release\winscw\<udeb/urel>\z\system\data\wsini.ini
(epoc32\data\z\system\data\wsini.ini on the H4 board
).
The application cannot run if ScreenPlay is disabled. If it is not already enabled, you need to enable it. See Enabling the Graphics Architecture Variants for more information.
(Emulator only):
Copy all .mbm
(image) files from the coverflow\gfx\call
directory to the epoc32\release\winscw\<udeb/urel>\z\resource\apps
directory.
Performance
can be boosted significantly by switching to portrait mode, which
is the native mode for the LCD controller. To enable portrait mode,
uncomment the following line in the coverflowapp.mmp
:
// MACRO PORTRAIT_MODE
Add the following
configuration statements to the epoc32\data\epoc.ini
to run the example in portrait mode.
screenwidth 240 screenheight 320 fasciabitmap null.bmp screenoffsetx 0 screenoffsety 0
coverflowapp.exe
.