/* * Copyright 2004 by Krzysztof Foltman * Copyright 2007 by Alexander N. Sørnes * * 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 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ #include #include #include "wordpad.h" #define REACTOS_STR_FILE_DESCRIPTION "ReactOS WordPad\0" #define REACTOS_STR_INTERNAL_NAME "wordpad\0" #define REACTOS_STR_ORIGINAL_FILENAME "wordpad.exe\0" #include MAINACCELTABLE ACCELERATORS BEGIN "1", ID_BACK_1, VIRTKEY, CONTROL "2", ID_BACK_2, VIRTKEY, CONTROL "L", ID_ALIGN_LEFT, VIRTKEY, CONTROL "E", ID_ALIGN_CENTER, VIRTKEY, CONTROL "R", ID_ALIGN_RIGHT, VIRTKEY, CONTROL "F", ID_FIND, VIRTKEY, CONTROL VK_F3, ID_FIND_NEXT, VIRTKEY "H", ID_REPLACE, VIRTKEY, CONTROL "A", ID_EDIT_SELECTALL, VIRTKEY, CONTROL "X", ID_EDIT_CUT, VIRTKEY, CONTROL "C", ID_EDIT_COPY, VIRTKEY, CONTROL "Z", ID_EDIT_UNDO, VIRTKEY, CONTROL "Y", ID_EDIT_REDO, VIRTKEY, CONTROL "B", ID_FORMAT_BOLD, VIRTKEY, CONTROL "I", ID_FORMAT_ITALIC, VIRTKEY, CONTROL "U", ID_FORMAT_UNDERLINE,VIRTKEY, CONTROL "N", ID_FILE_NEW, VIRTKEY, CONTROL "O", ID_FILE_OPEN, VIRTKEY, CONTROL "S", ID_FILE_SAVE, VIRTKEY, CONTROL "P", ID_PRINT, VIRTKEY, CONTROL END /* @makedep: toolbar.bmp */ IDB_TOOLBAR BITMAP "res/toolbar.bmp" /* @makedep: formatbar.bmp */ IDB_FORMATBAR BITMAP "res/formatbar.bmp" /* @makedep: wordpad.ico */ IDI_WORDPAD ICON "res/wordpad.ico" /* @makedep: zoom.cur */ IDC_ZOOM CURSOR "res/zoom.cur" #include #ifdef LANGUAGE_EN_US #include "lang/En.rc" #endif #ifdef LANGUAGE_HU_HU #include "lang/Hu.rc" #endif #ifdef LANGUAGE_KO_KR #include "lang/Ko.rc" #endif #ifdef LANGUAGE_PL_PL #include "lang/Pl.rc" #endif /* UTF-8 */ #ifdef LANGUAGE_DA_DK #include "lang/Da.rc" #endif #ifdef LANGUAGE_DE_DE #include "lang/De.rc" #endif #ifdef LANGUAGE_FR_FR #include "lang/Fr.rc" #endif #ifdef LANGUAGE_HE_IL #include "lang/He.rc" #endif #ifdef LANGUAGE_IT_IT #include "lang/It.rc" #endif #ifdef LANGUAGE_JA_JP #include "lang/Ja.rc" #endif #ifdef LANGUAGE_LT_LT #include "lang/Lt.rc" #endif #ifdef LANGUAGE_NL_NL #include "lang/Nl.rc" #endif #ifdef LANGUAGE_NO_NO #include "lang/No.rc" #endif #ifdef LANGUAGE_PT_PT #include "lang/Pt.rc" #endif #ifdef LANGUAGE_RO_RO #include "lang/Ro.rc" #endif #ifdef LANGUAGE_RU_RU #include "lang/Ru.rc" #endif #ifdef LANGUAGE_SL_SI #include "lang/Si.rc" #endif #ifdef LANGUAGE_SQ_AL #include "lang/Sq.rc" #endif #ifdef LANGUAGE_SV_SE #include "lang/Sv.rc" #endif #ifdef LANGUAGE_TR_TR #include "lang/Tr.rc" #endif #ifdef LANGUAGE_UK_UA #include "lang/Uk.rc" #endif #ifdef LANGUAGE_ZH_CN #include "lang/Zh.rc" #endif