Xx.rc 11.5 KB
Newer Older
Alexandre Julliard's avatar
Alexandre Julliard committed
1 2 3 4
/*
 * Program Manager
 *
 * Copyright 1996 Ulrich Schmid
5 6 7 8 9 10 11 12 13 14 15 16 17
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Alexandre Julliard's avatar
Alexandre Julliard committed
19 20 21 22
 */

/* Menu */

Alexandre Julliard's avatar
Alexandre Julliard committed
23
CONCAT(MENU_, LANGUAGE_ID) MENU
Alexandre Julliard's avatar
Alexandre Julliard committed
24 25
{
 POPUP MENU_FILE {
26
   MENUITEM MENU_FILE_NEW,              PM_NEW
Alexandre Julliard's avatar
Alexandre Julliard committed
27 28 29 30 31
   MENUITEM MENU_FILE_OPEN,             PM_OPEN
   MENUITEM MENU_FILE_MOVE,             PM_MOVE,      GRAYED
   MENUITEM MENU_FILE_COPY,             PM_COPY,      GRAYED
   MENUITEM MENU_FILE_DELETE,           PM_DELETE
   MENUITEM MENU_FILE_ATTRIBUTES,       PM_ATTRIBUTES
32
   MENUITEM SEPARATOR
Alexandre Julliard's avatar
Alexandre Julliard committed
33
   MENUITEM MENU_FILE_EXECUTE,          PM_EXECUTE
34
   MENUITEM SEPARATOR
Alexandre Julliard's avatar
Alexandre Julliard committed
35 36 37 38 39 40 41 42 43 44 45 46 47
   MENUITEM MENU_FILE_EXIT,             PM_EXIT
 }
 POPUP MENU_OPTIONS {
   MENUITEM MENU_OPTIONS_AUTO_ARRANGE,  PM_AUTO_ARRANGE
   MENUITEM MENU_OPTIONS_MIN_ON_RUN,    PM_MIN_ON_RUN
   MENUITEM MENU_OPTIONS_SAVE_SETTINGS, PM_SAVE_SETTINGS
 }
 POPUP MENU_WINDOWS {
   MENUITEM MENU_WINDOWS_OVERLAP,       PM_OVERLAP
   MENUITEM MENU_WINDOWS_SIDE_BY_SIDE,  PM_SIDE_BY_SIDE
   MENUITEM MENU_WINDOWS_ARRANGE,       PM_ARRANGE
 }
 POPUP MENU_LANGUAGE {
Alexandre Julliard's avatar
Alexandre Julliard committed
48 49
   /* Dummy item, will be removed */
   MENUITEM SEPARATOR
Alexandre Julliard's avatar
Alexandre Julliard committed
50 51 52 53
 }
 POPUP MENU_HELP {
   MENUITEM MENU_HELP_CONTENTS,         PM_CONTENTS
   MENUITEM MENU_HELP_SEARCH,           PM_SEARCH
54
   MENUITEM SEPARATOR
Alexandre Julliard's avatar
Alexandre Julliard committed
55 56
   MENUITEM MENU_HELP_HELP_ON_HELP,     PM_HELPONHELP
   MENUITEM MENU_HELP_TUTORIAL,         PM_TUTORIAL
57
   MENUITEM SEPARATOR
Alexandre Julliard's avatar
Alexandre Julliard committed
58 59 60 61 62 63 64 65 66 67 68

   POPUP MENU_INFO {
     MENUITEM MENU_INFO_LICENSE,        PM_LICENSE
     MENUITEM MENU_INFO_NO_WARRANTY,    PM_NO_WARRANTY
     MENUITEM MENU_INFO_ABOUT_WINE,     PM_ABOUT_WINE
   }
 }
}

/* Dialog `New' */

Alexandre Julliard's avatar
Alexandre Julliard committed
69
CONCAT(DIALOG_NEW_, LANGUAGE_ID) DIALOG 0, 0, 170, 65
70
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
Alexandre Julliard's avatar
Alexandre Julliard committed
71 72 73 74 75 76
CAPTION DIALOG_NEW_CAPTION
{
RADIOBUTTON   "",                 PM_NEW_GROUP,    10, 15,  10, 15
LTEXT         DIALOG_NEW_GROUP,   PM_NEW_GROUP,    20, 18,  80, 15
RADIOBUTTON   "",                 PM_NEW_PROGRAM,  10, 35,  10, 15
LTEXT         DIALOG_NEW_PROGRAM, PM_NEW_PROGRAM,  20, 38,  80, 15
Alexandre Julliard's avatar
Alexandre Julliard committed
77 78 79
DEFPUSHBUTTON DIALOG_OK,          IDOK,           105,  5,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_CANCEL,      IDCANCEL,       105, 25,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_HELP,        PM_HELP,        105, 45,  60, 15, WS_TABSTOP
Alexandre Julliard's avatar
Alexandre Julliard committed
80 81 82 83
}

/* Dialog `Move' */

Alexandre Julliard's avatar
Alexandre Julliard committed
84
CONCAT(DIALOG_MOVE_, LANGUAGE_ID) DIALOG 0, 0, 250, 65
85
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
Alexandre Julliard's avatar
Alexandre Julliard committed
86 87 88 89 90 91 92
CAPTION DIALOG_MOVE_CAPTION
{
LTEXT         DIALOG_MOVE_PROGRAM,    IDIGNORE,            5,  5,  90, 15
LTEXT         "",                     PM_PROGRAM,         95,  5,  90, 15
LTEXT         DIALOG_MOVE_FROM_GROUP, IDIGNORE,            5, 13,  90, 15
LTEXT         "",                     PM_FROM_GROUP,      95, 13,  90, 15
LTEXT         DIALOG_MOVE_TO_GROUP,   PM_TO_GROUP_TXT,     5, 28, 140, 15
Alexandre Julliard's avatar
Alexandre Julliard committed
93 94 95 96
COMBOBOX                              PM_TO_GROUP,         5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
DEFPUSHBUTTON DIALOG_OK,              IDOK,              185,  5,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_CANCEL,          IDCANCEL,          185, 25,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_HELP,            PM_HELP,           185, 45,  60, 15, WS_TABSTOP
Alexandre Julliard's avatar
Alexandre Julliard committed
97 98 99 100
}

/* Dialog `Copy' */

Alexandre Julliard's avatar
Alexandre Julliard committed
101
CONCAT(DIALOG_COPY_, LANGUAGE_ID) DIALOG 0, 0, 250, 65
102
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
Alexandre Julliard's avatar
Alexandre Julliard committed
103 104 105 106 107 108 109
CAPTION DIALOG_COPY_CAPTION
{
LTEXT         DIALOG_COPY_PROGRAM,    IDIGNORE,            5,  5,  90, 15
LTEXT         "",                     PM_PROGRAM,         95,  5,  90, 15
LTEXT         DIALOG_COPY_FROM_GROUP, IDIGNORE,            5, 13,  90, 15
LTEXT         "",                     PM_FROM_GROUP,      95, 13,  90, 15
LTEXT         DIALOG_COPY_TO_GROUP,   PM_TO_GROUP_TXT,     5, 28, 140, 15
Alexandre Julliard's avatar
Alexandre Julliard committed
110 111 112 113
COMBOBOX                              PM_TO_GROUP,         5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
DEFPUSHBUTTON DIALOG_OK,              IDOK,              185,  5,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_CANCEL,          IDCANCEL,          185, 25,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_HELP,            PM_HELP,           185, 45,  60, 15, WS_TABSTOP
Alexandre Julliard's avatar
Alexandre Julliard committed
114 115 116 117
}

/* Dialog `Group attributes' */

Alexandre Julliard's avatar
Alexandre Julliard committed
118
CONCAT(DIALOG_GROUP_, LANGUAGE_ID) DIALOG 0, 0, 230, 65
119
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
Alexandre Julliard's avatar
Alexandre Julliard committed
120 121 122
CAPTION DIALOG_GROUP_CAPTION
{
LTEXT     DIALOG_GROUP_DESCRIPTION, PM_DESCRIPTION_TXT,   05, 18,  50, 10
Alexandre Julliard's avatar
Alexandre Julliard committed
123
EDITTEXT                            PM_DESCRIPTION,       60, 18,  90, 15, WS_TABSTOP
Alexandre Julliard's avatar
Alexandre Julliard committed
124
LTEXT     DIALOG_GROUP_FILE,        PM_FILE_TXT,          05, 38,  50, 10
Alexandre Julliard's avatar
Alexandre Julliard committed
125 126 127 128
EDITTEXT                            PM_FILE,              60, 38,  90, 15, WS_TABSTOP
DEFPUSHBUTTON DIALOG_OK,            IDOK,                155,  5,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_CANCEL,        IDCANCEL,            155, 25,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_HELP,          PM_HELP,             155, 45,  60, 15, WS_TABSTOP
Alexandre Julliard's avatar
Alexandre Julliard committed
129 130 131 132
}

/* Dialog `Program attributes' */

Alexandre Julliard's avatar
Alexandre Julliard committed
133
CONCAT(DIALOG_PROGRAM_, LANGUAGE_ID) DIALOG 0, 0, 250, 105
134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
Alexandre Julliard's avatar
Alexandre Julliard committed
135 136 137
CAPTION DIALOG_PROGRAM_CAPTION
{
LTEXT         DIALOG_PROGRAM_DESCRIPTION,  PM_DESCRIPTION_TXT,   05, 10,  60, 10
Alexandre Julliard's avatar
Alexandre Julliard committed
138
EDITTEXT                                   PM_DESCRIPTION,       80, 10,  90, 15, WS_TABSTOP
Alexandre Julliard's avatar
Alexandre Julliard committed
139
LTEXT         DIALOG_PROGRAM_COMMAND_LINE, PM_COMMAND_LINE_TXT,  05, 25,  60, 10
Alexandre Julliard's avatar
Alexandre Julliard committed
140
EDITTEXT                                   PM_COMMAND_LINE,      80, 25,  90, 15, WS_TABSTOP
Alexandre Julliard's avatar
Alexandre Julliard committed
141
LTEXT         DIALOG_PROGRAM_DIRECTORY,    PM_DIRECTORY_TXT,     05, 40,  60, 10
Alexandre Julliard's avatar
Alexandre Julliard committed
142
EDITTEXT                                   PM_DIRECTORY,         80, 40,  90, 15, WS_TABSTOP
Alexandre Julliard's avatar
Alexandre Julliard committed
143
LTEXT         DIALOG_PROGRAM_HOT_KEY,      PM_HOT_KEY_TXT,       05, 55,  60, 10
Alexandre Julliard's avatar
Alexandre Julliard committed
144
EDITTEXT                                   PM_HOT_KEY,           80, 55,  90, 15, WS_TABSTOP
Alexandre Julliard's avatar
Alexandre Julliard committed
145
ICON          "",                          PM_ICON,              20, 70
Alexandre Julliard's avatar
Alexandre Julliard committed
146
CHECKBOX      "",                          PM_SYMBOL,            80, 75,  10, 10, WS_TABSTOP
Alexandre Julliard's avatar
Alexandre Julliard committed
147
LTEXT         DIALOG_PROGRAM_SYMBOL,       IDIGNORE,             95, 75,  75, 10
Alexandre Julliard's avatar
Alexandre Julliard committed
148 149 150 151 152
DEFPUSHBUTTON DIALOG_OK,                   IDOK,                185,  5,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_CANCEL,               IDCANCEL,            185, 25,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_BROWSE,               PM_BROWSE,           185, 45,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_PROGRAM_OTHER_SYMBOL, PM_OTHER_SYMBOL,     185, 65,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_HELP,                 PM_HELP,             185, 85,  60, 15, WS_TABSTOP
Alexandre Julliard's avatar
Alexandre Julliard committed
153 154 155 156
}

/* Dialog `Symbol' */

