home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / pascal / !Pascal / Desc < prev    next >
Encoding:
Text File  |  1992-12-03  |  2.9 KB  |  125 lines

  1. # This is a description of the wimp interface for Pascal
  2.  
  3. tool_details_start
  4.    name          "Pascal";
  5.    version       "4.09";
  6.    wimpslot      352k;
  7.    has_extended_cmdline;
  8. tool_details_end
  9.  
  10.  
  11. metaoptions_start
  12.    has_auto_run;
  13.    has_auto_save     ^.leafname from icn 3;
  14.    has_text_window;
  15.    has_summary_window;
  16.    display_dft_is text;
  17. metaoptions_end
  18.  
  19.  
  20. fileoutput_start
  21.    output_option_is  "-o";
  22.    output_dft_is     produces_output;
  23. fileoutput_end
  24.  
  25.  
  26. # options dialogue box
  27. dbox_start
  28.  
  29.    #icon mappings
  30.    icons_start
  31.       icn 3  maps_to string          not_saved;
  32.       icn 6  maps_to "-g";
  33.       icn 7  maps_to "-ra";
  34.       icn 8  maps_to "-c";
  35.       icn 9  maps_to "-s";
  36.       icn 11 maps_to "-throwback";
  37.       icn 12 maps_to "-rn";
  38.       icn 13 maps_to "-rp";
  39.       icn 15 maps_to "-iso";
  40.       icn 16 maps_to "-rr";
  41.       icn 17 maps_to "-LC:o.RISC_OSLib";
  42.       icn 18 maps_to "-rv";
  43.       icn 19 maps_to "-rs";
  44.    icons_end
  45.  
  46.    #default icon values
  47.    defaults
  48.       icn 6  off,
  49.       icn 7  on,
  50.       icn 8  off,
  51.       icn 9  off,
  52.       icn 11 on,
  53.       icn 12 on,
  54.       icn 13 on,
  55.       icn 15 off,
  56.       icn 16 on,
  57.       icn 17 off,
  58.       icn 18 on,
  59.       icn 19 off;
  60.  
  61.    make_defaults
  62.       icn 6  off,
  63.       icn 7  off,
  64.       icn 8  off,
  65.       icn 9  off,
  66.       icn 10 off,
  67.       icn 11 on,
  68.       icn 12 off,
  69.       icn 13 off,
  70.       icn 15 off,
  71.       icn 16 off,
  72.       icn 18 off,
  73.       icn 19 off;
  74.                 
  75.    #drags to dbox (and icon bar)
  76.    imports_start
  77.       drag_to icn 3 inserts icn 3 separator_is " ";
  78.       drag_to iconbar inserts icn 3;
  79.    imports_end
  80.  
  81. dbox_end
  82.  
  83.  
  84. #menu from dbox
  85. menu_start
  86.  
  87.    "No Warnings"     maps_to "-w";
  88.    "Module code"     maps_to "-zM";
  89.    "Profile"         maps_to "-P";
  90.    "Preprocess only" maps_to "-E";
  91.    "Include"         maps_to "-I" sub_menu "  Include:  " 256;
  92.    "Keep comments"   maps_to "-C";
  93.    "Libraries"       maps_to "-L" sub_menu " Libraries: " 256;
  94.    "Predefine"       maps_to "" sub_menu "  Symbol:   " 256 prefix_by " -D" not_saved; 
  95.    "Undefine"        maps_to "" sub_menu "  Symbol:   " 256 prefix_by " -U" not_saved;
  96.    "Work directory"  maps_to "-Desktop " sub_menu " Directory: " 256;
  97.    "Other"           maps_to "" sub_menu "  Others:   " 256;
  98.  
  99.    #default values
  100.    defaults
  101.       menu  1 off,
  102.       menu  2 off,
  103.       menu  3 off,
  104.       menu  4 off,
  105.       menu  5 off,
  106.       menu  6 off,
  107.       menu  7 on  sub_menu "C:o.stubs",
  108.       menu  8 off,
  109.       menu  9 off,
  110.       menu 10 on  sub_menu "^",
  111.       menu 11 off;
  112.  
  113. menu_end
  114.  
  115.  
  116. #deselections (ie when an option is picked, which others get turned off?)
  117. deselections_start
  118.       icn 9 deselects icn 8;
  119.       icn 8 deselects icn 9;
  120. deselections_end
  121.  
  122. make_excludes icn 3, icn 8, icn 9, icn 17, menu 7, menu 10;
  123.  
  124. make_order_is  "-c -depend !Depend", icn 15, icn 6, icn 11, icn 7, icn 12, icn 16, icn 13, icn 18, icn 19, menu 1, menu 2, menu 3, menu 4, menu 5, menu 6, menu 8, menu 9, menu 10, menu 11;
  125.