📄 dialerappview.cpp
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
// INCLUDE FILES
#include "DialerAppView.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CDialerAppView::NewL()
// Two-phased constructor.
// Standard construction sequence
// -----------------------------------------------------------------------------
//
CDialerAppView* CDialerAppView::NewL( const TRect& aRect )
{
CDialerAppView* self = CDialerAppView::NewLC( aRect );
CleanupStack::Pop();
return self;
}
// -----------------------------------------------------------------------------
// CDialerAppView::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CDialerAppView* CDialerAppView::NewLC( const TRect& aRect )
{
CDialerAppView* self = new ( ELeave ) CDialerAppView;
CleanupStack::PushL( self );
self->ConstructL( aRect );
return self;
}
// -----------------------------------------------------------------------------
// CHelpExampleAppView::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CDialerAppView::ConstructL( const TRect& aRect )
{
// Create a window for this application view
CreateWindowL();
// Set the windows size
SetRect( aRect );
// Activate the window, which makes it ready to be drawn
ActivateL();
}
// -----------------------------------------------------------------------------
// CDialerAppView::CDialerAppView()
// Constructor.
// -----------------------------------------------------------------------------
//
CDialerAppView::CDialerAppView()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CDialerAppView::~CDialerAppView()
// Destructor.
// -----------------------------------------------------------------------------
//
CDialerAppView::~CDialerAppView()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CDialerAppView::Draw()
// Draw this application's view to the screen
// -----------------------------------------------------------------------------
//
void CDialerAppView::Draw( const TRect& /*aRect*/ ) const
{
// Clear the screen
CWindowGc& gc = SystemGc();
gc.Clear( Rect() );
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -