|
Nokia N97 SDK Example Applications Guide |
#include <SimpleCubePixmapAppUi.h>
Inheritance diagram for CSimpleCubePixmapAppUi:

Definition at line 33 of file SimpleCubePixmapAppUi.h.
Public Member Functions |
|
| void | ConstructL () |
| virtual | ~CSimpleCubePixmapAppUi () |
Private Member Functions |
|
| void | DynInitMenuPaneL (TInt aResourceId, CEikMenuPane *aMenuPane) |
| void | HandleCommandL (TInt aCommand) |
| virtual TKeyResponse | HandleKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
Private Attributes |
|
| CSimpleCubePixmapContainer * | iAppContainer |
|
|
Destructor. Removes CSimpleCubePixmapContainer from the control stack and destroys it. Definition at line 45 of file SimpleCubePixmapAppUi.cpp. References iAppContainer. 00046 { 00047 if ( iAppContainer ) 00048 { 00049 RemoveFromStack( iAppContainer ); 00050 delete iAppContainer; 00051 } 00052 }
|
|
|
Second phase constructor. Creates the CSimpleCubePixmapContainer and adds it to the control stack. Definition at line 29 of file SimpleCubePixmapAppUi.cpp. References CSimpleCubePixmapContainer::ConstructL(), and iAppContainer. 00030 { 00031 BaseConstructL(); 00032 00033 iAppContainer = new (ELeave) CSimpleCubePixmapContainer; 00034 iAppContainer->SetMopParent( this ); 00035 iAppContainer->ConstructL( ClientRect(), this ); 00036 AddToStackL( iAppContainer ); 00037 }
|
|
||||||||||||
|
This method is called by the EIKON framework just before it displays a menu pane. Does nothing in this implemenation. Definition at line 62 of file SimpleCubePixmapAppUi.cpp.
|
|
|
CEikAppUi method that is used to handle user commands. Handles menu commands and application exit request.
Definition at line 83 of file SimpleCubePixmapAppUi.cpp. References CSimpleCubePixmap::FlatShading(), iAppContainer, CSimpleCubePixmapContainer::iSimpleCubePixmap, and CSimpleCubePixmap::SmoothShading(). 00084 { 00085 switch ( aCommand ) 00086 { 00087 case EAknSoftkeyBack: 00088 case EEikCmdExit: 00089 { 00090 Exit(); 00091 break; 00092 } 00093 case ESimpleCubeFlat: 00094 iAppContainer->iSimpleCubePixmap->FlatShading(); 00095 break; 00096 case ESimpleCubeSmooth: 00097 iAppContainer->iSimpleCubePixmap->SmoothShading(); 00098 break; 00099 default: 00100 break; 00101 } 00102 }
|
|
||||||||||||
|
CEikAppUi method that is used to handle key events. Does nothing in this implemenation.
Definition at line 72 of file SimpleCubePixmapAppUi.cpp.
|
|
|
GUI container that resides in this application UI. Definition at line 77 of file SimpleCubePixmapAppUi.h. Referenced by ConstructL(), HandleCommandL(), and ~CSimpleCubePixmapAppUi(). |
|
© Nokia 2009 |