Alexandre Julliard's avatar
Alexandre Julliard committed
157
CONCAT(DIALOG_SYMBOL_, LANGUAGE_ID) DIALOG 0, 0, 200, 85
158
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
Alexandre Julliard's avatar
Alexandre Julliard committed
159 160 161
CAPTION DIALOG_SYMBOL_CAPTION
{
LTEXT     DIALOG_SYMBOL_FILE,    PM_ICON_FILE_TXT,    5, 15,  40, 10
Alexandre Julliard's avatar
Alexandre Julliard committed
162
EDITTEXT                         PM_ICON_FILE,       45, 15,  85, 15, WS_TABSTOP
Alexandre Julliard's avatar
Alexandre Julliard committed
163 164
LTEXT     DIALOG_SYMBOL_CURRENT, PM_SYMBOL_LIST_TXT,  5, 30, 125, 10
COMBOBOX                         PM_SYMBOL_LIST,      5, 40, 125, 50,
Alexandre Julliard's avatar
Alexandre Julliard committed
165 166 167 168 169
   CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | CBS_OWNERDRAWFIXED | WS_TABSTOP
DEFPUSHBUTTON DIALOG_OK,         IDOK,              135,  5,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_CANCEL,     IDCANCEL,          135, 25,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_BROWSE ,    PM_BROWSE,         135, 45,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_HELP,       PM_HELP,           135, 65,  60, 15, WS_TABSTOP
Alexandre Julliard's avatar
Alexandre Julliard committed
170 171 172 173
}

/* Dialog `Execute' */

Alexandre Julliard's avatar
Alexandre Julliard committed
174
CONCAT(DIALOG_EXECUTE_, LANGUAGE_ID) DIALOG 0, 0, 200, 85
175
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
Alexandre Julliard's avatar
Alexandre Julliard committed
176 177 178
CAPTION DIALOG_EXECUTE_CAPTION
{
LTEXT     DIALOG_EXECUTE_COMMAND_LINE, IDIGNORE,   05, 15, 120, 10
Alexandre Julliard's avatar
Alexandre Julliard committed
179 180
EDITTEXT                               PM_COMMAND, 05, 25, 120, 15, WS_TABSTOP
CHECKBOX      "",                      PM_SYMBOL,  05, 45,  10, 10, WS_TABSTOP
Alexandre Julliard's avatar
Alexandre Julliard committed
181
LTEXT         DIALOG_EXECUTE_SYMBOL,   IDIGNORE,   20, 45, 120, 10
Alexandre Julliard's avatar
Alexandre Julliard committed
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
DEFPUSHBUTTON DIALOG_OK,               IDOK,      135,  5,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_CANCEL,           IDCANCEL,  135, 25,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_BROWSE ,          PM_BROWSE, 135, 45,  60, 15, WS_TABSTOP
PUSHBUTTON    DIALOG_HELP,             PM_HELP,   135, 65,  60, 15, WS_TABSTOP
}

/* Strings */

#define STRING_LANGUAGE_ID        STRINGIFY(LANGUAGE_ID)
#define STRING_LANGUAGE_MENU_ITEM LANGUAGE_MENU_ITEM

STRINGTABLE
{
ADDSTRING(LANGUAGE_ID)
ADDSTRING(LANGUAGE_MENU_ITEM)
ADDSTRING(PROGRAM_MANAGER)
ADDSTRING(ERROR)
ADDSTRING(WARNING)
ADDSTRING(INFO)
ADDSTRING(DELETE)
ADDSTRING(DELETE_GROUP_s)
ADDSTRING(DELETE_PROGRAM_s)
ADDSTRING(NOT_IMPLEMENTED)
ADDSTRING(FILE_READ_ERROR_s)
ADDSTRING(FILE_WRITE_ERROR_s)
ADDSTRING(GRPFILE_READ_ERROR_s)
ADDSTRING(OUT_OF_MEMORY)
ADDSTRING(WINHELP_ERROR)
ADDSTRING(UNKNOWN_FEATURE_s)
ADDSTRING(FILE_NOT_OVERWRITTEN_s)
ADDSTRING(SAVE_GROUP_AS_s)
ADDSTRING(NO_HOT_KEY)
ADDSTRING(ALL_FILES)
ADDSTRING(PROGRAMS)
ADDSTRING(LIBRARIES_DLL)
ADDSTRING(SYMBOL_FILES)
ADDSTRING(SYMBOLS_ICO)
Alexandre Julliard's avatar
Alexandre Julliard committed
219
}
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312


/* Undefine all language-specific strings */

