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

📄 tuiedit.h

📁 如题 就是 这东西 为什么非要我 说到 20个 字 呢 看看这回 够 不
💻 H
字号:
// TUIEDIT.H
//
// Copyright (c) 1999-2007 Symbian Software Ltd.  All rights reserved.
//
// $Change: 937687 $

#ifndef TUIEDIT_H
#define TUIEDIT_H

// SYSTEM HEADERS
#include <e32cons.h>

// CLineEdit class - borrowed from F32 text window server

class CLineEdit : public CBase
    {
public:
    enum TCursorType {ECursorNone = 0, ECursorNormal = 20, ECursorInsert = 100};
    enum TEditMode {EEditOverWrite, EEditInsert};
public:
    IMPORT_C static CLineEdit* NewL(CConsoleBase* aConsole, TInt aMaxHistory);
    ~CLineEdit();
    IMPORT_C void Edit(const TDesC& aPrompt, TDes* aBuf);
protected:
    CLineEdit();
    TPoint Where();
    TInt Lines();
    TInt WordLeft();
    TInt WordRight();
    void ClearLine();
    void ClearLast(TInt aCnt);
    void Recall();
    void Cursor();
    void Refresh();
    inline TDes& Buf() {return *iBuf;}
private:
    CArrayFixFlat<HBufC*>* iHistory;
    CConsoleBase* iConsole; // Not owned
    TInt iMaxHistory;
    TInt iWidth;
    TInt iHeight;
    TInt iPos;
    TInt iLine;
    TInt iOrigin;
    TInt iRecall;
    TEditMode iMode;
    TDes* iBuf;
    };
#endif  // TUIEDIT_H

⌨️ 快捷键说明

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