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

Last change on this file since 267 was 267, checked in by Eugene Romanenko, 13 years ago

close menuitem

File size: 4.4 KB
Line 
1#include "Lucide_res.H"
2#include <os2.h>
3
4ICON IDI_MAIN_ICON      "bitmaps\\lucide.ico"
5BITMAP IDB_LOGO         "bitmaps\\lucidelogo.bmp"
6
7BITMAP IDB_OPEN         "bitmaps\\open.bmp"
8BITMAP IDB_PRINT        "bitmaps\\print.bmp"
9BITMAP IDB_NAVPANE      "bitmaps\\navpanel.bmp"
10BITMAP IDB_FIRSTPAGE    "bitmaps\\firstpage.bmp"
11BITMAP IDB_PREVPAGE     "bitmaps\\prevpage.bmp"
12BITMAP IDB_NEXTPAGE     "bitmaps\\nextpage.bmp"
13BITMAP IDB_LASTPAGE     "bitmaps\\lastpage.bmp"
14BITMAP IDB_100PERC      "bitmaps\\100perc.bmp"
15BITMAP IDB_FITPAGE      "bitmaps\\fitpage.bmp"
16BITMAP IDB_FITWIDTH     "bitmaps\\fitwidth.bmp"
17BITMAP IDB_FIND         "bitmaps\\find.bmp"
18BITMAP IDB_FINDAGAIN    "bitmaps\\findagain.bmp"
19BITMAP IDB_MGLASS       "bitmaps\\mglass.bmp"
20
21POINTER IDP_HAND        "bitmaps\\hand.ptr"
22POINTER IDP_ZOOM_IN     "bitmaps\\zoom_in.ptr"
23POINTER IDP_ZOOM_OUT    "bitmaps\\zoom_out.ptr"
24
25MENU IDM_MAINMENU
26BEGIN
27    SUBMENU "MENU_DOCUMENT", 100
28    BEGIN
29        MENUITEM "MENU_NEW_WINDOW", CM_NEW_WINDOW
30        MENUITEM "MENU_OPEN", CM_OPEN
31        SUBMENU "MENU_NEXT_PREVIOUS", 150
32        BEGIN
33            MENUITEM "MENU_FIRST", CM_FILEFIRST
34            MENUITEM "MENU_PREVIOUS", CM_FILEPREVIOUS
35            MENUITEM "MENU_NEXT", CM_FILENEXT
36            MENUITEM "MENU_LAST", CM_FILELAST
37        END
38        SUBMENU "MENU_RECENT_FILES", CM_RECENT
39        BEGIN
40        END
41        MENUITEM "MENU_SAVE_AS", CM_SAVEAS
42        MENUITEM "MENU_CLOSE", CM_CLOSE
43        MENUITEM SEPARATOR
44        MENUITEM "MENU_PRINT", CM_PRINT
45        MENUITEM SEPARATOR
46        MENUITEM "MENU_PLUGINS_LIST", CM_PLUGINSLIST
47        MENUITEM SEPARATOR
48        MENUITEM "MENU_EXIT", CM_EXIT
49    END
50
51    SUBMENU "MENU_EDIT", 200
52    BEGIN
53        MENUITEM "MENU_COPY", CM_COPY
54        MENUITEM SEPARATOR
55        MENUITEM "MENU_SELECT_ALL", CM_SELECTALL
56        MENUITEM SEPARATOR
57        MENUITEM "MENU_FIND", CM_FIND
58        MENUITEM "MENU_FINDAGAIN", CM_FINDAGAIN
59        MENUITEM SEPARATOR
60        MENUITEM "MENU_SETTINGS", CM_SETTINGS
61    END
62
63
64    SUBMENU "MENU_VIEW", 400
65    BEGIN
66        MENUITEM "MENU_FIT_WINDOW", CM_FITWINDOW
67        MENUITEM "MENU_ACTUAL_SIZE", CM_ACTSIZE
68        MENUITEM "MENU_FIT_WIDTH", CM_FITWIDTH
69        MENUITEM "MENU_ZOOM_IN", CM_ZOOM_IN
70        MENUITEM "MENU_ZOOM_OUT", CM_ZOOM_OUT
71        MENUITEM SEPARATOR
72        MENUITEM "MENU_FIRST_PAGE", CM_FIRSTPAGE
73        MENUITEM "MENU_PREV_PAGE", CM_PREVPAGE
74        MENUITEM "MENU_NEXT_PAGE", CM_NEXTPAGE
75        MENUITEM "MENU_LAST_PAGE", CM_LASTPAGE
76        MENUITEM "MENU_GO_TO_PAGE", CM_GOTOPAGE
77        MENUITEM SEPARATOR
78        MENUITEM "MENU_ROTATE_CW", CM_ROTATE90CW
79        MENUITEM "MENU_ROTATE_CCW", CM_ROTATE90CCW
80        MENUITEM SEPARATOR
81        MENUITEM "MENU_SINGLE_PAGE", CM_SINGLEPAGE
82        MENUITEM "MENU_CONTINUOUS", CM_CONTINUOUS
83        MENUITEM SEPARATOR
84        MENUITEM "MENU_DOCUMENT_INFO", CM_DOCINFO
85        MENUITEM "MENU_FONTS_INFO", CM_FONTSINFO
86    END
87
88    SUBMENU "MENU_WINDOW", 500
89    BEGIN
90        MENUITEM "MENU_SHOW_NAV_PANE", CM_NAVPANE
91        MENUITEM "MENU_MAXVIEW", CM_MAXVIEW
92        MENUITEM "MENU_FULLSCREEN", CM_FULLSCREEN
93    END
94
95    SUBMENU "MENU_HELP", 600
96    BEGIN
97        MENUITEM "MENU_PRODUCT_INFORMATION", CM_PRODINFO
98    END
99END
100
101ACCELTABLE IDA_MAINACCEL
102BEGIN
103    "O", CM_OPEN, CONTROL
104    "o", CM_OPEN, CONTROL
105    "P", CM_PRINT, CONTROL
106    "p", CM_PRINT, CONTROL
107    "X", CM_EXIT, CONTROL
108    "x", CM_EXIT, CONTROL
109    "C", CM_COPY, CONTROL
110    "c", CM_COPY, CONTROL
111    "/", CM_SELECTALL, CONTROL
112    "A", CM_SELECTALL, CONTROL
113    "a", CM_SELECTALL, CONTROL
114    VK_INSERT, CM_COPY, VIRTUALKEY, CONTROL
115    "F", CM_FIND, CONTROL
116    "f", CM_FIND, CONTROL
117    "G", CM_FINDAGAIN, CONTROL
118    "g", CM_FINDAGAIN, CONTROL
119    "N", CM_GOTOPAGE, CONTROL
120    "n", CM_GOTOPAGE, CONTROL
121    VK_F11, CM_MAXVIEW, VIRTUALKEY
122    VK_TAB, CM_SWITCHWINDOW, VIRTUALKEY
123    "+", CM_ZOOM_IN, CONTROL
124    "=", CM_ZOOM_IN, CONTROL
125    "-", CM_ZOOM_OUT, CONTROL
126    "+", CM_ROTATE90CW, CONTROL, SHIFT
127    "-", CM_ROTATE90CCW, CONTROL, SHIFT
128    "_", CM_ROTATE90CCW, CONTROL, SHIFT
129    VK_HOME, CM_FILEFIRST, VIRTUALKEY, SHIFT
130    VK_PAGEUP, CM_FILEPREVIOUS, VIRTUALKEY, SHIFT
131    VK_PAGEDOWN, CM_FILENEXT, VIRTUALKEY, SHIFT
132    VK_END, CM_FILELAST, VIRTUALKEY, SHIFT
133    "0", CM_FITWINDOW, CONTROL
134    "1", CM_ACTSIZE, CONTROL
135    "2", CM_FITWIDTH, CONTROL
136END
137
138rcinclude dialogs.rc
139
Note: See TracBrowser for help on using the repository browser.