source: trunk/Lucide/SOURCE/gui/Lucide.rc @ 20

Last change on this file since 20 was 20, checked in by bart, 15 years ago

Restructured the menu to make it more CUA compliant, stil room for discussion

File size: 2.8 KB
Line 
1#include "Lucide_res.H"
2#include <os2.h>
3
4BITMAP IDB_OPEN                 "bitmaps\\open.bmp"
5BITMAP IDB_PRINT                "bitmaps\\print.bmp"
6BITMAP IDB_NAVPANE              "bitmaps\\navpanel.bmp"
7BITMAP IDB_FIRSTPAGE    "bitmaps\\firstpage.bmp"
8BITMAP IDB_PREVPAGE             "bitmaps\\prevpage.bmp"
9BITMAP IDB_NEXTPAGE             "bitmaps\\nextpage.bmp"
10BITMAP IDB_LASTPAGE             "bitmaps\\lastpage.bmp"
11BITMAP IDB_100PERC              "bitmaps\\100perc.bmp"
12BITMAP IDB_FITPAGE              "bitmaps\\fitpage.bmp"
13BITMAP IDB_FITWIDTH             "bitmaps\\fitwidth.bmp"
14BITMAP IDB_FIND                 "bitmaps\\find.bmp"
15
16POINTER IDP_HAND                "bitmaps\\hand.ptr"
17
18MENU IDM_MAINMENU
19BEGIN
20    SUBMENU "MENU_DOCUMENT", 100
21    BEGIN
22        MENUITEM "MENU_OPEN", CM_OPEN
23        MENUITEM "MENU_SAVE_AS", CM_SAVEAS
24        MENUITEM "MENU_EXPORT_TO_PS", CM_EXPORTTOPS
25        MENUITEM SEPARATOR
26        MENUITEM "MENU_PAGE_SETUP", CM_PAGESETUP
27        MENUITEM "MENU_PRINT", CM_PRINT
28        MENUITEM SEPARATOR
29        MENUITEM "MENU_PLUGINS_LIST", CM_PLUGINSLIST
30        MENUITEM SEPARATOR
31        MENUITEM "MENU_EXIT", CM_EXIT
32    END
33
34    SUBMENU "MENU_EDIT", 200
35    BEGIN
36        MENUITEM "MENU_COPY", CM_COPY
37        MENUITEM SEPARATOR
38        MENUITEM "MENU_SELECT_ALL", CM_SELECTALL
39        MENUITEM SEPARATOR
40        MENUITEM "MENU_FIND", CM_FIND
41        MENUITEM "MENU_FINDAGAIN", CM_FINDAGAIN
42    END
43
44
45    SUBMENU "MENU_VIEW", 400
46    BEGIN
47        MENUITEM "MENU_FIT_WINDOW", CM_FITWINDOW
48        MENUITEM "MENU_ACTUAL_SIZE", CM_ACTSIZE
49        MENUITEM "MENU_FIT_WIDTH", CM_FITWIDTH
50        MENUITEM SEPARATOR
51        MENUITEM "MENU_FIRST_PAGE", CM_FIRSTPAGE
52        MENUITEM "MENU_PREV_PAGE", CM_PREVPAGE
53        MENUITEM "MENU_NEXT_PAGE", CM_NEXTPAGE
54        MENUITEM "MENU_LAST_PAGE", CM_LASTPAGE
55        MENUITEM "MENU_GO_TO_PAGE", CM_GOTOPAGE
56        MENUITEM SEPARATOR
57        MENUITEM "MENU_ROTATE_CW", CM_ROTATE90CW
58        MENUITEM "MENU_ROTATE_CCW", CM_ROTATE90CCW
59        MENUITEM SEPARATOR
60        MENUITEM "MENU_SINGLE_PAGE", CM_SINGLEPAGE
61        MENUITEM "MENU_CONTINUOUS", CM_CONTINUOUS
62         MENUITEM SEPARATOR
63        MENUITEM "MENU_DOCUMENT_INFO", CM_DOCINFO
64        MENUITEM "MENU_FONTS_INFO", CM_FONTSINFO
65    END
66
67     SUBMENU "MENU_WINDOW", 500
68    BEGIN
69        MENUITEM "MENU_SHOW_NAV_PANE", CM_NAVPANE
70
71    END
72     SUBMENU "MENU_HELP", 600
73    BEGIN
74        MENUITEM "MENU_PRODUCT_INFORMATION", CM_NAVPANE
75
76    END
77END
78
79ACCELTABLE IDA_MAINACCEL
80BEGIN
81    "O", CM_OPEN, CONTROL
82    "o", CM_OPEN, CONTROL
83    "X", CM_EXIT, CONTROL
84    "x", CM_EXIT, CONTROL
85    "C", CM_COPY, CONTROL
86    "c", CM_COPY, CONTROL
87    VK_INSERT, CM_COPY, VIRTUALKEY, CONTROL
88    "F", CM_FIND, CONTROL
89    "f", CM_FIND, CONTROL
90    "G", CM_FINDAGAIN, CONTROL
91    "g", CM_FINDAGAIN, CONTROL
92    "-", CM_PREVPAGE
93    "+", CM_NEXTPAGE
94END
95
96rcinclude dialogs.rc
Note: See TracBrowser for help on using the repository browser.