From: handa Date: Thu, 20 May 2004 06:01:18 +0000 (+0000) Subject: (struct MFace): Delete member realized_face_list, add X-Git-Tag: withdl~208 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=81fc41c2abd7430b4aef5bbf2f61a915511a59fb;p=m17n%2Fm17n-lib.git (struct MFace): Delete member realized_face_list, add member frame_list. (struct MRealizedFace): Delete member need_update andnofont_rface, add member non_ascii_list. (mface__update_frame_face): Extern it. --- diff --git a/src/face.h b/src/face.h index dd7f538..276ac09 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; @@ -127,4 +123,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_ */