|
Mac OS 9
|
#include <UnicodeUtilities.h>
Data Fields | |
| UInt16 | curStateStart |
| UInt8 | curStateRange |
| UInt8 | deltaMultiplier |
| UCKeyCharSeq | charData |
| UInt16 | nextState |
For UCKeyStateEntryRange - If curState >= curStateStart and curState <= curStateStart+curStateRange, then it matches the entry, and we transform charData and nextState as follows: If charData < 0xFFFE, then charData += (curState-curStateStart)*deltaMultiplier If nextState != 0, then nextState += (curState-curStateStart)*deltaMultiplier