📄 browserlauncherexappview.cpp
字号:
/* ====================================================================
* File: BrowserLauncherExAppView.cpp
* Created: 09/07/07
* Author:
* Copyright (c): , All rights reserved
* ==================================================================== */
#include <coemain.h>
#include <BrowserLauncherEx.rsg>
#include "BrowserLauncherExAppView.h"
// Standard construction sequence
CBrowserLauncherExAppView* CBrowserLauncherExAppView::NewL(const TRect& aRect)
{
CBrowserLauncherExAppView* self = CBrowserLauncherExAppView::NewLC(aRect);
CleanupStack::Pop(self);
return self;
}
CBrowserLauncherExAppView* CBrowserLauncherExAppView::NewLC(const TRect& aRect)
{
CBrowserLauncherExAppView* self = new (ELeave) CBrowserLauncherExAppView;
CleanupStack::PushL(self);
self->ConstructL(aRect);
return self;
}
CBrowserLauncherExAppView::CBrowserLauncherExAppView()
{
// no implementation required
}
CBrowserLauncherExAppView::~CBrowserLauncherExAppView()
{
// no implementation required
}
void CBrowserLauncherExAppView::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 CBrowserLauncherExAppView::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 + -