CSkeletonAppView Class Reference

List of all members.

Public Member Functions

virtual ~CSkeletonAppView ()
void Draw (const TRect &aRect) const
virtual void SizeChanged ()
void FocusChanged (TDrawNow aDrawNow)
TKeyResponse OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType)
void StartHeartbeat ()
void StopHeartbeat ()
void SetPausedDisplay (TBool aPaused)

Static Public Member Functions

static CSkeletonAppViewNewL (const TRect &aRect)
static CSkeletonAppViewNewLC (const TRect &aRect)
static TInt Tick (TAny *aCallback)

Detailed Description

Definition at line 28 of file SkeletonAppView.h.


Constructor & Destructor Documentation

CSkeletonAppView::~CSkeletonAppView (  )  [virtual]

~CSkeletonAppView Virtual Destructor.

Definition at line 189 of file SkeletonAppView.cpp.


Member Function Documentation

CSkeletonAppView * CSkeletonAppView::NewL ( const TRect &  aRect  )  [static]

NewL. Two-phased constructor. Create a CSkeletonAppView object, which will draw itself to aRect.

Parameters:
aRect The rectangle this view will be drawn to.
Returns:
a pointer to the created instance of CSkeletonAppView.

Definition at line 110 of file SkeletonAppView.cpp.

CSkeletonAppView * CSkeletonAppView::NewLC ( const TRect &  aRect  )  [static]

NewLC. Two-phased constructor. Create a CSkeletonAppView object, which will draw itself to aRect.

Parameters:
aRect Rectangle this view will be drawn to.
Returns:
A pointer to the created instance of CSkeletonAppView.

Definition at line 122 of file SkeletonAppView.cpp.

void CSkeletonAppView::Draw ( const TRect &  aRect  )  const

From CCoeControl, Draw Draw this CSkeletonAppView to the screen.

Parameters:
aRect the rectangle of this view that needs updating

Definition at line 339 of file SkeletonAppView.cpp.

void CSkeletonAppView::SizeChanged (  )  [virtual]

From CoeControl, SizeChanged. Called by framework when the view size is changed.

Definition at line 437 of file SkeletonAppView.cpp.

TKeyResponse CSkeletonAppView::OfferKeyEventL ( const TKeyEvent &  aKeyEvent,
TEventCode  aType 
)

From CoeControl, OfferKeyEventL. Called by framework when keypad input is received.

Definition at line 260 of file SkeletonAppView.cpp.

TInt CSkeletonAppView::Tick ( TAny *  aCallback  )  [static]

Static callback method used by the periodic timer Calls GameLoop()

Definition at line 223 of file SkeletonAppView.cpp.

void CSkeletonAppView::StartHeartbeat (  ) 

Starts the heartbeat timer to drive the game loop

Definition at line 153 of file SkeletonAppView.cpp.

void CSkeletonAppView::StopHeartbeat (  ) 

Stops the heartbeat time and pauses the game loop

Definition at line 163 of file SkeletonAppView.cpp.

void CSkeletonAppView::SetPausedDisplay ( TBool  aPaused  ) 

Shows the game paused display

Definition at line 169 of file SkeletonAppView.cpp.


Generated by  doxygen 1.6.2