rsrc.rc 2.33 KB
Newer Older
1 2
/*
 * Copyright 2004 by Krzysztof Foltman
3
 * Copyright 2007 by Alexander N. Sørnes <alex@thehandofagony.com>
4 5 6 7 8 9 10 11 12 13 14 15 16
 *
 * 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
17
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 19
 */

20
#include "wordpad.h"
21 22 23 24 25 26 27 28

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    
29 30
    "F",          ID_FIND,            VIRTKEY, CONTROL
    VK_F3,        ID_FIND_NEXT,       VIRTKEY
31
    "H",          ID_REPLACE,         VIRTKEY, CONTROL
32 33 34 35 36 37 38 39 40 41 42
    "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    
43
    "P",          ID_PRINT,           VIRTKEY, CONTROL
44 45
END

46
/* @makedep: toolbar.bmp */
47 48
IDB_TOOLBAR BITMAP "toolbar.bmp"

49
/* @makedep: formatbar.bmp */
50
IDB_FORMATBAR BITMAP "formatbar.bmp"
51

52
/* @makedep: wordpad.ico */
53
IDI_WORDPAD ICON "wordpad.ico"
54

55
/* @makedep: rtf.ico */
56 57
IDI_RTF ICON "rtf.ico"

58
/* @makedep: wri.ico */
59 60
IDI_WRI ICON "wri.ico"

61
/* @makedep: txt.ico */
62
IDI_TXT ICON "txt.ico"