#undef LANGUAGE_ID
#undef LANGUAGE_NUMBER
#undef LANGUAGE_MENU_ITEM

#undef MENU_FILE
#undef MENU_FILE_NEW
#undef MENU_FILE_OPEN
#undef MENU_FILE_MOVE
#undef MENU_FILE_COPY
#undef MENU_FILE_DELETE
#undef MENU_FILE_ATTRIBUTES
#undef MENU_FILE_EXECUTE
#undef MENU_FILE_EXIT
#undef MENU_OPTIONS
#undef MENU_OPTIONS_AUTO_ARRANGE
#undef MENU_OPTIONS_MIN_ON_RUN
#undef MENU_OPTIONS_SAVE_SETTINGS
#undef MENU_WINDOWS
#undef MENU_WINDOWS_OVERLAP
#undef MENU_WINDOWS_SIDE_BY_SIDE
#undef MENU_WINDOWS_ARRANGE
#undef MENU_LANGUAGE
#undef MENU_HELP
#undef MENU_HELP_CONTENTS
#undef MENU_HELP_SEARCH
#undef MENU_HELP_HELP_ON_HELP
#undef MENU_HELP_TUTORIAL
#undef MENU_INFO
#undef MENU_INFO_LICENSE
#undef MENU_INFO_NO_WARRANTY
#undef MENU_INFO_ABOUT_WINE

#undef DIALOG_OK
#undef DIALOG_CANCEL
#undef DIALOG_BROWSE
#undef DIALOG_HELP
#undef DIALOG_NEW_CAPTION
#undef DIALOG_NEW_NEW
#undef DIALOG_NEW_GROUP
#undef DIALOG_NEW_PROGRAM
#undef DIALOG_MOVE_CAPTION
#undef DIALOG_MOVE_PROGRAM
#undef DIALOG_MOVE_FROM_GROUP
#undef DIALOG_MOVE_TO_GROUP
#undef DIALOG_COPY_CAPTION
#undef DIALOG_COPY_PROGRAM
#undef DIALOG_COPY_FROM_GROUP
#undef DIALOG_COPY_TO_GROUP
#undef DIALOG_GROUP_CAPTION
#undef DIALOG_GROUP_DESCRIPTION
#undef DIALOG_GROUP_FILE
#undef DIALOG_PROGRAM_CAPTION
#undef DIALOG_PROGRAM_DESCRIPTION
#undef DIALOG_PROGRAM_COMMAND_LINE
#undef DIALOG_PROGRAM_DIRECTORY
#undef DIALOG_PROGRAM_HOT_KEY
#undef DIALOG_PROGRAM_SYMBOL
#undef DIALOG_PROGRAM_OTHER_SYMBOL
#undef DIALOG_SYMBOL_CAPTION
#undef DIALOG_SYMBOL_FILE
#undef DIALOG_SYMBOL_CURRENT
#undef DIALOG_EXECUTE_CAPTION
#undef DIALOG_EXECUTE_COMMAND_LINE
#undef DIALOG_EXECUTE_SYMBOL

#undef STRING_LANGUAGE_ID
#undef STRING_LANGUAGE_MENU_ITEM
#undef STRING_PROGRAM_MANAGER
#undef STRING_ERROR
#undef STRING_WARNING
#undef STRING_INFO
#undef STRING_DELETE
#undef STRING_DELETE_GROUP_s
#undef STRING_DELETE_PROGRAM_s
#undef STRING_NOT_IMPLEMENTED
#undef STRING_FILE_READ_ERROR_s
#undef STRING_FILE_WRITE_ERROR_s
#undef STRING_GRPFILE_READ_ERROR_s
#undef STRING_OUT_OF_MEMORY
#undef STRING_WINHELP_ERROR
#undef STRING_UNKNOWN_FEATURE_s
#undef STRING_FILE_NOT_OVERWRITTEN_s
#undef STRING_SAVE_GROUP_AS_s
#undef STRING_NO_HOT_KEY
#undef STRING_ALL_FILES
#undef STRING_PROGRAMS
#undef STRING_LIBRARIES_DLL
#undef STRING_SYMBOL_FILES
#undef STRING_SYMBOLS_ICO