|
Nokia N97 SDK Example Applications Guide |
Inheritance diagram for COomExampleAppView:

Definition at line 25 of file OomExampleAppView.h.
Public Member Functions |
|
| virtual | ~COomExampleAppView () |
| void | Draw (const TRect &aRect) const |
| virtual void | SizeChanged () |
| virtual void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
Static Public Member Functions |
|
| static COomExampleAppView * | NewL (const TRect &aRect) |
| static COomExampleAppView * | NewLC (const TRect &aRect) |
Private Member Functions |
|
| void | ConstructL (const TRect &aRect) |
| COomExampleAppView () | |
|
|
~COomExampleAppView Virtual Destructor. Definition at line 55 of file OomExampleAppView.cpp.
|
|
|
COomExampleAppView. C++ default constructor. Definition at line 50 of file OomExampleAppView.cpp.
|
|
|
NewL. Two-phased constructor. Create a COomExampleAppView object, which will draw itself to aRect.
Definition at line 23 of file OomExampleAppView.cpp. References NewLC(). Referenced by COomExampleAppUi::ConstructL(). 00024 { 00025 COomExampleAppView* self = COomExampleAppView::NewLC( aRect ); 00026 CleanupStack::Pop( self ); 00027 return self; 00028 }
|
|
|
NewLC. Two-phased constructor. Create a COomExampleAppView object, which will draw itself to aRect.
Definition at line 30 of file OomExampleAppView.cpp. References ConstructL(). Referenced by NewL(). 00031 { 00032 COomExampleAppView* self = new (ELeave) COomExampleAppView; 00033 CleanupStack::PushL(self); 00034 self->ConstructL(aRect); 00035 return self; 00036 }
|
|
|
From CCoeControl, Draw Draw this COomExampleAppView to the screen.
Definition at line 60 of file OomExampleAppView.cpp. 00061 { 00062 // Get the standard graphics context 00063 CWindowGc& gc = SystemGc(); 00064 00065 // Gets the control's extent 00066 TRect drawRect(Rect()); 00067 00068 // Clears the screen 00069 gc.Clear(drawRect); 00070 00071 }
|
|
|
From CoeControl, SizeChanged. Called by framework when the view size is changed. Definition at line 73 of file OomExampleAppView.cpp.
|
|
|
From CoeControl, HandlePointerEventL. Called by framework when a pointer touch event occurs. Note: although this method is compatible with earlier SDKs, it will not be called in SDKs without Touch support.
Definition at line 78 of file OomExampleAppView.cpp. 00080 { 00081 00082 // Call base class HandlePointerEventL() 00083 CCoeControl::HandlePointerEventL(aPointerEvent); 00084 }
|
|
|
ConstructL 2nd phase constructor. Perform the second phase construction of a COomExampleAppView object.
Definition at line 38 of file OomExampleAppView.cpp. Referenced by NewLC(). 00039 { 00040 // Create a window for this application view 00041 CreateWindowL(); 00042 00043 // Set the windows size 00044 SetRect(aRect); 00045 00046 // Activate the window, which makes it ready to be drawn 00047 ActivateL(); 00048 }
|
|
© Nokia 2009 |