⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ldleniefeilongappview.cpp

📁 symbian 视图切换源代码,很有学习价值
💻 CPP
字号:
/* Copyright (c) 2008, NieFeiLong. All rights reserved */

#include "LDLENieFeiLongAppView.h"

CLDLENieFeiLongAppView* CLDLENieFeiLongAppView::NewL(const TRect& aRect)
    {
    CLDLENieFeiLongAppView* self = NewLC(aRect);
    CleanupStack::Pop(self);
    return self;
    }

CLDLENieFeiLongAppView* CLDLENieFeiLongAppView::NewLC(const TRect& aRect)
    {
    CLDLENieFeiLongAppView* self = new (ELeave) CLDLENieFeiLongAppView;
    CleanupStack::PushL(self);
    self->ConstructL(aRect);
    return self;
    }

void CLDLENieFeiLongAppView::ConstructL(const TRect& aRect)
    {
    CreateWindowL();

    SetRect(aRect);

    ActivateL();
    }

CLDLENieFeiLongAppView::CLDLENieFeiLongAppView()
    {
    // Add any construction code that can not leave here
    }


CLDLENieFeiLongAppView::~CLDLENieFeiLongAppView()
    {
    // Add any destruction code here
    }

void CLDLENieFeiLongAppView::Draw(const TRect& /*aRect*/) const
    {
    // Clear the screen
    CWindowGc& gc = SystemGc();
    gc.Clear(Rect());
    }


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -