wordpad: Merge accelerators into the main resource file.

This commit is contained in:
Alexandre Julliard 2011-12-19 20:14:23 +01:00
parent 0185c471ec
commit d9d4a06ca7
3 changed files with 25 additions and 49 deletions

View File

@ -1,45 +0,0 @@
/*
* Copyright 2004 by Krzysztof Foltman
*
* 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 "wordpad.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
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

View File

@ -11,10 +11,7 @@ C_SRCS = \
registry.c \
wordpad.c
RC_SRCS = \
En.rc \
wordpad.rc
RC_SRCS = wordpad.rc
PO_SRCS = wordpad.rc
SVG_SRCS = \

View File

@ -265,6 +265,30 @@ BEGIN
LTEXT "", IDC_PAGEFMT_ID, 0,0,0,0
END
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
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: toolbar.bmp */