X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fface.h;h=28c437b76c5b67d7d4c42bca70b524f7587a7993;hb=3dbe5210009c5328999362178544d143a8f7b992;hp=dd7f5387cba10353caea25e9f463edee74de5649;hpb=06db40351a4a41fc24cc6169c979190764daf2f7;p=m17n%2Fm17n-lib.git diff --git a/src/face.h b/src/face.h index dd7f538..28c437b 100644 --- a/src/face.h +++ b/src/face.h @@ -64,8 +64,8 @@ struct MFace /** Properties of the face. */ void *property[MFACE_PROPERTY_MAX]; - /** List of realized faces based on the face. */ - MPlist *realized_face_list; + /** List of frames affected by the face modification. */ + MPlist *frame_list; }; @@ -84,9 +84,6 @@ struct MRealizedFace (MFace *). */ MPlist *base_face_list; - /* Set to 1 if some of above faces is modified. */ - unsigned need_update; - /* Realized font, one of ->realized_font_list. */ MRealizedFont *rfont; @@ -103,9 +100,8 @@ struct MRealizedFace properties. */ MRealizedFace *ascii_rface; - /** Realized face for undisplayable chars (no font found) that has - the same face properties. */ - MRealizedFace *nofont_rface; + /** List of realized faces that have the same face properties. */ + MPlist *non_ascii_list; int ascent, descent; int space_width; @@ -118,7 +114,6 @@ struct MRealizedFace extern MFace *mface__default; extern MRealizedFace *mface__realize (MFrame *frame, MFace **faces, int num, - MSymbol language, MSymbol charset, int limitted_size); extern MGlyph *mface__for_chars (MSymbol script, MSymbol language, @@ -127,4 +122,6 @@ extern MGlyph *mface__for_chars (MSymbol script, MSymbol language, extern void mface__free_realized (MRealizedFace *rface); +extern void mface__update_frame_face (MFrame *frame); + #endif /* _M17N_FACE_H_ */