The m17n Library  1.8.3
Functions
face.c File Reference

Functions

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

Variables

Variables: Keys of face property
MSymbol Mforeground
 Key of a face property specifying foreground color. More...
 
MSymbol Mbackground
 Key of a face property specifying background color. More...
 
MSymbol Mvideomode
 Key of a face property specifying video mode. More...
 
MSymbol Mratio
 Key of a face property specifying font size ratio. More...
 
MSymbol Mhline
 Key of a face property specifying horizontal line. More...
 
MSymbol Mbox
 Key of a face property specifying box. More...
 
MSymbol Mfontset
 Key of a face property specifying fontset. More...
 
MSymbol Mhook_func
 Key of a face property specifying hook. More...
 
MSymbol Mhook_arg
 Key of a face property specifying argument of hook. More...
 
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. More...
 
MFacemface_reverse_video
 Reverse video face. More...
 
MFacemface_underline
 
MFacemface_medium
 Medium face. More...
 
MFacemface_bold
 Bold face. More...
 
MFacemface_italic
 Italic face. More...
 
MFacemface_bold_italic
 Bold italic face. More...
 
MFacemface_xx_small
 Smallest face. More...
 
MFacemface_x_small
 Smaller face. More...
 
MFacemface_small
 Small face. More...
 
MFacemface_normalsize
 Normalsize face. More...
 
MFacemface_large
 Large face. More...
 
MFacemface_x_large
 Larger face. More...
 
MFacemface_xx_large
 Largest face. More...
 
MFacemface_black
 Black face. More...
 
MFacemface_white
 White face. More...
 
MFacemface_red
 Red face. More...
 
MFacemface_green
 Green face. More...
 
MFacemface_blue
 Blue face. More...
 
MFacemface_cyan
 Cyan face. More...
 
MFacemface_yellow
 yellow face. More...
 
MFacemface_magenta
 Magenta face. More...
 
Variables: The other symbols for face handling.
MSymbol Mface
 Key of a text property specifying a face. More...
 

m17n-lib Home