ldcno3appview.cpp

来自「Symbian 工程图标的修改」· C++ 代码 · 共 48 行

CPP
48
字号
/* Copyright (c) 2008, Nokia. All rights reserved */

#include "LDCNO3AppView.h"

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

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

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

    SetRect(aRect);

    ActivateL();
    }

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


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

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


⌨️ 快捷键说明

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