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

Last change on this file since 72 was 72, checked in by Eugene Romanenko, 15 years ago

Fullscreen implemented (closes #6). Hotkey is Ctrl+L, like in Acrobat. Mozilla-like fullscreen (F11) renamed to 'Maximized view'. Currently page draws at upper-left corner, centered draw should be implemented.

File size: 3.2 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"
19
20POINTER IDP_HAND        "bitmaps\\hand.ptr"
21
22MENU IDM_MAINMENU
23BEGIN
24    SUBMENU "MENU_DOCUMENT", 100
25    BEGIN
26        MENUITEM "MENU_OPEN", CM_OPEN
27        MENUITEM "MENU_SAVE_AS", CM_SAVEAS
28        MENUITEM "MENU_EXPORT_TO_PS", CM_EXPORTTOPS
29        MENUITEM SEPARATOR
30        MENUITEM "MENU_PAGE_SETUP", CM_PAGESETUP
31        MENUITEM "MENU_PRINT", CM_PRINT
32        MENUITEM SEPARATOR
33        MENUITEM "MENU_PLUGINS_LIST", CM_PLUGINSLIST
34        MENUITEM SEPARATOR
35        MENUITEM "MENU_EXIT", CM_EXIT
36    END
37
38    SUBMENU "MENU_EDIT", 200
39    BEGIN
40        MENUITEM "MENU_COPY", CM_COPY
41        MENUITEM SEPARATOR
42        MENUITEM "MENU_SELECT_ALL", CM_SELECTALL
43        MENUITEM SEPARATOR
44        MENUITEM "MENU_FIND", CM_FIND
45        MENUITEM "MENU_FINDAGAIN", CM_FINDAGAIN
46        MENUITEM SEPARATOR
47        MENUITEM "MENU_SETTINGS", CM_SETTINGS
48    END
49
50
51    SUBMENU "MENU_VIEW", 400
52    BEGIN
53        MENUITEM "MENU_FIT_WINDOW", CM_FITWINDOW
54        MENUITEM "MENU_ACTUAL_SIZE", CM_ACTSIZE
55        MENUITEM "MENU_FIT_WIDTH", CM_FITWIDTH
56        MENUITEM SEPARATOR
57        MENUITEM "MENU_FIRST_PAGE", CM_FIRSTPAGE
58        MENUITEM "MENU_PREV_PAGE", CM_PREVPAGE
59        MENUITEM "MENU_NEXT_PAGE", CM_NEXTPAGE
60        MENUITEM "MENU_LAST_PAGE", CM_LASTPAGE
61        MENUITEM "MENU_GO_TO_PAGE", CM_GOTOPAGE
62        MENUITEM SEPARATOR
63        MENUITEM "MENU_ROTATE_CW", CM_ROTATE90CW
64        MENUITEM "MENU_ROTATE_CCW", CM_ROTATE90CCW
65        MENUITEM SEPARATOR
66        MENUITEM "MENU_SINGLE_PAGE", CM_SINGLEPAGE
67        MENUITEM "MENU_CONTINUOUS", CM_CONTINUOUS
68        MENUITEM SEPARATOR
69        MENUITEM "MENU_DOCUMENT_INFO", CM_DOCINFO
70        MENUITEM "MENU_FONTS_INFO", CM_FONTSINFO
71    END
72
73    SUBMENU "MENU_WINDOW", 500
74    BEGIN
75        MENUITEM "MENU_SHOW_NAV_PANE", CM_NAVPANE
76        MENUITEM "MENU_MAXVIEW", CM_MAXVIEW
77        MENUITEM "MENU_FULLSCREEN", CM_FULLSCREEN
78    END
79
80    SUBMENU "MENU_HELP", 600
81    BEGIN
82        MENUITEM "MENU_PRODUCT_INFORMATION", CM_PRODINFO
83    END
84END
85
86ACCELTABLE IDA_MAINACCEL
87BEGIN
88    "O", CM_OPEN, CONTROL
89    "o", CM_OPEN, CONTROL
90    "X", CM_EXIT, CONTROL
91    "x", CM_EXIT, CONTROL
92    "C", CM_COPY, CONTROL
93    "c", CM_COPY, CONTROL
94    "/", CM_SELECTALL, CONTROL
95    "A", CM_SELECTALL, CONTROL
96    "a", CM_SELECTALL, CONTROL
97    VK_INSERT, CM_COPY, VIRTUALKEY, CONTROL
98    "F", CM_FIND, CONTROL
99    "f", CM_FIND, CONTROL
100    "G", CM_FINDAGAIN, CONTROL
101    "g", CM_FINDAGAIN, CONTROL
102    VK_F11, CM_MAXVIEW, VIRTUALKEY
103END
104
105rcinclude dialogs.rc
106
Note: See TracBrowser for help on using the repository browser.