From: handa Date: Mon, 11 Oct 2004 01:00:24 +0000 (+0000) Subject: (glyph_category): New enum. X-Git-Tag: REL-1-2-0~139 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=2d1c5c68a705d840ade03d4e2f41e1fb13e4ba6d;p=m17n%2Fm17n-lib.git (glyph_category): New enum. (MGlyph): Change type of to enum glyph_category. --- diff --git a/src/internal-gui.h b/src/internal-gui.h index 70c8fe1..4a7e9e0 100644 --- a/src/internal-gui.h +++ b/src/internal-gui.h @@ -110,12 +110,18 @@ enum glyph_type GLYPH_TYPE_MAX }; +enum glyph_category + { + GLYPH_CATEGORY_NORMAL, + GLYPH_CATEGORY_MODIFIER, + GLYPH_CATEGORY_FORMATTER + }; + typedef struct { int pos, to; int c; unsigned code; - MSymbol category; MRealizedFace *rface; short width, ascent, descent, lbearing, rbearing; short xoff, yoff; @@ -124,6 +130,7 @@ typedef struct unsigned right_padding : 1; unsigned otf_encoded : 1; unsigned bidi_level : 6; + enum glyph_category category : 2; enum glyph_type type : 3; int combining_code; } MGlyph;