📄 helpexampleappview.cpp
字号:
/*
* ==============================================================================
* Name : helpexampleappview.cpp
* Part of : Help example
* Interface :
* Description :
* Version :
*
* Copyright (c) 2004 - 2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
// INCLUDE FILES
#include "HelpExampleAppView.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CHelpExampleAppView::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CHelpExampleAppView* CHelpExampleAppView::NewL( const TRect& aRect )
{
CHelpExampleAppView* self = NewLC( aRect );
CleanupStack::Pop( self );
return self;
}
// -----------------------------------------------------------------------------
// CHelpExampleAppView::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CHelpExampleAppView* CHelpExampleAppView::NewLC( const TRect& aRect )
{
CHelpExampleAppView* self = new ( ELeave ) CHelpExampleAppView;
CleanupStack::PushL( self );
self->ConstructL( aRect );
return self;
}
// -----------------------------------------------------------------------------
// CHelpExampleAppView::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CHelpExampleAppView::ConstructL( const TRect& aRect )
{
CreateWindowL();
SetRect ( aRect );
ActivateL();
}
// -----------------------------------------------------------------------------
// CHelpExampleAppView::CHelpExampleAppView()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CHelpExampleAppView::CHelpExampleAppView()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CHelpExampleAppView::~CHelpExampleAppView()
// Destructor.
// -----------------------------------------------------------------------------
//
CHelpExampleAppView::~CHelpExampleAppView()
{
// No implementation required
}
// ----------------------------------------------------------------------------
// CHelpExampleAppView::Draw()
// Draw this application's view to the screen
// ----------------------------------------------------------------------------
//
void CHelpExampleAppView::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 + -