XimThai.h revision 1ab64890
11ab64890Smrg/* $Xorg: XimThai.h,v 1.4 2001/02/09 02:03:38 xorgcvs Exp $ */ 21ab64890Smrg/*********************************************************** 31ab64890Smrg 41ab64890SmrgCopyright 1993, 1998 The Open Group 51ab64890Smrg 61ab64890SmrgPermission to use, copy, modify, distribute, and sell this software and its 71ab64890Smrgdocumentation for any purpose is hereby granted without fee, provided that 81ab64890Smrgthe above copyright notice appear in all copies and that both that 91ab64890Smrgcopyright notice and this permission notice appear in supporting 101ab64890Smrgdocumentation. 111ab64890Smrg 121ab64890SmrgThe above copyright notice and this permission notice shall be included in 131ab64890Smrgall copies or substantial portions of the Software. 141ab64890Smrg 151ab64890SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 161ab64890SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 171ab64890SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 181ab64890SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 191ab64890SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 201ab64890SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 211ab64890Smrg 221ab64890SmrgExcept as contained in this notice, the name of The Open Group shall not be 231ab64890Smrgused in advertising or otherwise to promote the sale, use or other dealings 241ab64890Smrgin this Software without prior written authorization from The Open Group. 251ab64890Smrg 261ab64890Smrg 271ab64890SmrgCopyright 1993 by Digital Equipment Corporation, Maynard, Massachusetts. 281ab64890Smrg 291ab64890Smrg All Rights Reserved 301ab64890Smrg 311ab64890SmrgPermission to use, copy, modify, and distribute this software and its 321ab64890Smrgdocumentation for any purpose and without fee is hereby granted, 331ab64890Smrgprovided that the above copyright notice appear in all copies and that 341ab64890Smrgboth that copyright notice and this permission notice appear in 351ab64890Smrgsupporting documentation, and that the name of Digital not be 361ab64890Smrgused in advertising or publicity pertaining to distribution of the 371ab64890Smrgsoftware without specific, written prior permission. 381ab64890Smrg 391ab64890SmrgDIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 401ab64890SmrgALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 411ab64890SmrgDIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 421ab64890SmrgANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 431ab64890SmrgWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 441ab64890SmrgARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 451ab64890SmrgSOFTWARE. 461ab64890Smrg 471ab64890Smrg******************************************************************/ 481ab64890Smrg/* $XFree86: xc/lib/X11/XimThai.h,v 1.5 2001/12/14 19:54:08 dawes Exp $ */ 491ab64890Smrg 501ab64890Smrg/* 511ab64890Smrg**++ 521ab64890Smrg** FACILITY: 531ab64890Smrg** 541ab64890Smrg** Xlib 551ab64890Smrg** 561ab64890Smrg** ABSTRACT: 571ab64890Smrg** 581ab64890Smrg** Definition file for Thai specific functions. 591ab64890Smrg** 601ab64890Smrg** MODIFICATION HISTORY: 611ab64890Smrg** 621ab64890Smrg**/ 631ab64890Smrg 641ab64890Smrg#ifndef _XIMTHAI_H_ 651ab64890Smrg#define _XIMTHAI_H_ 661ab64890Smrg 671ab64890Smrg#include <X11/Xlib.h> 681ab64890Smrg 691ab64890Smrg/* Classification of characters in TIS620 according to WTT */ 701ab64890Smrg 711ab64890Smrg#define CTRL 0 /* control chars */ 721ab64890Smrg#define NON 1 /* non composibles */ 731ab64890Smrg#define CONS 2 /* consonants */ 741ab64890Smrg#define LV 3 /* leading vowels */ 751ab64890Smrg#define FV1 4 /* following vowels */ 761ab64890Smrg#define FV2 5 771ab64890Smrg#define FV3 6 781ab64890Smrg#define BV1 7 /* below vowels */ 791ab64890Smrg#define BV2 8 801ab64890Smrg#define BD 9 /* below diacritics */ 811ab64890Smrg#define TONE 10 /* tonemarks */ 821ab64890Smrg#define AD1 11 /* above diacritics */ 831ab64890Smrg#define AD2 12 841ab64890Smrg#define AD3 13 851ab64890Smrg#define AV1 14 /* above vowels */ 861ab64890Smrg#define AV2 15 871ab64890Smrg#define AV3 16 881ab64890Smrg 891ab64890Smrg 901ab64890Smrg/* extended classification */ 911ab64890Smrg 921ab64890Smrg#define DEAD 17 /* group of non-spacing characters */ 931ab64890Smrg 941ab64890Smrg 951ab64890Smrg/* display levels in display cell */ 961ab64890Smrg 971ab64890Smrg#define NONDISP 0 /* non displayable */ 981ab64890Smrg#define TOP 1 991ab64890Smrg#define ABOVE 2 1001ab64890Smrg#define BASE 3 1011ab64890Smrg#define BELOW 4 1021ab64890Smrg 1031ab64890Smrg 1041ab64890Smrg/* Input Sequence Check modes */ 1051ab64890Smrg 1061ab64890Smrg#define WTT_ISC1 1 /* WTT default ISC mode */ 1071ab64890Smrg#define WTT_ISC2 2 /* WTT strict ISC mode */ 1081ab64890Smrg#define THAICAT_ISC 3 /* THAICAT ISC mode */ 1091ab64890Smrg#define NOISC 255 /* No ISC */ 1101ab64890Smrg 1111ab64890Smrg 1121ab64890Smrg#endif /* _XIMTHAI_H_ */ 113