From 2d1c5c68a705d840ade03d4e2f41e1fb13e4ba6d Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 11 Oct 2004 01:00:24 +0000 Subject: [PATCH] (glyph_category): New enum. (MGlyph): Change type of to enum glyph_category. --- src/internal-gui.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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; -- 1.7.10.4