📄 rendcomm.dcl
字号:
// Next available MSG number is 341
// MODULE_ID RENDCOMM_DCL_
// Copyright (C) 1991-1997 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software
// for any purpose and without fee is hereby granted, provided
// that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warranty and
// restricted rights notice below appear in all supporting
// documentation.
//
// AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
// AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
// UNINTERRUPTED OR ERROR FREE.
//
// Use, duplication, or disclosure by the U.S. Government is subject to
// restrictions set forth in FAR 52.227-19 (Commercial Computer
// Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
// (Rights in Technical Data and Computer Software), as applicable.
//
//.
//***************************************************************************
//
// Common Render Dialogue Control Language (DCL) -- Version 1.0
//
//***************************************************************************
//**************************************************************************
// Support dialog box code
var_text : text_part { label = ""; }
//**************************************************************************
// Information dialog box
pref_info : dialog {
label = "Render Information";
: text_part {
alignment = centered;
label = "AutoCAD Render";
}
: var_text {
alignment = centered;
key = "prodname";
}
: var_text {
alignment = centered;
key = "cyears";
}
: text_part {
alignment = centered;
label = "by Autodesk, Inc. All Rights Reserved.";
}
: var_text {
alignment = centered;
key = "release";
}
spacer_1;
: text_part {
alignment = left;
label = "Current Configuration:";
}
: concatenation {
: text_part {label = "Rendering: "; }
: var_text {
key = "rendering";
width = 60;
}
}
: concatenation {
: text_part { label = " "; }
: var_text {
key = "rendname";
width = 60;
}
}
: concatenation {
: text_part { label = "Hardcopy: "; }
: var_text {
key = "hardcopy";
width = 60;
}
}
: concatenation {
: text_part { label = " "; }
: var_text {
key = "hardname";
width = 60;
}
}
: list_box {
key = "extras";
height = 5;
width = 60;
multiple_select = false;
allow_accept = false;
}
spacer_1_ok_only;
}
//***************************************************************************
// For showing real numbers.
text_part_12 : text_part { width = 12; }
//***************************************************************************
// Standard size list_box
list_box_8x8 : list_box {
height = 8; // (10x10) width includes scrollbar.
}
//***************************************************************************
// For File name, where max filename = 100.
edit_box_100 : edit_box {
edit_width = 14;
edit_limit = 100;
}
//***************************************************************************
// For Directory paths , where max pathname = 256.
edit_box_256 : edit_box {
edit_width = 14;
edit_limit = 256;
}
//***************************************************************************
// For File names and the like.
edit_box_14 : edit_box {
edit_width = 14;
edit_limit = 14;
}
//***************************************************************************
// For names that are <= 8 characters long.
edit_box_8 : edit_box {
// edit_width = 8;
edit_width = 15; // used since Windows has variable width fonts and
// proteus uses the wrong width
edit_limit = 8;
}
//***************************************************************************
// For names that are <= 16 characters long.
edit_box_16 : edit_box {
edit_width = 16;
edit_limit = 16;
}
//***************************************************************************
// For real numbers 0.00->1.00.
edit_box_4 : edit_box {
edit_width = 4;
edit_limit = 4;
}
//***************************************************************************
// For real numbers 0.000->1.000 (or nE-mm)
edit_box_6 : edit_box {
edit_width = 6;
edit_limit = 6;
}
//***************************************************************************
// For real numbers 0.00->1.00.
slider_0_1 : slider {
min_value = 0;
max_value = 100;
small_increment = 1;
big_increment = 10;
is_tab_stop = false; // We have edit_boxes for all
}
//***************************************************************************
// Fixed slider for real numbers 0.00->1.00.
slider_0_1_fixed : slider {
min_value = 0;
max_value = 100;
width = 16;
fixed_width = true;
alignment = centered;
small_increment = 1;
big_increment = 10;
is_tab_stop = false; // We have edit_boxes for all
}
//***************************************************************************
// Spacer tiles
spacer_0_1: spacer {
height = 0.1;
}
spacer_0_25: spacer {
height = 0.25;
}
spacer_0_5: spacer {
height = 0.5;
}
spacer_1_25 : spacer {
height = 1.25;
}
spacer_1_5 : spacer {
height = 1.5;
}
//***************************************************************************
// Dialogs with Cancel as the default.
cancel_ok_48 : dialog {
width = 48;
key = "dialog";
initial_focus = "cancel"; // Doesn't work allways
children_alignment = centered;
spacer_1;
: var_text { key = "line1"; }
: var_text { key = "line2"; }
cancel_ok; // Makes "Cancel" the default.
}
cancel_ok_32 : dialog {
width = 32 ;
key = "dialog";
initial_focus = "cancel"; // Doesn't work allways
children_alignment = centered;
spacer_1;
: var_text { key = "line1"; }
: var_text { key = "line2"; }
cancel_ok; // Makes "Cancel" the default.
}
cancel_ok : column { // Makes "Cancel" the default.
spacer_1;
: row {
fixed_width = true;
alignment = centered;
: ok_button { is_default = false; }
: spacer { width = 2; }
: cancel_button { is_default = true; }
}
}
//***************************************************************************
// Generic botton-line button combinations
spacer_0_1_ok_cancel_help_errtile : column {
spacer_0_1;
ok_cancel_help_errtile;
}
spacer_1_ok_cancel_help_errtile : column {
spacer_1;
ok_cancel_help_errtile;
}
spacer_1_ok_cancel_help : column {
spacer_1;
ok_cancel_help;
}
spacer_1_ok_help : column {
spacer_1;
: row {
fixed_width = true;
alignment = centered;
: ok_button { is_cancel = true; }
: spacer { width = 2; }
help_button;
}
}
spacer_1_ok_only : column {
spacer_1;
ok_only;
}
//***************************************************************************
// Define common widgets
button_new : button {
key = "new";
label = "New... ";
mnemonic = "N";
}
button_mod : button {
key = "modify";
label = "Modify...";
mnemonic = "M";
is_enabled = false; // Enable when Items are selected.
}
button_dup : button {
key = "duplicate";
label = "Duplicate...";
mnemonic = "u";
is_enabled = false; // Enable when Items are selected.
}
button_del : button {
key = "delete";
label = "Delete ";
mnemonic = "D";
is_enabled = false; // Enable when Items are selected.
}
button_imp : button {
key = "import";
label = "Materials Library...";
mnemonic = "L";
}
button_exp : button {
key = "export";
label = "Export ";
mnemonic = "x";
}
button_pkt : button {
key = "pickit";
label = "Select < ";
mnemonic = "S";
}
/*****************************************************************************/
/********************** GENERIC COLORSYSTEM SLIDER SET ***********************/
/*****************************************************************************/
color_system_set : row {
key = "color_system_set";
: column {
: text {
key = "Red_txt";
label = "Hue:";
}
: text {
key = "Green_txt";
label = "Lightness:";
}
: text {
key = "Blue_txt";
label = "Saturation:";
}
}
: column {
: edit_box_4 {
key = "red_edit";
}
: edit_box_4 {
key = "green_edit";
}
: edit_box_4 {
key = "blue_edit";
}
}
: column {
: slider_0_1_fixed { key = "red_slider"; }
: slider_0_1_fixed { key = "green_slider"; }
: slider_0_1_fixed { key = "blue_slider"; }
}
}
//***************************************************************************
// Black Cat dialog boxes
//***************************************************************************
//3DS input
object_list : list_box
{
label = "Object Name: Type:";
tabs = "18";
height = 7;
width = 28;
multiple_select = true;
}
//***************************************************************************
//
//***************************************************************************
// this is a clone of ok_cancel_help, without a default button
okNoDef_cancel_help : column
{
: row
{
fixed_width = true;
alignment = centered;
: ok_button
{
is_default = false;
}
: spacer { width = 2; }
cancel_button;
: spacer { width = 2; }
help_button;
}
}
//***************************************************************************
//
//***************************************************************************
//
bc3dsin : dialog
{
label = "3D Studio File Import Options";
: column {
: row {
: column {
: boxed_column {
label = "Available Objects";
: object_list {
key = "available";
}
: row {
children_fixed_width = true;
spacer_1;
: button {
key = "selall";
label = "Add All";
mnemonic = "A";
/*is_default = true;*/
}
: button {
key = "select";
label = "Add";
mnemonic = "d";
}
spacer_1;
}
}
spacer_1;
: boxed_radio_column
{
label = "Save to Layers:";
: radio_button
{
key = "byobject";
label = "By Object";
mnemonic = "O";
}
: radio_button
{
key = "bymaterial";
label = "By Material";
mnemonic = "M";
}
: radio_button
{
key = "bycolor";
label = "By Object Color";
mnemonic = "B";
}
: radio_button
{
key = "onelayer";
label = "Single Layer";
mnemonic = "L";
}
}
}
spacer_1;
: column
{
: boxed_column {
label = "Selected Objects";
: object_list {
key = "selected";
}
: row
{
children_fixed_width = true;
spacer_1;
: button
{
key = "remove";
label = "Remove";
mnemonic = "R";
}
: button
{
key = "rmvall";
label = "Remove All";
mnemonic = "v";
}
spacer_1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -