home *** CD-ROM | disk | FTP | other *** search
- /* Next available MSG number is 24 */
-
- // BASE.DCL
- // ¬⌐┼v⌐╥ª│ (C) 1991-1992 Autodesk ñ╜Ñq
- //
- //
- // Ñ╗│n┼ΘºK╢O¿╤▒z╢iªµÑ⌠ª≤Ñ╬│~╗▌¿D¬║½■¿⌐íB¡╫º∩ñ╬╡oªµ, ª²¼O░╚╜╨┐φ┤`ñU¡z
- // ¡∞½h :
- //
- // 1) ñWªC¬║¬⌐┼v│qºi░╚╗▌ÑX▓{ªb¿Cñ@Ñ≈½■¿⌐∙╪íC
- // 2) ¼█├÷¬║╗í⌐·ñσÑ≤ñ]Ñ▓╢╖⌐·╕ⁿ¬⌐┼v│qºiñ╬Ñ╗╢╡│\Ñi│qºiíC
- //
- // Ñ╗│n┼Θ╢╚┤ú¿╤º@¼░└│Ñ╬ñW¬║░╤ª╥, ª╙Ñ╝┴n⌐·⌐╬┴⌠ºtÑ⌠ª≤½O├╥; ╣∩⌐≤Ñ⌠ª≤»S«φ
- // Ñ╬│~ñº╛A║┘⌐╩, ÑHñ╬░╙╖~╛P░Γ⌐╥┴⌠ºtÑX¿π¬║½O├╥, ªbª╣ñ@╖ºñ⌐ÑHº_╗{íC
- //
-
- // Define common prototypes and subassemblies for use by acad.dcl and
- // user-defined dialogs.
-
- // (The primitive widgets are set up automatically by init_dialog. The
- // equivalent DCL is shown here (commented out) for reference.)
-
- // dialog {
- // layout = vertical;
- // is_enabled = false;
- // }
- //
- // cluster {
- // layout = horizontal;
- // }
- //
- // radio_cluster {
- // layout = horizontal;
- // is_enabled = true;
- // }
- //
- // tile {
- // layout = horizontal;
- // is_enabled = true;
- // }
- //
- // text : tile {
- // fixed_height = true; // inhibit vertical expansion
- // }
- //
- // image : tile {
- // }
- //
- // button : tile {
- // fixed_height = true;
- // is_tab_stop = true;
- // }
- //
- // image_button : button {
- // is_tab_stop = true;
- // }
- //
- // toggle : tile {
- // fixed_height = true;
- // is_tab_stop = true;
- // }
- //
- // radio_button : tile {
- // fixed_height = true;
- // is_tab_stop = true;
- // }
- //
- // list_box : tile {
- // is_tab_stop = true;
- // height = 10;
- // width = 10;
- // }
- //
- // edit_box : tile {
- // fixed_height = true;
- // is_tab_stop = true;
- // }
- //
- // popup_list : tile {
- // is_tab_stop = true;
- // fixed_height = true;
- // }
- //
- // slider : tile {
- // is_tab_stop = true;
- // }
- //
- // spacer : tile {
- // }
-
- //----- Styles of clusters.
-
- row : cluster {
- horizontal_margin = none;
- vertical_margin = none;
- children_alignment = centered;
- }
-
- column : cluster {
- layout = vertical;
- horizontal_margin = none;
- vertical_margin = none;
- }
-
- boxed_row : cluster {
- label = " ";
- boxed = true;
- children_alignment = centered;
- }
-
- boxed_column : cluster {
- layout = vertical;
- label = " ";
- boxed = true;
- }
-
- //----- Styles of radio clusters.
-
- radio_row : radio_cluster {
- horizontal_margin = none;
- vertical_margin = none;
- children_alignment = centered;
- }
-
- radio_column : radio_cluster {
- layout = vertical;
- horizontal_margin = none;
- vertical_margin = none;
- }
-
- boxed_radio_row : radio_cluster {
- label = " ";
- boxed = true;
- children_alignment = centered;
- }
-
- boxed_radio_column : radio_cluster {
- layout = vertical;
- label = " ";
- boxed = true;
- }
-
- //----- Horizontal and vertical blocks of running text.
-
- concatenation : cluster {
- fixed_width = true;
- fixed_height = true;
- children_alignment = centered;
- }
-
- paragraph : cluster {
- layout = vertical;
- fixed_height = true;
- }
-
- text_part : text {
- horizontal_margin = none;
- vertical_margin = none;
- }
-
- //----- Common spacers.
-
- spacer_0 : spacer {
- height = 0;
- width = 0;
- horizontal_margin = none;
- vertical_margin = none;
- }
-
- spacer_1 : spacer {
- height = 1;
- width = 1;
- horizontal_margin = none;
- vertical_margin = none;
- }
-
- //----- The normal default widget.
-
- default_button : button {
- is_default = true;
- }
-
- //----- plain_cluster and plain_text are obsolete. Use the new cluster
- // styles and running text prototypes above.
-
- plain_cluster : cluster {
- horizontal_margin = none;
- vertical_margin = none;
- }
-
- plain_text : text { // text without margins
- horizontal_margin = none;
- vertical_margin = none;
- }
-
- //----- Standard prototype for making consistent "dialog retirement buttons".
- // Used below for the predefined retirement buttons, and for user-defined
- // dialogs that need retirement buttons with specialized verbs.
-
- retirement_button : button {
- fixed_width = true;
- width = 8;
- alignment = centered;
- }
-
- //----- Standard dialog retirement buttons. Unless one is building a dialog
- // retirement subassembly containing specialized verbs, these will
- // normally not be used directly by DCL code outside of base.dcl; use
- // the pre-built subassemblies in the next section.
-
- ok_button : retirement_button {
- label = /*MSG1*/" OK ";
- key = "accept";
- is_default = true;
- }
-
- cancel_button : retirement_button {
- label = /*MSG3*/"¿·«°";
- key = "cancel";
- is_cancel = true;
- }
-
- help_button : retirement_button {
- label = /*MSG5*/"¿DºUH...";
- key = "help";
- mnemonic = /*MSG6*/"H";
- }
-
- info_button : retirement_button {
- label = /*MSG7*/"░T«ºI...";
- key = "info";
- mnemonic = /*MSG8*/"I";
- }
-
- //----- Pre-built arrays of dialog bottom-line buttons.
-
- ok_only : column {
- fixed_width = true;
- alignment = centered;
- : ok_button {
- is_cancel = true;
- }
- }
-
- ok_cancel : column {
- : row {
- fixed_width = true;
- alignment = centered;
- ok_button;
- : spacer { width = 2; }
- cancel_button;
- }
- }
-
- ok_cancel_help : column {
- : row {
- fixed_width = true;
- alignment = centered;
- ok_button;
- : spacer { width = 2; }
- cancel_button;
- : spacer { width = 2; }
- help_button;
- }
- }
-
- ok_cancel_help_info : column {
- : row {
- fixed_width = true;
- alignment = centered;
- ok_button;
- : spacer { width = 2; }
- cancel_button;
- : spacer { width = 2; }
- help_button;
- : spacer { width = 2; }
- info_button;
- }
- }
-
- //----- Error reporting tiles.
-
- errtile : text {
- label = "";
- key = "error";
- width = 35; // must be long enough to hold error msgs
- is_error_tile = true;
- }
-
- // A custer consisting of OK, Cancel, and Help on one line with the error tile
- // below.
-
- ok_cancel_help_errtile : column {
- ok_cancel_help;
- errtile;
- }
-
- // The same thing without the Help button for subdialogues that have no help
- // available.
-
- ok_cancel_err : column {
- ok_cancel;
- errtile;
- }
-
- //----- Currently, the only dcl setting is the audit_level which controls the
- // level of semantic error checking applied during a load_dialog operation.
- // (0 = none, 1 = errors, 2 = warnings, 3 = hints)
- // See AutoCAD's README for details.
- default_dcl_settings : tile {
- audit_level = 1;
- }
-
- //----- Miscellaneous parts used by acad.dcl.
-
- image_block : image {
- key = "show_image";
- height = 1;
- width = 1;
- }
-
- icon_image : image_button {
- color = 0;
- width = 12;
- aspect_ratio = 0.66;
- allow_accept = true;
- fixed_height = true;
- fixed_width = true;
- }
-
- edit12_box : edit_box {
- edit_width = 12;
- edit_limit = 18;
- }
-
- // The following are for the color-selection dialogs
-
- swatch : image_button {
- vertical_margin = none;
- horizontal_margin = none;
- fixed_height = true;
- fixed_width = true;
- height = 1.5;
- width = 3;
- }
-
- color_palette_1_7 : row { // Standard colors 1-7
- : swatch { color = 001; key = "001"; }
- : swatch { color = 002; key = "002"; }
- : swatch { color = 003; key = "003"; }
- : swatch { color = 004; key = "004"; }
- : swatch { color = 005; key = "005"; }
- : swatch { color = 006; key = "006"; }
- : swatch { color = 007; key = "007"; }
- }
-
- color_palette_1_9 : row { // Standard colors, plus 8 and 9
- color_palette_1_7;
- : swatch { color = 008; key = "008"; }
- : swatch { color = 009; key = "009"; }
- }
-
- color_palette_0_9 : row { // Standard colors, plus 0, 8, and 9
- : swatch { color = 000; key = "000"; }
- color_palette_1_9;
- }
-
- color_palette_250_255 : row { // Grey shades 250-255
- : swatch { color = 250; key = "250"; }
- : swatch { color = 251; key = "251"; }
- : swatch { color = 252; key = "252"; }
- : swatch { color = 253; key = "253"; }
- : swatch { color = 254; key = "254"; }
- : swatch { color = 255; key = "255"; }
- }
-
- std_rq_color :column{
- :column {
- :boxed_row {
- fixed_width = true;
- label = /*MSG13*/"╝╨╖╟├CªΓ";
- color_palette_1_9;
- }
- :row {
- :boxed_row {
- fixed_width = true;
- label = /*MSG14*/"ª╟╢Ñ";
- color_palette_250_255;
- }
- :boxed_row {
- fixed_width = true;
- label = /*MSG15*/"┼▐┐Φ├CªΓ";
- :button {
- label = /*MSG16*/"BYLAYER";
- mnemonic = /*MSG17*/"L";
- key = "256";
- }
- :button {
- label = /*MSG18*/"BYBLOCK";
- mnemonic = /*MSG19*/"B";
- key = "000";
- }
- }
- }
- }
- :boxed_column {
- label = /*MSG20*/"Ñ■▒mªΓ╜L";
- :image_button{
- key = "hiside";
- width = 40;
- height = 5;
- }
- :image_button{
- key = "loside";
- width = 40;
- height = 5;
- }
- }
- :row {
- fixed_width = true;
- alignment = centered;
- :edit12_box {
- label = /*MSG21*/"├CªΓ:";
- key = "color_edit";
- allow_accept = true;
- }
- :swatch {
- key = "color_image";
- }
- }
- ok_cancel_help_errtile;
- }
-
- // The preceding are for color-selection dialogs
-
-
- // Top and bottom sub-assemblies for the files dialogue
- files_topdf : column {
- : edit_box {
- key = "pedit";
- label = /*MSG9*/"└╔«╫├■ºOP:";
- mnemonic = /*MSG22*/"P";
- edit_width = 35;
- }
- : row {
- : text {
- label = /*MSG10*/"Ñ╪┐²:";
- }
- : text {
- key = "dirtext";
- width = 35;
- }
- }
- }
-
- files_bottomdf : column {
- : edit_box {
- key = "fedit";
- label = /*MSG11*/"└╔«╫F:";
- mnemonic = /*MSG23*/"F";
- allow_accept = true;
- }
- ok_cancel_help;
- errtile;
- }
-