home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume15 / touchup / part05 / command.c < prev    next >
Encoding:
C/C++ Source or Header  |  1988-06-14  |  4.3 KB  |  160 lines

  1.  
  2. /**************************************************************************
  3.    Touchup a bitmap graphics editor for the Sun Workstation running SunView
  4.    Copyright (c) 1988 by Raymond Kreisel
  5.    1/22/88 @ Suny Stony Brook
  6.  
  7.    This program may be redistributed without fee as long as this copyright
  8.    notice is intact.
  9.  
  10. ==> PLEASE send comments and bug reports to one of the following addresses:
  11.  
  12.        Ray Kreisel
  13.        CS Dept., SUNY at Stony Brook, Stony Brook NY 11794
  14.  
  15.        UUCP: {allegra, philabs, pyramid, research}!sbcs!rayk   
  16.        ARPA-Internet: rayk@sbcs.sunysb.edu            
  17.        CSnet: rayk@suny-sb
  18.        (If nobody is home at any of the above addresses try:
  19.         S72QKRE@TOWSONVX.BITNET                    )
  20.  
  21.  "If I get home before daylight, I just might get some sleep tonight...."
  22.  
  23. **************************************************************************/
  24.  
  25. /**************************************************************************
  26.     file: command.c
  27.     purpose: This file contains the icon data for the command icons
  28.         in the command menu of the righthand side of the main window
  29.  
  30.     modifications:
  31.         date:    Tue Mar 22 22:04:58 EST 1988
  32.         author:    rayk
  33.         changes:add comments
  34. **************************************************************************/
  35. #include <pixrect/pixrect_hs.h>
  36.  
  37.  
  38. static short command1_data[] = {
  39. #include "laso.cicon.pat"
  40. };
  41. static mpr_static(command1_pr, 48, 48, 1, command1_data);
  42.  
  43. static short command2_data[] = {
  44. #include "circle_h.cicon.pat"
  45. };
  46. static mpr_static(command2_pr, 48, 48, 1, command2_data);
  47.  
  48. static short command3_data[] = {
  49. #include "draw.cicon.pat"
  50. };
  51. static mpr_static(command3_pr, 48, 48, 1, command3_data);
  52.  
  53. static short command4_data[] = {
  54. #include "line.cicon.pat"
  55. };
  56. static mpr_static(command4_pr, 48, 48, 1, command4_data);
  57.  
  58. static short command5_data[] = {
  59. #include "mag.cicon.pat"
  60. };
  61. static mpr_static(command5_pr, 48, 48, 1, command5_data);
  62.  
  63. static short command6_data[] = {
  64. #include "ffill.cicon.pat"
  65. };
  66. static mpr_static(command6_pr, 48, 48, 1, command6_data);
  67.  
  68. static short command7_data[] = {
  69. #include "oval_h.cicon.pat"
  70. };
  71. static mpr_static(command7_pr, 48, 48, 1, command7_data);
  72.  
  73. static short command8_data[] = {
  74. #include "poly_f.cicon.pat"
  75. };
  76. static mpr_static(command8_pr, 48, 48, 1, command8_data);
  77.  
  78. static short command9_data[] = {
  79. #include "poly_h.cicon.pat"
  80. };
  81. static mpr_static(command9_pr, 48, 48, 1, command9_data);
  82.  
  83. static short command10_data[] = {
  84. #include "rectan_f.cicon.pat"
  85. };
  86. static mpr_static(command10_pr, 48, 48, 1, command10_data);
  87.  
  88. static short command11_data[] = {
  89. #include "rectan_h.cicon.pat"
  90. };
  91. static mpr_static(command11_pr, 48, 48, 1, command11_data);
  92.  
  93. static short command12_data[] = {
  94. #include "text.cicon.pat"
  95. };
  96. static mpr_static(command12_pr, 48, 48, 1, command12_data);
  97.  
  98. static short command13_data[] = {
  99. #include "sel_reg.cicon.pat"
  100. };
  101. static mpr_static(command13_pr, 48, 48, 1, command13_data);
  102.  
  103. static short command14_data[] = {
  104. #include "sel_point.cicon.pat"
  105. };
  106. static mpr_static(command14_pr, 48, 48, 1, command14_data);
  107.  
  108. static short command15_data[] = {
  109. #include "paint.cicon.pat"
  110. };
  111. static mpr_static(command15_pr, 48, 48, 1, command15_data);
  112.  
  113. static short command16_data[] = {
  114. #include "erase.cicon.pat"
  115. };
  116. static mpr_static(command16_pr, 48, 48, 1, command16_data);
  117.  
  118. /* SELECTED REGION COMMANDS */
  119.  
  120. static short reg_command1_data[] = {
  121. #include "cut.cicon.pat"
  122. };
  123. static mpr_static(reg_command1_pr, 48, 48, 1, reg_command1_data);
  124.  
  125. static short reg_command2_data[] = {
  126. #include "flip_hor.cicon.pat"
  127. };
  128. static mpr_static(reg_command2_pr, 48, 48, 1, reg_command2_data);
  129.  
  130. static short reg_command3_data[] = {
  131. #include "flip_ver.cicon.pat"
  132. };
  133. static mpr_static(reg_command3_pr, 48, 48, 1, reg_command3_data);
  134.  
  135. static short reg_command4_data[] = {
  136. #include "inverse.cicon.pat"
  137. };
  138. static mpr_static(reg_command4_pr, 48, 48, 1, reg_command4_data);
  139.  
  140. static short reg_command5_data[] = {
  141. #include "copy.cicon.pat"
  142. };
  143. static mpr_static(reg_command5_pr, 48, 48, 1, reg_command5_data);
  144.  
  145. static short reg_command6_data[] = {
  146. #include "paste.cicon.pat"
  147. };
  148. static mpr_static(reg_command6_pr, 48, 48, 1, reg_command6_data);
  149.  
  150. static short reg_command7_data[] = {
  151. #include "rotate.cicon.pat"
  152. };
  153. static mpr_static(reg_command7_pr, 48, 48, 1, reg_command7_data);
  154.  
  155.  
  156. static short reg_command8_data[] = {
  157. #include "move.cicon.pat"
  158. };
  159. static mpr_static(reg_command8_pr, 48, 48, 1, reg_command8_data);
  160.