mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
174 lines
5.1 KiB
174 lines
5.1 KiB
|
|
/*************************************************
|
|
* unicdime.rc *
|
|
* *
|
|
* Copyright (C) 1999 Microsoft Inc. *
|
|
* *
|
|
*************************************************/
|
|
|
|
#include <winuser.h>
|
|
#include "unicdime.rcv"
|
|
#include "imeattr.h"
|
|
#include "imerc.h"
|
|
#include "ime.rc"
|
|
|
|
|
|
IDIC_IME_ICON ICON IME.ICO
|
|
|
|
IDRC_VALIDCHAR RCDATA
|
|
BEGIN
|
|
// DWORD dwVersion;
|
|
0, 1,
|
|
|
|
// WORD fwProperties1;
|
|
IMEPROP_UNICODE|
|
|
0x0000,
|
|
|
|
// WORD fwProperties2;
|
|
0x0000,
|
|
|
|
// WORD nMaxKey;
|
|
4,
|
|
|
|
// WORD nSeqCode;
|
|
0x10,
|
|
|
|
// WORD fChooseChar[6]; bit 15 -> 0xF, bit 0 -> 0x0
|
|
// when this bit == 1, this char can be entered in choosing candidates
|
|
// 20-2F /.-, +*)( '&%$ #"!
|
|
0x0000, // 0000 0000 0000 0000
|
|
|
|
// 30-3F ?>=< ;:98 7654 3210
|
|
0x0000, // 0000 0000 0000 0000
|
|
|
|
// 40-4F ONML KJIH GFED CBA@
|
|
0x0000, // 0000 0000 0000 0000
|
|
|
|
// 50-5f _^]\ [ZYX WVUT SRQP
|
|
0x0000, // 0000 0000 0000 0000
|
|
|
|
// 60-6F onml kjih gfed cba`
|
|
0x0000, // 0000 0000 0000 0000
|
|
|
|
// 70-7F ~}| {zyx wvut srqp
|
|
0x0000, // 0000 0000 0000 0000
|
|
|
|
// WORD wReserved1[2];
|
|
0x0000, 0x0000,
|
|
|
|
// WORD fCompChar[6]; bit 15 -> 0xF, bit 0 -> 0x0
|
|
// when this bit == 1, this char can be entered in composing char
|
|
// 20-2F /.-, +*)( '&%$ #"!
|
|
0x0000, // 0000 0000 0000 0000
|
|
|
|
// 30-3F ?>=< ;:98 7654 3210
|
|
0x03FF, // 0000 0011 1111 1111
|
|
|
|
// 40-4F ONML KJIH GFED CBA@
|
|
0x007E, // 0000 0000 0111 1110
|
|
|
|
// 50-5F _^]\ [ZYX WVUT SRQP
|
|
0x0000, // 0000 0000 0000 0000
|
|
|
|
// 60-6F onml kjih gfed cba`
|
|
0x0000, // 0000 0000 0000 0000
|
|
|
|
// 70-7F ~}| {zyx wvut srqp
|
|
0x0000, // 0000 0000 0000 0000
|
|
|
|
// WORD wReserved1[2];
|
|
0x0000, 0x0000,
|
|
|
|
// WORD wCandPerPage;
|
|
0x0009,
|
|
|
|
// WORD wCandStart;
|
|
0x0001,
|
|
|
|
// WORD wCandRangeStart;
|
|
0x0001,
|
|
|
|
// WORD wReserved3[1];
|
|
0x0000,
|
|
|
|
// WORD wSeq2CompTbl[64];
|
|
/*
|
|
// 0 1 2 3 4 5 6 7 8 9 A B C D E F - sequence code
|
|
0x3000, 0xFF10, 0xFF11, 0xFF12, 0xFF13, 0xFF14, 0xFF15, 0xFF16,
|
|
0xFF17, 0xFF18, 0xFF19, 0xFF21, 0xFF22, 0xFF23, 0xFF24, 0xFF25,
|
|
|
|
// 101112131415161718191A1B1C1D1E1F
|
|
0xFF26, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
|
|
0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
|
|
|
|
// 202122232425262728292A2B2C2D2E2F
|
|
0xFF26, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
|
|
0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
|
|
|
|
// 303132333435363738393A3B3C3D3E3F
|
|
0xFF26, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
|
|
0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000,
|
|
*/
|
|
// 0 1 2 3 4 5 6 7 8 9 A B C D E F - sequence code
|
|
0x0020, 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036,
|
|
0x0037, 0x0038, 0x0039, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045,
|
|
|
|
// 101112131415161718191A1B1C1D1E1F
|
|
0x0046, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
|
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
|
|
|
// 202122232425262728292A2B2C2D2E2F
|
|
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
|
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
|
|
|
// 303132333435363738393A3B3C3D3E3F
|
|
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
|
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
|
|
|
// WORD wChar2SeqTbl[0x42];
|
|
// ' ' ! " # $ % & ' - char code
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // sequence code
|
|
|
|
// ( ) * + , - . /
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
// 0 1 2 3 4 5 6 7
|
|
0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
|
|
|
|
// 8 9 : ; < = > ?
|
|
0x09, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
// @ A B C D E F G
|
|
0x00, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x00,
|
|
|
|
// H I J K L M N O
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
// P Q R S T U V W
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
// X Y Z [ \ ] ^ _
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
|
|
// ` a
|
|
0x00, 0x00,
|
|
END
|
|
|
|
IDRC_TABLEFILES RCDATA
|
|
BEGIN
|
|
// szTblFile[4][16]
|
|
L"\0 34567890123456", L"\0 34567890123456",
|
|
L"\0 34567890123456", L"\0 34567890123456",
|
|
END
|
|
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_IMENAME, "Unicode"
|
|
IDS_IMEUICLASS, "UNICDIME"
|
|
IDS_IMECOMPCLASS, "CompUNICDIME"
|
|
IDS_IMECANDCLASS, "CandUNICDIME"
|
|
IDS_IMESTATUSCLASS, "StatusUNICDIME"
|
|
IDS_IMEOFFCARETCLASS, "OffUNICDIME"
|
|
IDS_IMECMENUCLASS, "CMenuUNICDIME"
|
|
END
|