// Next available MSG number is   126 
// MODULE_ID PLPCCW_DCL_
//  MODULE_ID PLPCCW_DCL
//  CalComp ADI 4.2 AutoCAD Driver
//  Release 6.4.6  7 Nov 1996
//  (C) CalComp, Inc.
//  David Maeschen 
//
//  All labels, lists, and mnemonics should be internationalized
//  Keys and values should not be 
//  (lisp file references them and config file will remain American)

//  Main Menu of the Graphical User Interface
//  MAINMENU.DCL
//  11/07/96  Added Connection CDCLBegin, CDCLEnd, and 
//            Pens Dither Areas and Dithering 
//  09/09/96  Put media image in two columns 
//  06/18/96  Removed accept_return from images
//            Added Connection Timeout ConnTimeout 
//  05/14/96  Added Media Full Page Area MediaFPage 
//  03/29/96  Decimal Connection parameters.  Stretched Cconfig dialog.
//  12/15/95  Allow_accept on edits and images only

mainmenu : dialog {
    label = "CalComp 绘图仪配置";
    initial_focus = "accept";
    fixed_width = true;
    : row {
	alignment = centered;
	: button {
	    label = "注释(A)...";
	    mnemonic = "A";
	    key = "anno";
	}
	: button {
	    label = "连接(O)...";
	    mnemonic = "o";
	    key = "conn";
	}
	: button {
	    label = "画笔...";
	    mnemonic = "P";
	    key = "pens";
	}
	: button {
	    label = "介质(M)...";
	    mnemonic = "M";
	    key = "media";
	}
    }
    : row {
	: column {
	    : text_part {
		label = "型号: ";
		key = "modellabel";
	    }
	    : popup_list {
		key = "ccmodels";
		list = "";
		fixed_width = true;
		edit_width = 32;
	    }
	}
	: column {
	    : text_part {
		label = "配置";
		key = "cfglabel";
	    }
	    : popup_list {
		key = "ccconfigs";
		list = "";
		fixed_width = true;
		edit_width = 32;
	    }
	}
    }
    : row {
	alignment = centered;
	: button {
	    label = "新建(W)...";
	    mnemonic = "w";
	    key = "new";
	}
	: button {
	    label = "删除(L)";
	    mnemonic = "l";
	    key = "delete";
	}
    }
    : row {
	//fixed_width = true;
	spacer_0;
	: column {  
	    // Begin Left Column
	    :image_button {
		key = "cclogo";
		color = dialog_background;
		height = 5;
		aspect_ratio = 3;
	    }
	    : toggle {
		label = "使用绘图仪值(V)";
		mnemonic = "V";
		key = "PlotterValues";
	    }
	}  // End Left Column
	spacer_0;
	spacer_0;
	spacer_0;
	spacer_0;
	: column {
	    alignment = right;
	    : popup_list {
		label = "来源(S): ";
		mnemonic = "S";
		key = "Sources";
		list = "单张送纸\n单张送纸\n滚筒与单张送纸\n滚筒与单张送纸\n";
		value = "1";
		edit_width = 12;
	    }
	    : popup_list {
		label = "模式: ";
		mnemonic = "d";
		key = "模式";
		list = "草图\n正常\n增强\n图形\n快速图形\n单色高分辨率\n省墨水";
		value = "1";
		edit_width = 12;
	    }
	    : popup_list {
		label = "颜色(C): ";
		mnemonic = "C";
		key = "Colors";
		list = "彩色\n灰度\n黑色";
		value = "0";
		edit_width = 12;
	    }
	    : edit_box {
		label = "复制数目(N): ";
		mnemonic = "N";
		key = "Copies";
		value = "1";
		fixed_width = true;
		edit_width = 2;
		edit_limit = 2;
	    }
	}  // End Right Column
	spacer_0;
    }  // End Row of two columns
    : boxed_column {
	label = "当前注释: ";
	: text {
	    width = 50;
	    key = "comment";
	}
    }
    : row {
	fixed_width = true;
	alignment = centered;
	: retirement_button {
	    label = "确定";
	    key = "accept";
	    width = 12;
	    is_default = true;
	}
	: retirement_button {
	    label = "取消";
	    key = "cancel";
	    width = 12;
	    is_cancel = true;
	}
	: button {
	    label = "帮助(H)...";
	    mnemonic = "H";
	    key = "help";
	    width = 12;
	}
	: button {
	    label = "关于...";
	    key = "about";
	    width = 12;
	}
    }
}  // End MAIN MENU Dialog //

nomenu : dialog {
    label = "未找到 CalComp 绘图仪!";
    initial_focus = "accept";
    fixed_width = true;
    : paragraph {
	children_alignment = centered;
	: text_part {
	    label = "使用 AutoCAD “config”命令";
	}
	: text_part {
	    label = "来安装 CalComp 绘图仪。";
	}
    }
    fixed_width = true;
    alignment = centered;
    : retirement_button {
	label = "确定";
	key = "accept";
	width = 12;
	is_default = true;
    }
}

nomodels : dialog {
    label = "没有 CalComp 绘图仪!";
    initial_focus = "accept";
    fixed_width = true;
    : paragraph {
	children_alignment = centered;
	: text_part {
	    label = "是否“确定”或“取消”所有修改?";
	}
    }
    fixed_width = true;
    alignment = centered;
    : row {
	: retirement_button {
	    label = "确定";
	    key = "accept";
	    width = 12;
	    is_default = true;
	}
	: retirement_button {
	    label = "取消";
	    key = "cancel";
	    width = 12;
	    is_cancel = true;
	}
    }
}
//   About Box
//   ABOUT.DCL
	
about: dialog {
    label = "关于";
    initial_focus = "accept";
    : paragraph {
	children_alignment = centered;
	: text_part {
	    label = "CalComp AutoCAD 驱动程序";
	}
	: text_part {
	    label = "Version 6.4.6";
	}
	: text_part {
	    label = "Copyright (C) 1995,1996 CalComp Inc.";
	}
	: image_button {
	    key = "cclogo";
	    color = dialog_background;
	    height = 5;
	    aspect_ratio = 3;
	}
    }
    fixed_width = true;
    alignment = centered;
    : retirement_button {
	label = "确定";
	key = "accept";
	width = 12;
	is_default = true;
    }
}

//   New Box
//   NEW.DCL

new: dialog {
    label = "新建配置";
    initial_focus = "newcf";
    : edit_box { 
	key = "newcf";
	width = 15;
	edit_limit = 32;
	allow_accept = true;    
    }
    : row {
	fixed_width = true;
	alignment = centered;
	: retirement_button {
	    label = "确定";
	    key = "accept";
	    width = 12;
	    is_default = true;
	}
	: retirement_button {
	    label = "取消";
	    key = "cancel";
	    width = 12;
	    is_cancel = true;
	}
    }
}

//   Delete Box
//   DELETE.DCL

delete: dialog {
    label = "删除配置";
    initial_focus = "accept";
    : paragraph {
	: text_part {
	    label = "您是否确定";
	}
	: text_part {
	    label = "删除该配置?";
	}
    }
    : row {
	fixed_width = true;
	alignment = centered;
	: retirement_button {
	    label = "确定";
	    key = "accept";
	    width = 12;
	    is_default = true;
	}
	: retirement_button {
	    label = "取消";
	    key = "cancel";
	    width = 12;
	    is_cancel = true;
	}
    }
}

//  Annotation Dialog
//  ANNO.DCL

anno: dialog {
    label = "注释";
    initial_focus = "accept";
    : row  { 
	: column {
	    : toggle {
		label = "文件名(F)";
		mnemonic = "F";
		key = "AnnoFile";
	    }
	    : toggle {
		label = "日期/时间(T)";
		mnemonic = "T";
		key = "AnnoTime";
	    }
	}  
	: column {
	    : toggle {
		label = "驱动程序信息(I)";
		mnemonic = "I";
		key = "AnnoDrvr";
	    }
	    : toggle {
		label = "修剪标记(M)";
		mnemonic = "M";
		key = "AnnoCrop";
	    }
	}  
    } 

    : column {
	: text {
	    key = "commentlabel";
	    label = "注释(C): (最多 60 个字符): ";
	    mnemonic = "C";
	}
	: edit_box {
	    key = "AnnoComm";
	    width = 32;
	    edit_limit = 60;
	    allow_accept = true;
	}
    }  // End Comment column

    : row {
	fixed_width = true;
	alignment = centered;
	: retirement_button {
	    label = "确定";
	    key = "accept";
	    width = 12;
	    is_default = true;
	}
	: retirement_button {
	    label = "取消";
	    key = "cancel";
	    width = 12;
	    is_cancel = true;
	}
	: button {
	    label = "帮助(H)...";
	    mnemonic = "H";
	    key = "help";
	    width = 12;
	}
    }
}  // End PLOT ANNOTATE Dialog //

//   Connection Dialog (NON CDCL PLOTTERS)
//   CONN.DCL

conn: dialog {
    label = "连接";
    initial_focus = "accept";
    : column { 
	: row {
	    spacer_0;
	    : popup_list {
		fixed_width = true;
		label = "同步码数目(N): ";
		mnemonic = "N";
		key = "ConnNsync";
		list = "0\n1\n2";
		value = "2";
		edit_width = 3;
	    }
	}
	: row {
	    : column {
		: toggle {
		    label = "PAD(P)";
		    mnemonic = "P";
		    key = "ConnPad";
		}
		: toggle {
		    label = "检查码(C)";
		    mnemonic = "C";
		    key = "ConnChksum";
		    value = "1";
		}
	    }
	    : column {
		: edit_box {
		    label = "同步码(S)";
		    mnemonic = "S";
		    key = "ConnSync";
		    value = "22";
		    width = 2;
		    edit_limit = 3;
		    edit_width = 2;
		}
		: edit_box {
		    label = "EOB/EOM 码(E)";
		    mnemonic = "E";
		    key = "ConnEobm";
		    value = "13";
		    width = 2;
		    edit_limit = 3;
		    edit_width = 2;
		}
	    }
	}
//    Uncomment for Connection Timeout control
	: row {
	    spacer_0;
	    : edit_box {
		fixed_width = true;
		label = "超时(T)";
		mnemonic = "T";
		key = "ConnTimeout";
		value = "60";
		width = 2;
		edit_limit = 3;
		edit_width = 2;
	    }
	}
	// Uncomment for CDCL Control
	    : edit_box {
		fixed_width = true;
		label = "CDCLBegin(T): ";
		mnemonic = "T";
		key = "CDCLUser";
		value = "";
		width = 24;
		edit_limit = 60;
		edit_width = 24;
	    }
	    : edit_box {
		fixed_width = true;
		label = "CDCLEnd(T): ";
		mnemonic = "T";
		key = "CDCLUserEnd";
		value = "";
		width = 24;
		edit_limit = 60;
		edit_width = 24;
	    }

    }

    : row {
	fixed_width = true;
	alignment = centered;
	: retirement_button {
	    label = "确定";
	    key = "accept";
	    width = 12;
	    is_default = true;
	}
	: retirement_button {
	    label = "取消";
	    key = "cancel";
	    width = 12;
	    is_cancel = true;
	}
	: button {
	    label = "帮助(H)...";
	    mnemonic = "H";
	    key = "help";
	    width = 12;
	}
    }
}  // End CONN Dialog //

//  Pens Dialog
//  PENS.DCL

pens: dialog {
    label = "画笔";
    initial_focus = "accept";
    fixed_height = true;
    : row {  // Pen
	: column {
	    // Uncomment for intensity control
	    : row {
		: popup_list {
		    label = "调色板(C): ";
		    mnemonic = "C";
		    key = "PensPalette";
		    list = "CCOLR.CCP\nCGREY.CCP\n";
		    fixed_width = true;
		    edit_width = 12;
		}
		spacer_0;
	      : edit_box {
		  fixed_width = true;
		  label = "强度(I): ";
		  mnemonic = "I";
		  key = "PensIntensity";
		  value = "100";
		  width = 2;
		  edit_limit = 3;
		  edit_width = 2;
		}
	    }
	    spacer_1;
	    : row {
		: toggle {
		    label = "定义画笔(P)";
		    mnemonic = "P";
		    key = "PensDefine";
		    value = "1";
		}
		: toggle {
		    label = "抖动线(L)";
		    mnemonic = "L";
		    key = "PensDither";
		    value = "1";
		}
		// Uncomment for area dithering
		: toggle {
		    label = "抖动区域(A)";
		    mnemonic = "A";
		    key = "PensDAreas";
		    value = "1";
		}
	    }
	    // Uncomment for dithering control
	    : radio_row {
		label = "抖动";
		: radio_button {
		    label = "标准";
		    key = "Standard";
		    value = "1";
		}
		key = "PensDType";
		: radio_button {
		    label = "组";
		    key = "Cluster";
		    value = "1";
		}
		: radio_button {
		    label = "图案";
		    key = "Pattern";
		}
		: radio_button {
		    label = "随机";
		    key = "Stochastic";
		}
	    }     
	    spacer_1;
	}
    }
    : row {
	: boxed_row {
	    label = "合并/覆叠(O): ";
	    key = "mergelabel";
	    mnemonic = "O";
	    fixed_width = true;
	    fixed_height = true;
	    : image_button {
		key = "merge1";
		width = 5;
		aspect_ratio = 0.95;
	    }
	    : image_button {
		key = "merge2";
		width = 5;
		aspect_ratio = 0.95;
	    }
	}
	: boxed_radio_row {
	    label = "线端点/合并(E): ";
	    mnemonic = "E";
	    key = "endlabel";
	    fixed_width = true;
	    fixed_height = true;
	    : image_button {
		key = "lend1";
		width = 5;
		aspect_ratio = 0.95;
	    }
	    : image_button {
		key = "lend2";
		width = 5;
		aspect_ratio = 0.95;
	    }
	    : image_button {
		key = "lend3";
		width = 5;
		aspect_ratio = 0.95;
	    }
	    : image_button {
		key = "lend4";
		width = 5;
		aspect_ratio = 0.95;
	    }
	}  // End Row (Line ends/joins)
    }
    : row {
	fixed_width = true;
	alignment = centered;
	: retirement_button {
	    label = "确定";
	    key = "accept";
	    width = 12;
	    is_default = true;
	}
	: retirement_button {
	    label = "取消";
	    key = "cancel";
	    width = 12;
	    is_cancel = true;
	}
	: button {
	    label = "帮助(H)...";
	    mnemonic = "H";
	    key = "help";
	    width = 12;
	}
    }

}  // End LINE ATTRIBUTES Dialog //


//   Media Dialog
//   MEDIA.DCL

media : dialog {
    label = "介质(M)";
    initial_focus = "accept";
    : boxed_row {
	label = "选择图像和图纸方向";
	spacer_0;
	// Limit height to 3.2 for one column 5.4 for two columns
	: column {
	    fixed_width = true;
	    fixed_height = true;
	    : image_button {
		key = "image1";
		height = 5.4;
		aspect_ratio = 1.3;
	    }
	    : image_button {
		key = "image2";
		height = 5.4;
		aspect_ratio = 1.3;
	    }
	// Two columns
	}
	: column {
	    : image_button {
		key = "image3";
		height = 5.4;
		aspect_ratio = 1.3;
	    }
	    : image_button {
		key = "image4";
		height = 5.4;
		aspect_ratio = 1.3;
	    }
	}
	spacer_0;
	: column {
	    fixed_width = true;
	    fixed_height = true;
	    : image_button {
		key = "image5";
		height = 5.4;
		aspect_ratio = 1.3;
	    }
	    : image_button {
		key = "image6";
		height = 5.4;
		aspect_ratio = 1.3;
	    }
	// Two columns
	}
	: column {
	    : image_button {
		key = "image7";
		height = 5.4;
		aspect_ratio = 1.3;
	    }
	    : image_button {
		key = "image8";
		height = 5.4;
		aspect_ratio = 1.3;
	    }
	}
	spacer_0;
    }
    : row {
	: toggle {
	    label = "镜像 x";
	    key = "MediaMirrx";
	}
	: toggle {
	    label = "镜像 y";
	    key = "MediaMirry";
	}
      // Uncomment for Full Page Area control
      : toggle {
	  label = "整页区域(F)";
	  mnemonic = "F";
	  key = "MediaFPage";
      }
    }
    : radio_row {
	label = "长打印比例";
	key = "MediaLplot";
	value = "1";
	: radio_button {
	    label = "1";
	    key = "1";
	}
	: radio_button {
	    label = "2";
	    key = "2";
	}
	: radio_button {
	    label = "4";
	    key = "3";
	}
	: radio_button {
	    label = "8";
	    key = "4";
	}
    }     
    : row {
	fixed_width = true;
	alignment = centered;
	: retirement_button {   
	    label = "确定";
	    key = "accept";
	    width = 12;
	    is_default = true;
	}
	: retirement_button {
	    label = "取消";
	    key = "cancel";
	    width = 12;
	    is_cancel = true;
	}
	: button {
	    label = "帮助(H)...";
	    mnemonic = "H";
	    key = "help";
	    width = 12;
	}
    }  // End Row;
}


