You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
WebCAD/src/Common/InputState.ts

31 lines
601 B

/**
* ,.
* @enum {number}
*/
export enum InputState
{
None = 0,
SelectIng = 1,//用户正在选择,不一定执行ssget,有可能用户在没有任何命令在选择实体
Select = 2, //选择服务中,用户执行了ssget
GetPoint = 4,
GetDist = 8,
Entsel = 16,
GetKeyWord = 32,
GetRect = 64,
GetString = 128,
All = ~(~0 << 8)
}
//关键字
export interface KeyWord
{
msg: string;
key: string;
disable?: boolean;
children?: KeyWord[];
}
export const MenuDividerKWD: KeyWord = { key: "Divider", msg: "" };