📄 mp3playerappcontainer1.cpp
字号:
/* Copyright (c) 2005, Nokia. All rights reserved */
#include "MP3PlayerAppContainer1.h"
CMP3PlayerAppContainer1* CMP3PlayerAppContainer1::NewL(const TRect& aRect)
{
CMP3PlayerAppContainer1* self = NewLC(aRect);
CleanupStack::Pop(self);
return self;
}
CMP3PlayerAppContainer1* CMP3PlayerAppContainer1::NewLC(const TRect& aRect)
{
CMP3PlayerAppContainer1* self = new (ELeave) CMP3PlayerAppContainer1;
CleanupStack::PushL(self);
self->ConstructL(aRect);
return self;
}
void CMP3PlayerAppContainer1::ConstructL(const TRect& aRect)
{
CreateWindowL();
SetRect(aRect);
ActivateL();
}
CMP3PlayerAppContainer1::CMP3PlayerAppContainer1()
{
// Add any construction code that can not leave here
}
CMP3PlayerAppContainer1::~CMP3PlayerAppContainer1()
{
// Add any destruction code here
}
void CMP3PlayerAppContainer1::Draw(const TRect& /*aRect*/) const
{
// Clear the screen
CWindowGc& gc = SystemGc();
gc.Clear(Rect());
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -