📄 videoplayercontainer.cpp
字号:
/*
* ============================================================================
* Name : CVideoPlayerContainer from VideoPlayerContainer.h
* Part of : VideoPlayer
* Created : 31.01.2006 by ToBeReplacedByAuthor
* Implementation notes:
* Initial content was generated by Series 60 Application Wizard.
* Version :
* Copyright: ToBeReplacedByCopyright
* ============================================================================
*/
// INCLUDE FILES
#include "VideoPlayerContainer.h"
// ================= MEMBER FUNCTIONS =======================
// ---------------------------------------------------------
// CVideoPlayerContainer::ConstructL(const TRect& aRect)
// EPOC two phased constructor
// ---------------------------------------------------------
//
void CVideoPlayerContainer::ConstructL(const TRect& aRect)
{
CreateWindowL();
SetRect(aRect);
ActivateL();
}
// Destructor
CVideoPlayerContainer::~CVideoPlayerContainer()
{
}
// ---------------------------------------------------------
// CVideoPlayerContainer::Draw(const TRect& aRect) const
// ---------------------------------------------------------
//
void CVideoPlayerContainer::Draw(const TRect& aRect) const
{
CWindowGc& gc = SystemGc();
// TODO: Add your drawing code here
// example code...
gc.SetPenStyle( CGraphicsContext::ENullPen );
gc.SetBrushColor( KRgbGray );
gc.SetBrushStyle( CGraphicsContext::ESolidBrush );
gc.DrawRect( aRect );
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -