?? callstatusappview.cpp
字號:
/* ====================================================================
* File: CallStatusAppView.cpp
* Created: 09/06/07
* Author:
* Copyright (c): , All rights reserved
* ==================================================================== */
#include <coemain.h>
#include <CallStatus.rsg>
#include "CallStatusAppView.h"
// Standard construction sequence
CCallStatusAppView* CCallStatusAppView::NewL(const TRect& aRect)
{
CCallStatusAppView* self = CCallStatusAppView::NewLC(aRect);
CleanupStack::Pop(self);
return self;
}
CCallStatusAppView* CCallStatusAppView::NewLC(const TRect& aRect)
{
CCallStatusAppView* self = new (ELeave) CCallStatusAppView;
CleanupStack::PushL(self);
self->ConstructL(aRect);
return self;
}
CCallStatusAppView::CCallStatusAppView()
{
// no implementation required
}
CCallStatusAppView::~CCallStatusAppView()
{
// no implementation required
}
void CCallStatusAppView::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();
}
// Draw this application's view to the screen
void CCallStatusAppView::Draw(const TRect& /*aRect*/) const
{
// Get the standard graphics context
CWindowGc& gc = SystemGc();
// Gets the control's extent
TRect rect = Rect();
// Clears the screen
gc.Clear(rect);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -