Faces

Faces are a data type used to specify in detail the way in which window decorations like the titlebar, the border and titlebar buttons will be drawn. They are currently somewhat kludgey and ad-hoc. However, they offer a great deal of flexibility. All faces are set in the current decor, so multiple decors must be used to use different faces for different windows. The low-level functionality offered in the face primitives will rarely be needed; the button-style, title-style and border-style procedures in the (app scwm face) module provide a more convenient interface to this functionality.