next up previous contents index
Next: The message, status and Up: Using CCATSL Windows Previous: Writing in a window   Contents   Index


Changing the appearance of text: colours and fonts

When you create a CCATSL window, you can specify an initial text and background colour; these can be changed at any time with the routine TextColoursCL. CCATSL also allows you to change the text font, with FontCL.


TextColoursCL

This routine changes the current text and background colours for a given window.

  void TextColoursCL ( ColourCT tcol,
  ColourCT bcol);

  tcol The new text colour.
  bcol The new background color.


FontCL

This routine changes the current font used in the current window.

  void FontCL ( char *fontname,
  int size,
  FontStyleCT style);

  fontname The name of the font, such as `Arial', `Times New Roman' or `Courier New'.
  size The point size required.
  style The desired style, see here for details.


next up previous contents index
Next: The message, status and Up: Using CCATSL Windows Previous: Writing in a window   Contents   Index
CATAM admin 2010-02-23