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

📄 pureedit.h

📁 rtCell 实时微内核-具有下列功能: 1. 完全抢占的实时微内核结构
💻 H
字号:
/*
 *******************************************************************************
 *                      The real-time kernel "rtCell"                          *
 *              Copyright 2005 taowentao, allrights reserved.                  *
 * File : PureEdit.h                                                           *
 * By   : taowentao     2006-09-02, 2007-05-12                                 *
 *******************************************************************************
 */

#if !defined(PUREEDIT_H)
#define PUREEDIT_H

#if !defined(CONTROL_H)
#include "giCell\Wins\include\Control.h"
#endif

/*
 *******************************************************************************
 *                                                                             *
 *******************************************************************************
 */

#define CTRL_PEDIT_CURSOR   (0x0200)
#define CTRL_PEDIT_INSERT   (0x0400)
#define CTRL_PEDIT_READOMLY (0x0800)

#define CTRL_PEDIT_TIME    (1000/TIMER_PERIOD/2)

typedef struct {
    VIEW *pView;
    COLOR editColor;
    COLOR selectColor;
    COLOR textColor[2];
    PKEYDOWN pKeyDown;
    BYTE* pText;
    POINT ptCatch;
    POINT ptText;
    CWORD xCursor;
    CWORD XSizeCursor;
    CWORD Status;
    CWORD Timer;
    CWORD textAlign;
    CWORD textLength;
    CWORD selStart;
    CWORD selEnd;
} PEDIT;

/*
 *******************************************************************************
 *                                                                             *
 *******************************************************************************
 */ 

PEDIT* CreatePureEdit(int left, int top, int width, int height, VIEW* pParent,
	                 BYTE* pText, PKEYDOWN pKeyDown, CWORD Align, CWORD textLen);
const BYTE * GetPureEditText(PEDIT *pEdit);
void DeletePureEdit(PEDIT *pEdit);

/*
 *******************************************************************************
 *                                                                             *
 *******************************************************************************
 */
#endif /* end of PureEdit.h */

⌨️ 快捷键说明

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