From: handa Date: Thu, 29 Mar 2007 11:32:42 +0000 (+0000) Subject: (enum MFaceProperty): Delete MFACE_HOOK_FUNC. X-Git-Tag: FLT-base~99 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=552bc057135c3c415c16db9e5db57e51cef5d9d4;p=m17n%2Fm17n-lib.git (enum MFaceProperty): Delete MFACE_HOOK_FUNC. (struct MFace): New member hook. --- diff --git a/src/face.h b/src/face.h index a529839..b9ead92 100644 --- a/src/face.h +++ b/src/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; };