X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fface.h;h=b9ead922def0a4be19618b9d2498181b0162d154;hb=38c091dbfa19be7db173231b0b5101577de2098e;hp=bec3fc5c443395188f95ba829ed92121de4eaf88;hpb=a62852f292249404a4cd570cd14e4ad21267fbb4;p=m17n%2Fm17n-lib.git diff --git a/src/face.h b/src/face.h index bec3fc5..b9ead92 100644 --- a/src/face.h +++ b/src/face.h @@ -17,7 +17,7 @@ You should have received a copy of the GNU Lesser General Public License along with the m17n library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 02111-1307, USA. */ #ifndef _M17N_FACE_H_ @@ -46,14 +46,12 @@ enum MFaceProperty MFACE_BOX, MFACE_VIDEOMODE, - /** Extention by applications. */ - MFACE_HOOK_FUNC, - MFACE_HOOK_ARG, - /* In a realized face, this is ignored because it is already reflected in MFACE_SIZE. */ MFACE_RATIO, + MFACE_HOOK_ARG, + MFACE_PROPERTY_MAX }; @@ -64,6 +62,8 @@ struct MFace /** Properties of the face. */ void *property[MFACE_PROPERTY_MAX]; + MFaceHookFunc hook; + /** List of frames affected by the face modification. */ MPlist *frame_list; };