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