The m17n Library 1.8.4
Loading...
Searching...
No Matches
Functions
face.c File Reference

Functions

MFacemface ()
 Create a new face.
 
MFacemface_copy (MFace *face)
 Make a copy of a face.
 
int mface_equal (MFace *face1, MFace *face2)
 Compare faces.
 
MFacemface_merge (MFace *dst, MFace *src)
 Merge faces.
 
MFacemface_from_font (MFont *font)
 Make a face from a font.
 
void * mface_get_prop (MFace *face, MSymbol key)
 Get the value of a face property.
 
MFaceHookFunc mface_get_hook (MFace *face)
 Get the hook function of a face.
 
int mface_put_prop (MFace *face, MSymbol key, void *val)
 Set a value of a face property.
 
int mface_put_hook (MFace *face, MFaceHookFunc func)
 Set a hook function to a face.
 
void mface_update (MFrame *frame, MFace *face)
 Update a face.
 
MFacemdebug_dump_face (MFace *face, int indent)
 Dump a face.
 

Variables

Variables: Keys of face property
MSymbol Mforeground
 Key of a face property specifying foreground color.
 
MSymbol Mbackground
 Key of a face property specifying background color.
 
MSymbol Mvideomode
 Key of a face property specifying video mode.
 
MSymbol Mratio
 Key of a face property specifying font size ratio.
 
MSymbol Mhline
 Key of a face property specifying horizontal line.
 
MSymbol Mbox
 Key of a face property specifying box.
 
MSymbol Mfontset
 Key of a face property specifying fontset.
 
MSymbol Mhook_func
 Key of a face property specifying hook.
 
MSymbol Mhook_arg
 Key of a face property specifying argument of hook.
 
Variables: Possible values of #Mvideomode property of face

See the documentation of the variable Mvideomode.

MSymbol Mnormal
 
MSymbol Mreverse
 
Variables: Predefined faces
MFacemface_normal_video
 Normal video face.
 
MFacemface_reverse_video
 Reverse video face.
 
MFacemface_underline
 
MFacemface_medium
 Medium face.
 
MFacemface_bold
 Bold face.
 
MFacemface_italic
 Italic face.
 
MFacemface_bold_italic
 Bold italic face.
 
MFacemface_xx_small
 Smallest face.
 
MFacemface_x_small
 Smaller face.
 
MFacemface_small
 Small face.
 
MFacemface_normalsize
 Normalsize face.
 
MFacemface_large
 Large face.
 
MFacemface_x_large
 Larger face.
 
MFacemface_xx_large
 Largest face.
 
MFacemface_black
 Black face.
 
MFacemface_white
 White face.
 
MFacemface_red
 Red face.
 
MFacemface_green
 Green face.
 
MFacemface_blue
 Blue face.
 
MFacemface_cyan
 Cyan face.
 
MFacemface_yellow
 yellow face.
 
MFacemface_magenta
 Magenta face.
 
Variables: The other symbols for face handling.
MSymbol Mface
 Key of a text property specifying a face.
 

m17n-lib Home