4 * Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
5 * To be distributed under the Wine License
8 #define MAX_STRING_LEN 255
9 #define MAX_PATHNAME_LEN 1024
10 #define MAX_LANGUAGE_NUMBER (NP_LAST_LANGUAGE - NP_FIRST_LANGUAGE)
12 #define HELPFILE "notepad.hlp"
13 #define LOGPREFIX ".LOG"
14 #define DEFAULTICON OIC_WINEICON
16 /* hide the following from winerc */
37 UINT wStringTableOffset
;
39 CHAR szFindText
[MAX_PATHNAME_LEN
];
40 CHAR szReplaceText
[MAX_PATHNAME_LEN
];
41 CHAR szFileName
[MAX_PATHNAME_LEN
];
42 CHAR szMarginTop
[MAX_PATHNAME_LEN
];
43 CHAR szMarginBottom
[MAX_PATHNAME_LEN
];
44 CHAR szMarginLeft
[MAX_PATHNAME_LEN
];
45 CHAR szMarginRight
[MAX_PATHNAME_LEN
];
46 CHAR szHeader
[MAX_PATHNAME_LEN
];
47 CHAR szFooter
[MAX_PATHNAME_LEN
];
50 WORD nCommdlgFindReplaceMsg
;
54 extern NOTEPAD_GLOBALS Globals
;
56 /* function prototypes */
61 extern CHAR STRING_MENU_Xx
[];
62 extern CHAR STRING_PAGESETUP_Xx
[];
64 #define STRINGID(id) (0x##id + Globals.wStringTableOffset)
66 #else /* RC_INVOKED */
68 #define STRINGID(id) id
72 /* string table index */
73 #define IDS_LANGUAGE_ID STRINGID(00)
74 #define IDS_LANGUAGE_MENU_ITEM STRINGID(01)
75 #define IDS_NOTEPAD STRINGID(02)
76 #define IDS_TEXT_FILES_TXT STRINGID(03)
77 #define IDS_ALL_FILES STRINGID(04)
78 #define IDS_ERROR STRINGID(05)
79 #define IDS_WARNING STRINGID(06)
80 #define IDS_INFO STRINGID(07)
81 #define IDS_TOOLARGE STRINGID(08)
82 #define IDS_NOTEXT STRINGID(09)
83 #define IDS_NOTSAVED STRINGID(0A)
84 #define IDS_NOTFOUND STRINGID(0B)
85 #define IDS_OUT_OF_MEMORY STRINGID(0C)
86 #define IDS_UNTITLED STRINGID(0D)
88 #define IDS_PAGESETUP_HEADERVALUE STRINGID(0E)
89 #define IDS_PAGESETUP_FOOTERVALUE STRINGID(0F)
90 #define IDS_PAGESETUP_LEFTVALUE STRINGID(10)
91 #define IDS_PAGESETUP_RIGHTVALUE STRINGID(11)
92 #define IDS_PAGESETUP_TOPVALUE STRINGID(12)
93 #define IDS_PAGESETUP_BOTTOMVALUE STRINGID(13)
97 #define NP_FILE_NEW 100
98 #define NP_FILE_OPEN 101
99 #define NP_FILE_SAVE 102
100 #define NP_FILE_SAVEAS 103
101 #define NP_FILE_PRINT 104
102 #define NP_FILE_PAGESETUP 105
103 #define NP_FILE_PRINTSETUP 106
104 #define NP_FILE_EXIT 107
106 #define NP_EDIT_UNDO 200
107 #define NP_EDIT_CUT 201
108 #define NP_EDIT_COPY 202
109 #define NP_EDIT_PASTE 203
110 #define NP_EDIT_DELETE 204
111 #define NP_EDIT_SELECTALL 205
112 #define NP_EDIT_TIMEDATE 206
113 #define NP_EDIT_WRAP 207
115 #define NP_SEARCH_SEARCH 300
116 #define NP_SEARCH_NEXT 301
118 #define NP_FIRST_LANGUAGE 400
119 #define NP_LAST_LANGUAGE 499
121 #define NP_HELP_CONTENTS 500
122 #define NP_HELP_SEARCH 501
123 #define NP_HELP_ON_HELP 502
124 #define NP_HELP_LICENSE 503
125 #define NP_HELP_NO_WARRANTY 504
126 #define NP_HELP_ABOUT_WINE 505
129 /* Dialog `Page Setup' */
131 #define NP_PAGESETUP_HEAD 1000
132 #define NP_PAGESETUP_HEAD_TXT 1001
133 #define NP_PAGESETUP_TAIL 1002
134 #define NP_PAGESETUP_TAIL_TXT 1003
135 #define NP_PAGESETUP_LEFT 1004
136 #define NP_PAGESETUP_LEFT_TXT 1005
137 #define NP_PAGESETUP_RIGHT 1006
138 #define NP_PAGESETUP_RIGHT_TXT 1007
139 #define NP_PAGESETUP_TOP 1008
140 #define NP_PAGESETUP_TOP_TXT 1009
141 #define NP_PAGESETUP_BOTTOM 1010
142 #define NP_PAGESETUP_BOTTOM_TXT 1011
144 #define NP_PAGESETUP_MARGIN 1013
146 /* Local Variables: */
147 /* c-file-style: "GNU" */