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

Definition at line 27 of file animationappview.h.
Public Member Functions |
|
| virtual | ~CAnimationAppView () |
| void | Draw (const TRect &) const |
| void | HandleResolutionChange (TRect aRect) |
Static Public Member Functions |
|
| static CAnimationAppView * | NewL (const TRect &aRect) |
| static CAnimationAppView * | NewLC (const TRect &aRect) |
Private Member Functions |
|
| CAnimationAppView () | |
| void | ConstructL (const TRect &aRect) |
|
|
~CAnimationAppView Virtual Destructor. Definition at line 86 of file animationappview.cpp.
|
|
|
CAnimationAppView. C++ default constructor. Definition at line 29 of file animationappview.cpp. Referenced by NewLC().
|
|
|
NewL. Two-phased constructor. Create a CAnimationAppView object, which will draw itself to aRect.
Definition at line 39 of file animationappview.cpp. References NewLC(). Referenced by CAnimationAppUi::ConstructL(). 00040 { 00041 CAnimationAppView* self = CAnimationAppView::NewLC( aRect ); 00042 CleanupStack::Pop(); 00043 return self; 00044 }
|
|
|
NewLC. Two-phased constructor. Create a CAnimationAppView object, which will draw itself to aRect.
Definition at line 51 of file animationappview.cpp. References CAnimationAppView(). Referenced by NewL(). 00052 { 00053 CAnimationAppView* self = new ( ELeave ) CAnimationAppView(); 00054 CleanupStack::PushL( self ); 00055 self->ConstructL( aRect ); 00056 return self; 00057 }
|
|
|
Draw Draw this CAnimationAppView to the screen. Definition at line 96 of file animationappview.cpp. 00097 { 00098 // Clear the screen 00099 CWindowGc& gc = SystemGc(); 00100 TRect drawRect( Rect() ); 00101 gc.Clear( drawRect ); 00102 }
|
|
|
HandleResolutionChange. Handles a resolution change
Definition at line 76 of file animationappview.cpp. Referenced by CAnimationAppUi::HandleResourceChangeL().
|
|
|
ConstructL 2nd phase constructor. Perform the second phase construction of a CAnimationAppView object.
Definition at line 64 of file animationappview.cpp. 00065 { 00066 // Create a window for this application view 00067 CreateWindowL(); 00068 00069 // Set the windows size 00070 SetRect( aRect ); 00071 00072 // Activate the window, which makes it ready to be drawn 00073 ActivateL(); 00074 }
|
|
© Nokia 2009 |