cwin.rc 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. // cwin.rc
  2. // Resource file to define menu structures, dialog boxes
  3. // and so on.
  4. //
  5. // Copyright )/(C) A C Norman 1995-2002
  6. #include <afxres.h>
  7. #include "cwinres.h"
  8. // The idea here is that an application-specific resource file just says
  9. // CWIN ICON my_own.ico
  10. // #include "cwin.rc"
  11. MainMenu MENU
  12. {
  13. POPUP "&File"
  14. {
  15. MENUITEM "&Read", IDM_READ
  16. MENUITEM "Save &As", IDM_SAVEAS
  17. MENUITEM "Save &Selection", IDM_SAVESEL
  18. MENUITEM "To &File", IDM_TOFILE
  19. MENUITEM "&Print", IDM_PRINT
  20. MENUITEM "Pr&int Selection", IDM_PRINTSEL
  21. MENUITEM "E&xit\a^Z", IDM_EXIT
  22. }
  23. POPUP "&Edit"
  24. {
  25. MENUITEM "Cu&t\a^X", IDM_CUT
  26. MENUITEM "&Paste\a^V", IDM_PASTE
  27. MENUITEM "C&opy\a^O", IDM_COPY
  28. MENUITEM "&Re-input\a^R", IDM_REINPUT
  29. MENUITEM "Select &All", IDM_SELECTALL
  30. MENUITEM "C&lear", IDM_CLEAR
  31. // MENUITEM "&Undo", IDM_UNDO
  32. MENUITEM "Re&draw\a^L", IDM_REDRAW
  33. MENUITEM "&Home", IDM_HOME
  34. MENUITEM "&End", IDM_END
  35. }
  36. POPUP "F&ont"
  37. {
  38. MENUITEM "&Font", IDM_FONT
  39. MENUITEM "&Reset Font", IDM_RESET_FONT
  40. MENUITEM "&Reset Window", IDM_RESET_WINDOW
  41. }
  42. POPUP "&Break"
  43. {
  44. MENUITEM "&Interrupt\a^C", IDM_INTERRUPT
  45. MENUITEM "&Backtrace\a^G", IDM_BACKTRACE
  46. MENUITEM "&Page Mode", IDM_PAGEMODE
  47. MENUITEM "E&xit\a^Z", IDM_EXIT
  48. }
  49. #ifdef GRAPHICS_WINDOW
  50. POPUP "&Windows"
  51. {
  52. MENUITEM "&Graphics", IDM_GRAPHICS
  53. // MENUITEM "&History", IDM_HISTORY
  54. }
  55. #endif
  56. #ifndef COMMON
  57. // POPUP "&Load"
  58. // {
  59. // These are very much REDUCE specific!
  60. // POPUP "A-C"
  61. // {
  62. // MENUITEM "algint", IDM_ALGINT
  63. // MENUITEM "applysym", IDM_APPLYSYM
  64. // MENUITEM "arnum", IDM_ARNUM
  65. // MENUITEM "assist", IDM_ASSIST
  66. // MENUITEM "avector", IDM_AVECTOR
  67. // MENUITEM "boolean", IDM_BOOLEAN
  68. // MENUITEM "cali", IDM_CALI
  69. // MENUITEM "camal", IDM_CAMAL
  70. // MENUITEM "changevr", IDM_CHANGEVR
  71. // MENUITEM "compact", IDM_COMPACT
  72. // MENUITEM "complex", IDM_COMPLEX
  73. // MENUITEM "crack", IDM_CRACK
  74. // MENUITEM "cvit", IDM_CVIT
  75. // }
  76. // POPUP "D-I"
  77. // {
  78. // MENUITEM "decompos", IDM_DECOMPOS
  79. // MENUITEM "defint", IDM_DEFINT
  80. // MENUITEM "desir", IDM_DESIR
  81. // MENUITEM "dfpart", IDM_DFPART
  82. // MENUITEM "dummy", IDM_DUMMY
  83. // MENUITEM "elem", IDM_ELEM
  84. // MENUITEM "excalc", IDM_EXCALC
  85. // MENUITEM "fide", IDM_FIDE
  86. // MENUITEM "fps", IDM_FPS
  87. // MENUITEM "gentran", IDM_GENTRAN
  88. // MENUITEM "gnuplot", IDM_GNUPLOT
  89. // MENUITEM "groebner", IDM_GROEBNER
  90. // MENUITEM "ideals", IDM_IDEALS
  91. // MENUITEM "ineq", IDM_INEQ
  92. // MENUITEM "invbase", IDM_INVBASE
  93. // }
  94. // POPUP "L-R"
  95. // {
  96. // MENUITEM "laplace", IDM_LAPLACE
  97. // MENUITEM "lie", IDM_LIE
  98. // MENUITEM "linalg", IDM_LINALG
  99. // MENUITEM "modsr", IDM_MODSR
  100. // MENUITEM "ncpoly", IDM_NCPOLY
  101. // MENUITEM "normform", IDM_NORMFORM
  102. // MENUITEM "numeric", IDM_NUMERIC
  103. // MENUITEM "odesolve", IDM_ODESOLVE
  104. // MENUITEM "orthovec", IDM_ORTHOVEC
  105. // MENUITEM "physop", IDM_PHYSOP
  106. // MENUITEM "pmrules", IDM_PMRULES
  107. // MENUITEM "randpoly", IDM_RANDPOLY
  108. // MENUITEM "reacteqn", IDM_REACTEQN
  109. // MENUITEM "residue", IDM_RESIDUE
  110. // MENUITEM "rlfi", IDM_RLFI
  111. // MENUITEM "rsolve", IDM_RSOLVE
  112. // }
  113. // POPUP "S-Z"
  114. // {
  115. // MENUITEM "scope", IDM_SCOPE
  116. // MENUITEM "sets", IDM_SETS
  117. // MENUITEM "spde", IDM_SPDE
  118. // MENUITEM "specfn", IDM_SPECFN
  119. // MENUITEM "symmetry", IDM_SYMMETRY
  120. // MENUITEM "taylor", IDM_TAYLOR
  121. // MENUITEM "tps", IDM_TPS
  122. // MENUITEM "tri", IDM_TRI
  123. // MENUITEM "trigsimp", IDM_TRIGSIMP
  124. // MENUITEM "wu", IDM_WU
  125. // MENUITEM "xcolor", IDM_XCOLOR
  126. // MENUITEM "xideal", IDM_XIDEAL
  127. // MENUITEM "zeilberg", IDM_ZEILBERG
  128. // MENUITEM "ztrans", IDM_ZTRANS
  129. // }
  130. // }
  131. // POPUP "&Switches"
  132. // {
  133. // These should no longer be used or needed in this form!
  134. // POPUP "A-E"
  135. // {
  136. // MENUITEM "algint", IDS_algint
  137. // MENUITEM "adjprec", IDS_adjprec
  138. // MENUITEM "allbranch", IDS_allbranch
  139. // MENUITEM "allfac", IDS_allfac, CHECKED
  140. // MENUITEM "arbvars", IDS_arbvars
  141. // MENUITEM "asterisk", IDS_asterisk, CHECKED
  142. // MENUITEM "backtrace", IDS_backtrace
  143. // MENUITEM "balanced_mod", IDS_balanced_mod
  144. // MENUITEM "bfspace", IDS_bfspace
  145. // MENUITEM "combineexpt", IDS_combineexpt
  146. // MENUITEM "combinelogs", IDS_combinelogs
  147. // MENUITEM "comp", IDS_comp
  148. // MENUITEM "complex", IDS_complex
  149. // MENUITEM "compxroots", IDS_compxroots
  150. // MENUITEM "cramer", IDS_cramer
  151. // MENUITEM "cref", IDS_cref
  152. // MENUITEM "defn", IDS_defn
  153. // MENUITEM "demo", IDS_demo
  154. // MENUITEM "dfprint", IDS_dfprint
  155. // MENUITEM "div", IDS_div
  156. // MENUITEM "echo", IDS_echo
  157. // MENUITEM "errcont", IDS_errcont
  158. // MENUITEM "evallhseqp", IDS_evallhseqp
  159. // MENUITEM "exp", IDS_exp, CHECKED
  160. // MENUITEM "expandexpt", IDS_expandexpt, CHECKED
  161. // MENUITEM "expandlogs", IDS_expandlogs
  162. // MENUITEM "ezgcd", IDS_ezgcd
  163. // }
  164. // POPUP "&F-L"
  165. // {
  166. // MENUITEM "factor", IDS_factor
  167. // MENUITEM "fastfor", IDS_fastfor
  168. // MENUITEM "force", IDS_force
  169. // MENUITEM "fort", IDS_fort
  170. // MENUITEM "fortupper", IDS_fortupper
  171. // MENUITEM "fullprec", IDS_fullprec
  172. // MENUITEM "fullprecision", IDS_fullprecision
  173. // MENUITEM "fullroots", IDS_fullroots
  174. // MENUITEM "gc", IDS_gc
  175. // MENUITEM "gcd", IDS_gcd
  176. // MENUITEM "heugcd", IDS_heugcd
  177. // MENUITEM "horner", IDS_horner
  178. // MENUITEM "ifactor", IDS_ifactor
  179. // MENUITEM "int", IDS_int
  180. // MENUITEM "intstr", IDS_intstr
  181. // MENUITEM "lcm", IDS_lcm, CHECKED
  182. // MENUITEM "lessspace", IDS_lessspace
  183. // MENUITEM "limitedfactors", IDS_limitedfactors
  184. // MENUITEM "list", IDS_list
  185. // MENUITEM "listargs", IDS_listargs
  186. // MENUITEM "lower", IDS_lower, CHECKED
  187. // }
  188. // POPUP "M-Q"
  189. // {
  190. // MENUITEM "mcd", IDS_mcd, CHECKED
  191. // MENUITEM "modular", IDS_modular
  192. // MENUITEM "msg", IDS_msg, CHECKED
  193. // MENUITEM "multiplicities", IDS_multiplicities
  194. // MENUITEM "nat", IDS_nat, CHECKED
  195. // MENUITEM "nero", IDS_nero
  196. // MENUITEM "noarg", IDS_noarg, CHECKED
  197. // MENUITEM "noconvert", IDS_noconvert
  198. // MENUITEM "nonlnr", IDS_nonlnr
  199. // MENUITEM "nosplit", IDS_nosplit, CHECKED
  200. // MENUITEM "numval", IDS_numval, CHECKED
  201. // MENUITEM "output", IDS_output, CHECKED
  202. // MENUITEM "period", IDS_period, CHECKED
  203. // MENUITEM "pgwd", IDS_pgwd
  204. // MENUITEM "plap", IDS_plap
  205. // MENUITEM "precise", IDS_precise, CHECKED
  206. // MENUITEM "pret", IDS_pret
  207. // MENUITEM "pri", IDS_pri, CHECKED
  208. // MENUITEM "pwrds", IDS_pwrds, CHECKED
  209. // MENUITEM "quotenewnam", IDS_quotenewnam, CHECKED
  210. // }
  211. // POPUP "R-Z"
  212. // {
  213. // MENUITEM "raise", IDS_raise
  214. // MENUITEM "rat", IDS_rat
  215. // MENUITEM "ratarg", IDS_ratarg
  216. // MENUITEM "rational", IDS_rational
  217. // MENUITEM "rationalize", IDS_rationalize
  218. // MENUITEM "ratpri", IDS_ratpri, CHECKED
  219. // MENUITEM "reduced", IDS_reduced
  220. // MENUITEM "revpri", IDS_revpri
  221. // MENUITEM "rlisp88", IDS_rlisp88
  222. // MENUITEM "rootmsg", IDS_rootmsg
  223. // MENUITEM "roundall", IDS_roundall, CHECKED
  224. // MENUITEM "roundbf", IDS_roundbf
  225. // MENUITEM "rounded", IDS_rounded
  226. // MENUITEM "savestructr", IDS_savestructr
  227. // MENUITEM "solvesingular", IDS_solvesingular
  228. // MENUITEM "time", IDS_time
  229. // MENUITEM "trallfac", IDS_trallfac
  230. // MENUITEM "trfac", IDS_trfac
  231. // MENUITEM "trint", IDS_trint
  232. // MENUITEM "trroot", IDS_trroot
  233. // }
  234. // }
  235. #endif
  236. POPUP "&Help"
  237. {
  238. #ifndef NAG
  239. MENUITEM "&Contents", IDM_HELPCONTENTS
  240. MENUITEM "&Search for help", IDM_HELPSEARCH
  241. MENUITEM "&Help on Help", IDM_HELP_ON_HELP
  242. #endif
  243. MENUITEM "&About", IDM_ABOUT
  244. #ifdef DEMOVERSION
  245. MENUITEM "&European Prices", IDM_EUPRICES
  246. MENUITEM "&World Prices", IDM_WORLDPRICES
  247. MENUITEM "&Order Form", IDM_ORDERFORM
  248. #endif
  249. }
  250. }
  251. #ifdef GRAPHICS_WINDOW
  252. GraphicsMenu MENU
  253. {
  254. POPUP "&File"
  255. {
  256. MENUITEM "Save &As", IDM_SAVEAS
  257. MENUITEM "&Print", IDM_PRINT
  258. MENUITEM "&Close", IDM_CLOSE
  259. }
  260. POPUP "&Edit"
  261. {
  262. MENUITEM "C&opy\a^O", IDM_COPY
  263. MENUITEM "C&lear", IDM_CLEAR
  264. MENUITEM "&Redraw\a^L", IDM_REDRAW
  265. }
  266. POPUP "&Render"
  267. {
  268. MENUITEM "&Wire frame", IDM_WIREFRAME, CHECKED
  269. MENUITEM "&No surface", IDM_NOSURFACE
  270. MENUITEM "Sur&face", IDM_SURFACE
  271. MENUITEM "&Squares", IDM_SQUARES, CHECKED
  272. MENUITEM "&Triangles", IDM_TRIANGLES
  273. MENUITEM "S&mooth", IDM_SMOOTH
  274. MENUITEM "&Hi-smooth", IDM_HISMOOTH
  275. MENUITEM "Wire &Preview", IDM_WIREPREVIEW, CHECKED
  276. }
  277. POPUP "&Viewpoint"
  278. {
  279. MENUITEM "&View control", IDM_VIEWPOINT
  280. MENUITEM "rotate &Left", IDM_ROTLEFT
  281. MENUITEM "rotate &Right", IDM_ROTRIGHT
  282. MENUITEM "roll &Up", IDM_ROTUP
  283. MENUITEM "roll &Down", IDM_ROTDOWN
  284. MENUITEM "&Clockwise", IDM_CLOCKWISE
  285. MENUITEM "&Anti-clock", IDM_ANTICLOCK
  286. MENUITEM "&Bigger", IDM_ENLARGE
  287. MENUITEM "&Smaller", IDM_SHRINK
  288. }
  289. }
  290. #endif
  291. HelpMenu MENU
  292. {
  293. MENUITEM "&Close", IDM_CLOSE
  294. // MENUITEM "C&opy", IDM_COPY
  295. MENUITEM "&Redraw", IDM_REDRAW
  296. // MENUITEM "Save &As", IDM_SAVEAS
  297. // MENUITEM "&Print", IDM_PRINT
  298. }
  299. // end of cwin.rc