scalablescreendrawingdocument.cpp

来自「一个界面绘图的例子」· C++ 代码 · 共 33 行

CPP
33
字号
// ScalableScreenDrawing_CExampleDocument.cpp
// -------------------------------
//

////////////////////////////////////////////////////////////////////////
//
// Implementation of the document class - CScalableScreenDrawingDocument
//
////////////////////////////////////////////////////////////////////////

#include "ScalableScreenDrawing.h"

// The constructor of the document class just passes the
// supplied reference to the constructor initialisation list.
// The document has no real work to do in this application.
CScalableScreenDrawingDocument::CScalableScreenDrawingDocument(CEikApplication& aApp)
        : CAknDocument(aApp)
    {
    }


// This is called by the UI framework as soon as the 
// document has been created. It creates an instance
// of the Application UI. The Application UI class is
// an instance of a CEikAppUi derived class.
CEikAppUi* CScalableScreenDrawingDocument::CreateAppUiL()
    {
    return new(ELeave) CScalableScreenDrawingAppUi;
    }

// End of file.

⌨️ 快捷键说明

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