Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.8 KiB

  1. #include <windows.h>
  2. #include "aviview.h"
  3. ID_APP ICON aviview.ico
  4. AppIcon ICON aviview.ico
  5. ID_APP menu
  6. begin
  7. POPUP "&File"
  8. begin
  9. MENUITEM "&Open..." , MENU_OPEN
  10. MENUITEM "Open &Ball" , MENU_BALL
  11. MENUITEM "&Close" , MENU_CLOSE
  12. MENUITEM "&Merge..." , MENU_MERGE
  13. MENUITEM "Save &As..." , MENU_SAVEAS
  14. MENUITEM "Save &Raw..." , MENU_SAVERAW
  15. MENUITEM SEPARATOR
  16. MENUITEM "Save O&ptions..." , MENU_OPTIONS
  17. MENUITEM "E&xit" , MENU_EXIT
  18. end
  19. POPUP "&Edit"
  20. begin
  21. MENUITEM "Cu&t\t^X" , MENU_CUT
  22. MENUITEM "&Copy\t^C" , MENU_COPY
  23. MENUITEM "&Paste\t^V" , MENU_PASTE
  24. MENUITEM "&Delete\tDel", , MENU_DELETE
  25. MENUITEM SEPARATOR
  26. MENUITEM "&Mark\tEnter", , MENU_MARK
  27. end
  28. POPUP "&Action"
  29. begin
  30. MENUITEM "&Play\t^P" , MENU_PLAY
  31. MENUITEM "&Stop\t^S" , MENU_STOP
  32. end
  33. POPUP "&Zoom"
  34. begin
  35. MENUITEM "/&4" , MENU_ZOOMQUARTER
  36. MENUITEM "/&2" , MENU_ZOOMHALF
  37. MENUITEM "x&1" , MENU_ZOOM1
  38. MENUITEM "x2" , MENU_ZOOM2
  39. MENUITEM "x4" , MENU_ZOOM4
  40. end
  41. POPUP "&Playback"
  42. begin
  43. MENUITEM "&Decompress" , MENU_PLAY_DECOMPRESS
  44. MENUITEM "&Cheat" , MENU_PLAY_CHEAT
  45. MENUITEM "&Yield Bound" , MENU_PLAY_YIELD_BOUND
  46. MENUITEM "&Read Bound" , MENU_PLAY_READ_BOUND
  47. MENUITEM "&Decompress Bound", MENU_PLAY_DECOMPRESS_BOUND
  48. MENUITEM "&Draw Bound" , MENU_PLAY_DRAW_BOUND
  49. end
  50. end
  51. /*
  52. * ACCELERATORS
  53. */
  54. ID_APP ACCELERATORS PRELOAD
  55. BEGIN
  56. /* New Accelerators */
  57. "^Z", MENU_UNDO
  58. "^X", MENU_CUT
  59. "^C", MENU_COPY
  60. "^V", MENU_PASTE
  61. "^P", MENU_PLAY
  62. "^S", MENU_STOP
  63. VK_DELETE, MENU_DELETE, VIRTKEY
  64. VK_RETURN, MENU_MARK, VIRTKEY
  65. END