MyDefine.h
上传用户:netltd
上传日期:2013-02-12
资源大小:7234k
文件大小:1k
- #define MAX_FILENUM 40 //一个项目中的最大图纸数
- #define NEW_PROJECT 1
- #define NEW_FILE 2
- #define NEW_NONE -1
- #define RECENTFILELIST_NUM 4 //MRU文件列表项数目
- #define A0_SIZE_INDEX 0
- #define A1_SIZE_INDEX 1
- #define A2_SIZE_INDEX 2
- #define A3_SIZE_INDEX 3
- #define A4_SIZE_INDEX 4
- #define EXTRA_WIDTH 100 // 为方便绘图额外增加的窗口宽度
- #define EXTRA_HIGTH 100 // 为方便绘图额外增加的窗口高度
- #define SELECT_RECT_WIDTH 3
- #define SELECT_RANGE 3 //选择对象时的选中范围
- /*图形对象代号*/
- #define OBJECT_LINE 310
- #define OBJECT_RECT 320
- #define OBJECT_CIRCLE 330
- #define OBJECT_ARC 340
- #define OBJECT_TEXT 350
- /*绘图命令代号*/
- #define DRAW_MIN 1000
- #define DRAW_SELECT 1010
- #define DRAW_LINE 1020
- #define DRAW_RECT 1030
- #define DRAW_CIRCLE 1040
- #define DRAW_ARC 1050
- #define DRAW_TEXT 1060
- #define DRAW_MULTILINE 1070
- #define DRAW_POLYGON 1090
- #define DRAW_ELLIPSE 1100
- #define DRAW_MAX 1200
- /*修改命令代号*/
- #define CHANGE_MIN 1300
- #define CHANGE_DELETE 1310
- #define CHANGE_MAX 1500