4 * Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
5 * To be distributed under the Wine License
11 #define CONCAT(a, b) CONCAT1(a, b)
12 #define CONCAT1(a, b) a##b
16 CONCAT(MENU_, LANGUAGE_ID) MENU
19 MENUITEM MENU_FILE_NEW, NP_FILE_NEW
20 MENUITEM MENU_FILE_OPEN, NP_FILE_OPEN
21 MENUITEM MENU_FILE_SAVE, NP_FILE_SAVE
22 MENUITEM MENU_FILE_SAVEAS, NP_FILE_SAVEAS
23 MENUITEM MENU_FILE_PRINT, NP_FILE_PRINT
24 MENUITEM MENU_FILE_PAGESETUP, NP_FILE_PAGESETUP
25 MENUITEM MENU_FILE_PRINTSETUP, NP_FILE_PRINTSETUP
27 MENUITEM MENU_FILE_EXIT, NP_FILE_EXIT
30 MENUITEM MENU_EDIT_UNDO, NP_EDIT_UNDO
32 MENUITEM MENU_EDIT_CUT, NP_EDIT_CUT, GRAYED
33 MENUITEM MENU_EDIT_COPY, NP_EDIT_COPY, GRAYED
34 MENUITEM MENU_EDIT_PASTE, NP_EDIT_PASTE, GRAYED
35 MENUITEM MENU_EDIT_DELETE, NP_EDIT_DELETE, GRAYED
37 MENUITEM MENU_EDIT_SELECTALL, NP_EDIT_SELECTALL
38 MENUITEM MENU_EDIT_TIMEDATE, NP_EDIT_TIMEDATE
40 MENUITEM MENU_EDIT_WRAP, NP_EDIT_WRAP
43 MENUITEM MENU_SEARCH_SEARCH, NP_SEARCH_SEARCH
44 MENUITEM MENU_SEARCH_NEXT, NP_SEARCH_NEXT
47 /* Dummy item, will be removed */
51 MENUITEM MENU_HELP_CONTENTS, NP_HELP_CONTENTS
52 MENUITEM MENU_HELP_SEARCH, NP_HELP_SEARCH
53 MENUITEM MENU_HELP_HELP_ON_HELP, NP_HELP_ON_HELP
57 MENUITEM MENU_INFO_LICENSE, NP_HELP_LICENSE
58 MENUITEM MENU_INFO_NO_WARRANTY, NP_HELP_NO_WARRANTY
59 MENUITEM MENU_INFO_ABOUT_WINE, NP_HELP_ABOUT_WINE
65 /* Dialog `Page setup' */
67 CONCAT(DIALOG_PAGESETUP_, LANGUAGE_ID) DIALOG 0, 0, 225, 95
68 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
70 CAPTION DIALOG_PAGESETUP_CAPTION
72 LTEXT DIALOG_PAGESETUP_HEAD, NP_PAGESETUP_HEAD_TXT, 10, 07, 40, 15
73 EDITTEXT NP_PAGESETUP_HEAD, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
74 LTEXT DIALOG_PAGESETUP_TAIL, NP_PAGESETUP_TAIL_TXT, 10, 24, 40, 15
75 EDITTEXT NP_PAGESETUP_TAIL, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
77 GROUPBOX DIALOG_PAGESETUP_MARGIN,NP_PAGESETUP_MARGIN, 10, 43,160, 45
78 LTEXT DIALOG_PAGESETUP_LEFT, NP_PAGESETUP_LEFT_TXT, 20, 55, 30, 10, WS_CHILD
79 EDITTEXT NP_PAGESETUP_LEFT, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
80 LTEXT DIALOG_PAGESETUP_TOP, NP_PAGESETUP_TOP_TXT, 20, 73, 30, 10, WS_CHILD
81 EDITTEXT NP_PAGESETUP_TOP, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
82 LTEXT DIALOG_PAGESETUP_RIGHT, NP_PAGESETUP_RIGHT_TXT, 100, 55, 30, 10, WS_CHILD
83 EDITTEXT NP_PAGESETUP_RIGHT, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
84 LTEXT DIALOG_PAGESETUP_BOTTOM,NP_PAGESETUP_BOTTOM_TXT,100, 73, 30, 10, WS_CHILD
85 EDITTEXT NP_PAGESETUP_BOTTOM, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
87 DEFPUSHBUTTON DIALOG_OK, IDOK, 180, 3, 40, 15, WS_TABSTOP
88 PUSHBUTTON DIALOG_CANCEL, IDCANCEL, 180, 21, 40, 15, WS_TABSTOP
89 PUSHBUTTON DIALOG_HELP, NP_HELP, 180, 39, 40, 15, WS_TABSTOP
95 #define ADDSTRING(str) ADDSTRING1(LANGUAGE_NUMBER, IDS_ ## str) STRING_ ## str
96 #define ADDSTRING1(langnum, ids) ADDSTRING2(langnum, ids)
97 #define ADDSTRING2(langnum, ids) 0x ## langnum ## ids
99 #define STRINGIFY(str) STRINGIFY1(str)
100 #define STRINGIFY1(str) #str
102 #define STRING_LANGUAGE_ID STRINGIFY(LANGUAGE_ID)
103 #define STRING_LANGUAGE_MENU_ITEM LANGUAGE_MENU_ITEM
107 ADDSTRING(LANGUAGE_ID)
108 ADDSTRING(LANGUAGE_MENU_ITEM)
110 ADDSTRING(TEXT_FILES_TXT)
118 ADDSTRING(OUT_OF_MEMORY)
120 ADDSTRING(PAGESETUP_HEADERVALUE)
121 ADDSTRING(PAGESETUP_FOOTERVALUE)
122 ADDSTRING(PAGESETUP_LEFTVALUE)
123 ADDSTRING(PAGESETUP_RIGHTVALUE)
124 ADDSTRING(PAGESETUP_TOPVALUE)
125 ADDSTRING(PAGESETUP_BOTTOMVALUE)