source: trunk/Lucide/gui/Lucide.rc @ 399

Last change on this file since 399 was 399, checked in by dmik, 11 years ago

Renamed "Full screen" mode to "Presentation" mode (activated by F5 now) and renamed "Maximized view" mode to "Full screen" mode (same F11 shortcut), for clarity and similarity with other applications (fixes ticket:176).

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