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

Last change on this file since 212 was 212, checked in by Eugene Romanenko, 14 years ago

Zoom in/Zoom out menuitems and corresponding Ctrl++/Ctrl+- hotkeys. Ctrl+Shift++/Ctrl+Shift+- hotkeys for rotate CW/CCW, Ctrl+P for Print (closes #108)

File size: 3.7 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        MENUITEM "MENU_SAVE_AS", CM_SAVEAS
32        MENUITEM SEPARATOR
33        MENUITEM "MENU_PRINT", CM_PRINT
34        MENUITEM SEPARATOR
35        MENUITEM "MENU_PLUGINS_LIST", CM_PLUGINSLIST
36        MENUITEM SEPARATOR
37        MENUITEM "MENU_EXIT", CM_EXIT
38    END
39
40    SUBMENU "MENU_EDIT", 200
41    BEGIN
42        MENUITEM "MENU_COPY", CM_COPY
43        MENUITEM SEPARATOR
44        MENUITEM "MENU_SELECT_ALL", CM_SELECTALL
45        MENUITEM SEPARATOR
46        MENUITEM "MENU_FIND", CM_FIND
47        MENUITEM "MENU_FINDAGAIN", CM_FINDAGAIN
48        MENUITEM SEPARATOR
49        MENUITEM "MENU_SETTINGS", CM_SETTINGS
50    END
51
52
53    SUBMENU "MENU_VIEW", 400
54    BEGIN
55        MENUITEM "MENU_FIT_WINDOW", CM_FITWINDOW
56        MENUITEM "MENU_ACTUAL_SIZE", CM_ACTSIZE
57        MENUITEM "MENU_FIT_WIDTH", CM_FITWIDTH
58        MENUITEM "MENU_ZOOM_IN", CM_ZOOM_IN
59        MENUITEM "MENU_ZOOM_OUT", CM_ZOOM_OUT
60        MENUITEM SEPARATOR
61        MENUITEM "MENU_FIRST_PAGE", CM_FIRSTPAGE
62        MENUITEM "MENU_PREV_PAGE", CM_PREVPAGE
63        MENUITEM "MENU_NEXT_PAGE", CM_NEXTPAGE
64        MENUITEM "MENU_LAST_PAGE", CM_LASTPAGE
65        MENUITEM "MENU_GO_TO_PAGE", CM_GOTOPAGE
66        MENUITEM SEPARATOR
67        MENUITEM "MENU_ROTATE_CW", CM_ROTATE90CW
68        MENUITEM "MENU_ROTATE_CCW", CM_ROTATE90CCW
69        MENUITEM SEPARATOR
70        MENUITEM "MENU_SINGLE_PAGE", CM_SINGLEPAGE
71        MENUITEM "MENU_CONTINUOUS", CM_CONTINUOUS
72        MENUITEM SEPARATOR
73        MENUITEM "MENU_DOCUMENT_INFO", CM_DOCINFO
74        MENUITEM "MENU_FONTS_INFO", CM_FONTSINFO
75    END
76
77    SUBMENU "MENU_WINDOW", 500
78    BEGIN
79        MENUITEM "MENU_SHOW_NAV_PANE", CM_NAVPANE
80        MENUITEM "MENU_MAXVIEW", CM_MAXVIEW
81        MENUITEM "MENU_FULLSCREEN", CM_FULLSCREEN
82    END
83
84    SUBMENU "MENU_HELP", 600
85    BEGIN
86        MENUITEM "MENU_PRODUCT_INFORMATION", CM_PRODINFO
87    END
88END
89
90ACCELTABLE IDA_MAINACCEL
91BEGIN
92    "O", CM_OPEN, CONTROL
93    "o", CM_OPEN, CONTROL
94    "P", CM_PRINT, CONTROL
95    "p", CM_PRINT, CONTROL
96    "X", CM_EXIT, CONTROL
97    "x", CM_EXIT, CONTROL
98    "C", CM_COPY, CONTROL
99    "c", CM_COPY, CONTROL
100    "/", CM_SELECTALL, CONTROL
101    "A", CM_SELECTALL, CONTROL
102    "a", CM_SELECTALL, CONTROL
103    VK_INSERT, CM_COPY, VIRTUALKEY, CONTROL
104    "F", CM_FIND, CONTROL
105    "f", CM_FIND, CONTROL
106    "G", CM_FINDAGAIN, CONTROL
107    "g", CM_FINDAGAIN, CONTROL
108    "N", CM_GOTOPAGE, CONTROL
109    "n", CM_GOTOPAGE, CONTROL
110    VK_F11, CM_MAXVIEW, VIRTUALKEY
111    VK_TAB, CM_SWITCHWINDOW, VIRTUALKEY
112    "+", CM_ZOOM_IN, CONTROL
113    "-", CM_ZOOM_OUT, CONTROL
114    "+", CM_ROTATE90CW, CONTROL, SHIFT
115    "-", CM_ROTATE90CCW, CONTROL, SHIFT
116END
117
118rcinclude dialogs.rc
119
Note: See TracBrowser for help on using the repository browser.