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

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

hotkeys for zooms

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