277 lines
12 KiB
Plaintext
277 lines
12 KiB
Plaintext
/*
|
|
* 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 <windef.h>
|
|
#include <winuser.h>
|
|
|
|
#include "resource.h"
|
|
|
|
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
|
|
"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
|
|
END
|
|
|
|
/* BINRES toolbar.bmp */
|
|
IDB_TOOLBAR BITMAP "toolbar.bmp"
|
|
/* {
|
|
'42 4d f6 00 00 00 00 00 00 00 76 00 00 00 28 00'
|
|
'00 00 10 00 00 00 10 00 00 00 01 00 04 00 00 00'
|
|
'00 00 80 00 00 00 12 0b 00 00 12 0b 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80'
|
|
'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'
|
|
'00 00 80 80 80 00 c0 c0 c0 00 00 00 ff 00 00 ff'
|
|
'00 00 00 ff ff 00 ff 00 00 00 ff 00 ff 00 ff ff'
|
|
'00 00 ff ff ff 00 88 88 88 88 88 33 33 88 88 88'
|
|
'88 88 83 33 33 38 88 88 88 88 33 33 33 33 88 88'
|
|
'88 88 33 30 00 03 8f ff ff ff 33 30 33 33 8f 0f'
|
|
'f0 0f 33 30 33 33 8f 0f 0f f0 f3 30 33 38 8f 0f'
|
|
'ff f0 f8 33 33 88 8f 0f f0 0f f8 88 88 88 8f 0f'
|
|
'ff f0 f8 88 88 88 8f 0f 0f f0 f8 88 88 88 8f 0f'
|
|
'f0 0f f8 88 88 88 8f ff ff ff f8 88 88 88 84 44'
|
|
'44 44 48 88 88 88 84 44 44 44 48 88 88 88 88 88'
|
|
'88 88 88 88 88 88'
|
|
} */
|
|
|
|
/* BINRES formatbar.bmp */
|
|
IDB_FORMATBAR BITMAP "formatbar.bmp"
|
|
/* {
|
|
'42 4d 3e 03 00 00 00 00 00 00 3e 00 00 00 28 00'
|
|
'00 00 60 00 00 00 10 00 00 00 01 00 04 00 00 00'
|
|
'00 00 00 03 00 00 12 0b 00 00 12 0b 00 00 02 00'
|
|
'00 00 02 00 00 00 c0 c0 c0 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'11 11 11 11 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 11 11 11 11 11 10 00 00 11'
|
|
'11 11 11 11 11 00 00 00 01 11 11 11 11 00 00 01'
|
|
'11 11 11 00 00 00 00 00 11 11 10 00 00 00 00 00'
|
|
'01 11 11 10 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01'
|
|
'10 00 01 10 00 00 00 00 00 10 00 00 00 00 00 00'
|
|
'10 00 00 01 00 00 00 11 11 11 10 00 00 00 00 00'
|
|
'01 11 11 10 00 00 00 11 11 11 11 11 11 00 00 01'
|
|
'10 00 01 10 00 00 00 00 00 10 00 00 00 00 00 00'
|
|
'10 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01'
|
|
'10 00 01 10 00 00 00 00 00 10 00 00 00 00 00 00'
|
|
'10 00 00 01 00 00 00 11 11 11 11 11 11 00 00 00'
|
|
'11 11 11 11 00 00 00 00 00 11 11 11 11 00 00 01'
|
|
'10 00 01 10 00 00 00 00 00 01 00 00 00 00 00 00'
|
|
'10 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01'
|
|
'11 11 11 00 00 00 00 00 00 01 00 00 00 00 00 00'
|
|
'10 00 00 01 00 00 00 11 11 11 11 10 00 00 00 11'
|
|
'11 11 11 11 11 00 00 00 00 00 01 11 11 00 00 01'
|
|
'10 00 01 10 00 00 00 00 00 01 00 00 00 00 00 00'
|
|
'10 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01'
|
|
'10 00 01 10 00 00 00 00 00 00 10 00 00 00 00 00'
|
|
'10 00 00 01 00 00 00 11 11 11 11 11 11 00 00 00'
|
|
'11 11 11 11 00 00 00 01 11 11 11 11 11 00 00 01'
|
|
'10 00 01 10 00 00 00 00 00 00 10 00 00 00 00 00'
|
|
'10 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01'
|
|
'11 11 11 00 00 00 00 00 00 11 11 10 00 00 00 00'
|
|
'10 00 00 01 00 00 00 11 11 11 11 00 00 00 00 00'
|
|
'01 11 11 10 00 00 00 00 00 11 11 11 11 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 11 11 11 11 11 11 00 00 11'
|
|
'11 11 11 11 11 00 00 11 11 11 11 11 11 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
} */
|
|
|
|
/* BINRES wordpad.ico */
|
|
IDI_WORDPAD ICON "wordpad.ico"
|
|
/* {
|
|
'00 00 01 00 01 00 20 20 00 00 01 00 08 00 a8 08'
|
|
'00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00'
|
|
'00 00 01 00 08 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 33 00 00 00 66 00 00 00 99 00 00 00 cc 00'
|
|
'00 00 ff 00 00 00 00 33 00 00 33 33 00 00 66 33'
|
|
'00 00 99 33 00 00 cc 33 00 00 ff 33 00 00 00 66'
|
|
'00 00 33 66 00 00 66 66 00 00 99 66 00 00 cc 66'
|
|
'00 00 ff 66 00 00 00 99 00 00 33 99 00 00 66 99'
|
|
'00 00 99 99 00 00 cc 99 00 00 ff 99 00 00 00 cc'
|
|
'00 00 33 cc 00 00 66 cc 00 00 99 cc 00 00 cc cc'
|
|
'00 00 ff cc 00 00 00 ff 00 00 33 ff 00 00 66 ff'
|
|
'00 00 99 ff 00 00 cc ff 00 00 ff ff 00 00 00 00'
|
|
'33 00 33 00 33 00 66 00 33 00 99 00 33 00 cc 00'
|
|
'33 00 ff 00 33 00 00 33 33 00 33 33 33 00 66 33'
|
|
'33 00 99 33 33 00 cc 33 33 00 ff 33 33 00 00 66'
|
|
'33 00 33 66 33 00 66 66 33 00 99 66 33 00 cc 66'
|
|
'33 00 ff 66 33 00 00 99 33 00 33 99 33 00 66 99'
|
|
'33 00 99 99 33 00 cc 99 33 00 ff 99 33 00 00 cc'
|
|
'33 00 33 cc 33 00 66 cc 33 00 99 cc 33 00 cc cc'
|
|
'33 00 ff cc 33 00 00 ff 33 00 33 ff 33 00 66 ff'
|
|
'33 00 99 ff 33 00 cc ff 33 00 ff ff 33 00 00 00'
|
|
'66 00 33 00 66 00 66 00 66 00 99 00 66 00 cc 00'
|
|
'66 00 ff 00 66 00 00 33 66 00 33 33 66 00 66 33'
|
|
'66 00 99 33 66 00 cc 33 66 00 ff 33 66 00 00 66'
|
|
'66 00 33 66 66 00 66 66 66 00 99 66 66 00 cc 66'
|
|
'66 00 ff 66 66 00 00 99 66 00 33 99 66 00 66 99'
|
|
'66 00 99 99 66 00 cc 99 66 00 ff 99 66 00 00 cc'
|
|
'66 00 33 cc 66 00 66 cc 66 00 99 cc 66 00 cc cc'
|
|
'66 00 ff cc 66 00 00 ff 66 00 33 ff 66 00 66 ff'
|
|
'66 00 99 ff 66 00 cc ff 66 00 ff ff 66 00 00 00'
|
|
'99 00 33 00 99 00 66 00 99 00 99 00 99 00 cc 00'
|
|
'99 00 ff 00 99 00 00 33 99 00 33 33 99 00 66 33'
|
|
'99 00 99 33 99 00 cc 33 99 00 ff 33 99 00 00 66'
|
|
'99 00 33 66 99 00 66 66 99 00 99 66 99 00 cc 66'
|
|
'99 00 ff 66 99 00 00 99 99 00 33 99 99 00 66 99'
|
|
'99 00 99 99 99 00 cc 99 99 00 ff 99 99 00 00 cc'
|
|
'99 00 33 cc 99 00 66 cc 99 00 99 cc 99 00 cc cc'
|
|
'99 00 ff cc 99 00 00 ff 99 00 33 ff 99 00 66 ff'
|
|
'99 00 99 ff 99 00 cc ff 99 00 ff ff 99 00 00 00'
|
|
'cc 00 33 00 cc 00 66 00 cc 00 99 00 cc 00 cc 00'
|
|
'cc 00 ff 00 cc 00 00 33 cc 00 33 33 cc 00 66 33'
|
|
'cc 00 99 33 cc 00 cc 33 cc 00 ff 33 cc 00 00 66'
|
|
'cc 00 33 66 cc 00 66 66 cc 00 99 66 cc 00 cc 66'
|
|
'cc 00 ff 66 cc 00 00 99 cc 00 33 99 cc 00 66 99'
|
|
'cc 00 99 99 cc 00 cc 99 cc 00 ff 99 cc 00 00 cc'
|
|
'cc 00 33 cc cc 00 66 cc cc 00 99 cc cc 00 cc cc'
|
|
'cc 00 ff cc cc 00 00 ff cc 00 33 ff cc 00 66 ff'
|
|
'cc 00 99 ff cc 00 cc ff cc 00 ff ff cc 00 00 00'
|
|
'ff 00 33 00 ff 00 66 00 ff 00 99 00 ff 00 cc 00'
|
|
'ff 00 ff 00 ff 00 00 33 ff 00 33 33 ff 00 66 33'
|
|
'ff 00 99 33 ff 00 cc 33 ff 00 ff 33 ff 00 00 66'
|
|
'ff 00 33 66 ff 00 66 66 ff 00 99 66 ff 00 cc 66'
|
|
'ff 00 ff 66 ff 00 00 99 ff 00 33 99 ff 00 66 99'
|
|
'ff 00 99 99 ff 00 cc 99 ff 00 ff 99 ff 00 00 cc'
|
|
'ff 00 33 cc ff 00 66 cc ff 00 99 cc ff 00 cc cc'
|
|
'ff 00 ff cc ff 00 00 ff ff 00 33 ff ff 00 66 ff'
|
|
'ff 00 99 ff ff 00 cc ff ff 00 ff ff ff 00 00 00'
|
|
'00 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff'
|
|
'ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff'
|
|
'ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff'
|
|
'ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff'
|
|
'ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff'
|
|
'ff 00 c0 c0 ff 00 ff ff ff 00 ff ff ff 00 ff ff'
|
|
'ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff'
|
|
'ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff'
|
|
'ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 ff ff'
|
|
'ff 00 ff ff ff 00 ff ff ff 00 ff ff ff 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7'
|
|
'd7 d7 d7 d7 d7 d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7'
|
|
'd7 d7 d7 d7 d7 d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7'
|
|
'd7 d7 d7 d7 d7 d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 81 81 2b d7 d7 d7 d7 d7 d7'
|
|
'd7 d7 d7 d7 d7 d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 81 d0 d0 2b 81 81 81 81 81'
|
|
'81 81 d7 d7 d7 d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 2b d0 2b 5f 2b d7 d7 d7 d7'
|
|
'd7 d7 d7 d7 d7 d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 d7 2b 5f 5f 5f 2b d7 d7 d7'
|
|
'd7 d7 d7 d7 d7 d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 81 81 81 81 2b 5f 5f 5f 2b 81 d7'
|
|
'd7 d7 d7 d7 d7 d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 d7 d7 d7 2b 5f 5f 5f 2b d7'
|
|
'd7 d7 d7 d7 d7 d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 d7 d7 d7 d7 2b 5f 5f 5f 2b'
|
|
'd7 d7 d7 d7 d7 d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 81 81 81 81 81 81 81 81 2b 5f 5f 5f'
|
|
'2b 81 81 d7 d7 d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 2b 5f 5f'
|
|
'5f 2b d7 d7 d7 d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 2b 5f'
|
|
'5f 5f 2b d7 d7 d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 81 81 81 81 81 81 81 81 81 81 81 2b'
|
|
'5f 5f 5f 2b d7 d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7'
|
|
'2b 5f 5f 5f 2b d7 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 81 81 81 81 81 81 81 81 81 81 81'
|
|
'81 2b 5f 5f 5f 2b 00 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7'
|
|
'd7 d7 2b 5f 5f 5f 2b 00 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 81 81 81 81 81 81 81 81 81 81 81 81'
|
|
'd7 d7 d7 2b 5f 5f 5f 2b 00 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7'
|
|
'd7 d7 d7 d7 2b 5f 5f 5f 2b 00 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7'
|
|
'd7 d7 d7 d7 d7 2b 5f 5f 5f 2b 00 00 00 00 00 00'
|
|
'00 81 00 d7 d7 81 81 81 81 81 81 81 81 81 d7 d7'
|
|
'd7 d7 d7 d7 d7 d7 2b 5f 5f 5f 2b 00 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7'
|
|
'd7 d7 d7 d7 d7 d7 00 2b 5f 5f 5f 2b 00 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7'
|
|
'd7 d7 d7 d7 d7 d7 00 00 2b 5f 5f 5f 2b 00 00 00'
|
|
'00 81 00 d7 81 81 81 81 81 81 81 81 81 81 81 81'
|
|
'81 81 81 d7 d7 d7 00 00 00 2b 5f 2b 2b 00 00 00'
|
|
'00 81 00 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7 d7'
|
|
'd7 d7 d7 d7 d7 d7 00 00 00 00 2b 2b 00 00 00 00'
|
|
'00 81 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 81 81 81 81 81 81 81 81 81 81 81 81 81 81'
|
|
'81 81 81 81 81 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
|
|
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff'
|
|
'ff ff f0 00 00 7f e0 00 00 7f c0 00 00 7f c0 00'
|
|
'00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00'
|
|
'00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00'
|
|
'00 7f c0 00 00 7f c0 00 00 7f c0 00 00 7f c0 00'
|
|
'00 7f c0 00 00 7f c0 00 00 7f c0 00 00 3f c0 00'
|
|
'00 1f c0 00 00 0f c0 00 00 07 c0 00 00 03 c0 00'
|
|
'00 41 c0 00 00 61 c0 00 00 73 c0 00 00 7f c0 00'
|
|
'00 ff c0 00 01 ff ff ff ff ff ff ff ff ff'
|
|
} */
|
|
|
|
#include "De.rc"
|
|
#include "En.rc"
|
|
#include "Fr.rc"
|
|
#include "Hu.rc"
|
|
#include "Ko.rc"
|
|
#include "Nl.rc"
|
|
#include "No.rc"
|
|
#include "Pl.rc"
|
|
#include "Ru.rc"
|
|
#include "Tr.rc"
|