70 lines
1.8 KiB
Plaintext
70 lines
1.8 KiB
Plaintext
#include <windows.h>
|
|
#include "aviview.h"
|
|
|
|
ID_APP ICON aviview.ico
|
|
AppIcon ICON aviview.ico
|
|
|
|
ID_APP menu
|
|
begin
|
|
POPUP "&File"
|
|
begin
|
|
MENUITEM "&Open..." , MENU_OPEN
|
|
MENUITEM "&Close" , MENU_NEW
|
|
MENUITEM "&Merge..." , MENU_ADD
|
|
MENUITEM "&Save" , MENU_SAVE
|
|
MENUITEM "Save &As..." , MENU_SAVEAS
|
|
MENUITEM "Save &Raw..." , MENU_SAVERAW
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Save O&ptions..." , MENU_OPTIONS
|
|
MENUITEM "E&xit" , MENU_EXIT
|
|
end
|
|
POPUP "&Edit"
|
|
begin
|
|
MENUITEM "Cu&t\t^X" , MENU_CUT
|
|
MENUITEM "&Copy\t^C" , MENU_COPY
|
|
MENUITEM "Copy &File" , MENU_CFILE
|
|
MENUITEM "&Paste\t^V" , MENU_PASTE
|
|
MENUITEM "&Delete\tDel", , MENU_DELETE
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Mark\tEnter", , MENU_MARK
|
|
end
|
|
POPUP "&Action"
|
|
begin
|
|
MENUITEM "&Play\t^P" , MENU_PLAY
|
|
MENUITEM "&Stop\t^S" , MENU_STOP
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Play File" , MENU_PLAY_FILE
|
|
MENUITEM "Play Stream" , MENU_PLAY_STREAM
|
|
end
|
|
POPUP "&Zoom"
|
|
begin
|
|
MENUITEM "/&4" , MENU_ZOOMQUARTER
|
|
MENUITEM "/&2" , MENU_ZOOMHALF
|
|
MENUITEM "x&1" , MENU_ZOOM1
|
|
MENUITEM "x2" , MENU_ZOOM2
|
|
MENUITEM "x4" , MENU_ZOOM4
|
|
end
|
|
POPUP "&Random"
|
|
begin
|
|
MENUITEM "Save S&mall..." , MENU_SAVESMALL
|
|
MENUITEM "Open &Ball" , MENU_BALL
|
|
MENUITEM "Wave &Format..." , MENU_WAVEFORMAT
|
|
end
|
|
end
|
|
|
|
/*
|
|
* ACCELERATORS
|
|
*/
|
|
ID_APP ACCELERATORS PRELOAD
|
|
BEGIN
|
|
/* New Accelerators */
|
|
"^Z", MENU_UNDO
|
|
"^X", MENU_CUT
|
|
"^C", MENU_COPY
|
|
"^V", MENU_PASTE
|
|
"^P", MENU_PLAY
|
|
"^S", MENU_STOP
|
|
VK_DELETE, MENU_DELETE, VIRTKEY
|
|
VK_RETURN, MENU_MARK, VIRTKEY
|
|
END
|