plaintexteditorcontainer.h
来自「symbian s60 2rd简单而不简约的文本Editor编辑框源码」· C头文件 代码 · 共 52 行
H
52 行
#ifndef PLAINTEXTEDITORCONTAINER_H
#define PLAINTEXTEDITORCONTAINER_H
// INCLUDES
// System includes
#include <coecntrl.h> // CCoeControl
// FORWARD DECLARATIONS
class CEikEdwin;
// CLASS DECLARATION
/**
*
* @class CPlainTextEditorContainer PlainTextEditorContainer.h
* @brief This is the container class for the PlainTextEditor example based on the
* standard Symbian OS architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*
*/
class CPlainTextEditorContainer : public CCoeControl
{
public: // Constructors and destructor
static CPlainTextEditorContainer* NewL(const TRect& aRect);
static CPlainTextEditorContainer* NewLC(const TRect& aRect);
~CPlainTextEditorContainer();
private:
void ConstructL(const TRect& aRect);
private: // from CoeControl
void SizeChanged();
TInt CountComponentControls() const;
CCoeControl* ComponentControl(TInt aIndex) const;
void Draw(const TRect& aRect) const;
TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
private: //data
CEikEdwin* iEditor;
};
#endif // #ifndef PLAINTEXTEDITORCONTAINER_H
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?