{The S-lang C Library Reference}: SLsmg_write_color_chars

Next Previous Contents

## 34. SLsmg_write_color_chars

Synopsis

  Write characters with color descriptors to virtual display

Usage

  `void SLsmg_write_color_chars (unsigned short *s, unsigned int len)`

Description

  The `SLsmg_write_color_chars` function may be used to write `len` characters, each with a different color descriptor to the virtual display. Each character and its associated color are encoded as an `unsigned short` such that the lower eight bits form the character and the next eight bits form the color.

See Also

  `SLsmg_char_at, SLsmg_write_raw`

Next Previous Contents