projects
/
m17n
/
m17n-lib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(msymbol_is_managing_key): Extern it.
[m17n/m17n-lib.git]
/
src
/
internal-gui.h
diff --git
a/src/internal-gui.h
b/src/internal-gui.h
index
70c8fe1
..
4a7e9e0
100644
(file)
--- a/
src/internal-gui.h
+++ b/
src/internal-gui.h
@@
-110,12
+110,18
@@
enum glyph_type
GLYPH_TYPE_MAX
};
GLYPH_TYPE_MAX
};
+enum glyph_category
+ {
+ GLYPH_CATEGORY_NORMAL,
+ GLYPH_CATEGORY_MODIFIER,
+ GLYPH_CATEGORY_FORMATTER
+ };
+
typedef struct
{
int pos, to;
int c;
unsigned code;
typedef struct
{
int pos, to;
int c;
unsigned code;
- MSymbol category;
MRealizedFace *rface;
short width, ascent, descent, lbearing, rbearing;
short xoff, yoff;
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;
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;
enum glyph_type type : 3;
int combining_code;
} MGlyph;