cwin.rc 12 KB

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