home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / tech / protocol.hqx / ProtocolSources.pit / Protocol.r < prev    next >
Encoding:
Text File  |  1986-05-20  |  4.0 KB  |  371 lines

  1. #ifdef Debugging
  2. include MacAppRFiles"Debug.rsrc";
  3. #endif
  4. include MacAppRFiles"MacApp.rsrc";
  5. include MacAppRFiles"Printing.rsrc";
  6.  
  7. include "ProtocolExtras.rsrc";
  8. include "Protocol" 'CODE';
  9.  
  10. resource 'STR#' (256, purgeable, preload) {
  11.      {    /* array StringArray: 12 elements */
  12.         /* [1] */
  13.         "Save this document as:";
  14.         /* [2] */
  15.         "Rescue of \"Protocol\" Document";
  16.         /* [3] */
  17.         "Show Clipboard";
  18.         /* [4] */
  19.         "Hide Clipboard";
  20.         /* [5] */
  21.         "Print╔";
  22.         /* [6] */
  23.         "Stop Printing";
  24.         /* [7] */
  25.         "Unused";
  26.         /* [8] */
  27.         "Unused";
  28.         /* [9] */
  29.         "Print File";
  30.         /* [10] */
  31.         "Undo";
  32.         /* [11] */
  33.         "Redo";
  34.         /* [12] */
  35.         "Unable to display contents at th"
  36.         "e moment"
  37.     }
  38. };
  39.  
  40. resource 'cmnu' (1) {
  41.     1,
  42.     textMenuProc,
  43.     0x7FFFFFFD,
  44.     enabled,
  45.     apple,
  46.      {    /* array: 2 elements */
  47.         /* [1] */
  48.         "About Protocol╔",
  49.         noIcon,
  50.         noKey,
  51.         noMark,
  52.         plain,
  53.         1234;
  54.         /* [2] */
  55.         "-",
  56.         noIcon,
  57.         noKey,
  58.         noMark,
  59.         plain,
  60.         nocommand
  61.     }
  62. };
  63.  
  64. resource 'cmnu' (2) {
  65.     2,
  66.     textMenuProc,
  67.     0x7FFFDDFB,
  68.     enabled,
  69.     "File",
  70.      {    /* array: 15 elements */
  71.         /* [1] */
  72.         "New",
  73.         noIcon,
  74.         noKey,
  75.         noMark,
  76.         plain,
  77.         10;
  78.         /* [2] */
  79.         "Open╔",
  80.         noIcon,
  81.         noKey,
  82.         noMark,
  83.         plain,
  84.         20;
  85.         /* [3] */
  86.         "-",
  87.         noIcon,
  88.         noKey,
  89.         noMark,
  90.         plain,
  91.         nocommand;
  92.         /* [4] */
  93.         "Close",
  94.         noIcon,
  95.         noKey,
  96.         noMark,
  97.         plain,
  98.         31;
  99.         /* [5] */
  100.         "Save",
  101.         noIcon,
  102.         noKey,
  103.         noMark,
  104.         plain,
  105.         30;
  106.         /* [6] */
  107.         "Save As╔",
  108.         noIcon,
  109.         noKey,
  110.         noMark,
  111.         plain,
  112.         32;
  113.         /* [7] */
  114.         "Save a Copy In╔",
  115.         noIcon,
  116.         noKey,
  117.         noMark,
  118.         plain,
  119.         33;
  120.         /* [8] */
  121.         "Save a MacDraw¬ PICT Copy In╔",
  122.         noIcon,
  123.         noKey,
  124.         noMark,
  125.         plain,
  126.         2000;
  127.         /* [9] */
  128.         "Revert",
  129.         noIcon,
  130.         noKey,
  131.         noMark,
  132.         plain,
  133.         34;
  134.         /* [10] */
  135.         "-",
  136.         noIcon,
  137.         noKey,
  138.         noMark,
  139.         plain,
  140.         nocommand;
  141.         /* [11] */
  142.         "Page Setup╔",
  143.         noIcon,
  144.         noKey,
  145.         noMark,
  146.         plain,
  147.         176;
  148.         /* [12] */
  149.         "Print One",
  150.         noIcon,
  151.         noKey,
  152.         noMark,
  153.         plain,
  154.         177;
  155.         /* [13] */
  156.         "Print╔",
  157.         noIcon,
  158.         noKey,
  159.         noMark,
  160.         plain,
  161.         178;
  162.         /* [14] */
  163.         "-",
  164.         noIcon,
  165.         noKey,
  166.         noMark,
  167.         plain,
  168.         nocommand;
  169.         /* [15] */
  170.         "Quit",
  171.         noIcon,
  172.         "Q",
  173.         noMark,
  174.         plain,
  175.         36
  176.     }
  177. };
  178.  
  179. resource 'cmnu' (3) {
  180.     3,
  181.     textMenuProc,
  182.     0x7FFFFFBD,
  183.     enabled,
  184.     "Edit",
  185.      {    /* array: 8 elements */
  186.         /* [1] */
  187.         "Undo",
  188.         noIcon,
  189.         "Z",
  190.         noMark,
  191.         plain,
  192.         101;
  193.         /* [2] */
  194.         "-",
  195.         noIcon,
  196.         noKey,
  197.         noMark,
  198.         plain,
  199.         nocommand;
  200.         /* [3] */
  201.         "Cut",
  202.         noIcon,
  203.         "X",
  204.         noMark,
  205.         plain,
  206.         103;
  207.         /* [4] */
  208.         "Copy",
  209.         noIcon,
  210.         "C",
  211.         noMark,
  212.         plain,
  213.         104;
  214.         /* [5] */
  215.         "Paste",
  216.         noIcon,
  217.         "V",
  218.         noMark,
  219.         plain,
  220.         105;
  221.         /* [6] */
  222.         "Clear",
  223.         noIcon,
  224.         noKey,
  225.         noMark,
  226.         plain,
  227.         106;
  228.         /* [7] */
  229.         "-",
  230.         noIcon,
  231.         noKey,
  232.         noMark,
  233.         plain,
  234.         nocommand;
  235.         /* [8] */
  236.         "Show Clipboard",
  237.         noIcon,
  238.         noKey,
  239.         noMark,
  240.         plain,
  241.         35
  242.     }
  243. };
  244.  
  245. resource 'cmnu' (4) {
  246.     4,
  247.     textMenuProc,
  248.     0x7FFFFFEB,
  249.     enabled,
  250.     "View",
  251.      {    /* array: 6 elements */
  252.         /* [1] */
  253.         "Outline",
  254.         noIcon,
  255.         noKey,
  256.         noMark,
  257.         plain,
  258.         1000;
  259.         /* [2] */
  260.         "Chart",
  261.         noIcon,
  262.         noKey,
  263.         noMark,
  264.         plain,
  265.         1001;
  266.         /* [3] */
  267.         "-",
  268.         noIcon,
  269.         noKey,
  270.         noMark,
  271.         plain,
  272.         nocommand;
  273.         /* [4] */
  274.         "Shadowed Shapes",
  275.         noIcon,
  276.         noKey,
  277.         noMark,
  278.         plain,
  279.         1010;
  280.         /* [5] */
  281.         "-",
  282.         noIcon,
  283.         noKey,
  284.         noMark,
  285.         plain,
  286.         nocommand;
  287.         /* [6] */
  288.         "Show Page Breaks",
  289.         noIcon,
  290.         noKey,
  291.         noMark,
  292.         plain,
  293.         201
  294.     }
  295. };
  296.  
  297. resource 'MENU' (5) {
  298.     5,
  299.     textMenuProc,
  300.     allEnabled,
  301.     enabled,
  302.     "Font",
  303.      {    /* array: 0 elements */
  304.  
  305.     }
  306. };
  307.  
  308. resource 'cmnu' (6) {
  309.     6,
  310.     textMenuProc,
  311.     allEnabled,
  312.     enabled,
  313.     "Size",
  314.      {    /* array: 6 elements */
  315.         /* [1] */
  316.         "╩9 Point",
  317.         noIcon,
  318.         noKey,
  319.         noMark,
  320.         plain,
  321.         1109;
  322.         /* [2] */
  323.         "10 Point",
  324.         noIcon,
  325.         noKey,
  326.         noMark,
  327.         plain,
  328.         1110;
  329.         /* [3] */
  330.         "12 Point",
  331.         noIcon,
  332.         noKey,
  333.         noMark,
  334.         plain,
  335.         1112;
  336.         /* [4] */
  337.         "14 Point",
  338.         noIcon,
  339.         noKey,
  340.         noMark,
  341.         plain,
  342.         1114;
  343.         /* [5] */
  344.         "18 Point",
  345.         noIcon,
  346.         noKey,
  347.         noMark,
  348.         plain,
  349.         1118;
  350.         /* [6] */
  351.         "24 Point",
  352.         noIcon,
  353.         noKey,
  354.         noMark,
  355.         plain,
  356.         1124
  357.     }
  358. };
  359.  
  360. resource 'MENU' (7) {
  361.     7,
  362.     textMenuProc,
  363.     allEnabled,
  364.     enabled,
  365.     "Keywords",
  366.      {    /* array: 0 elements */
  367.  
  368.     }
  369. };
  370.  
  371.