libtonc: Bitmap text

Tonclib

Bitmap text
[Old Text]


Mode-independent functions

void bm_putc (int x, int y, int c, COLOR clr)
void bm_puts (int x, int y, const char *str, COLOR clr)
void bm_clrs (int x, int y, const char *str, COLOR clr)

Mode 3 functions

INLINE void m3_putc (int x, int y, int c, COLOR clr)
 Write character c to (x, y) in color clr in mode 3.
INLINE void m3_puts (int x, int y, const char *str, COLOR clr)
 Write string str to (x, y) in color clr in mode 3.
INLINE void m3_clrs (int x, int y, const char *str, COLOR clr)
 Clear the space used by string str at (x, y) in color clr in mode 3.

Mode 4 functions

INLINE void m4_putc (int x, int y, int c, u8 clrid)
 Write character c to (x, y) in color-index clrid in mode 4.
INLINE void m4_puts (int x, int y, const char *str, u8 clrid)
 Write string str to (x, y) in color-index clrid in mode 4.
INLINE void m4_clrs (int x, int y, const char *str, u8 clrid)
 Clear the space used by string str at (x, y) in color-index clrid in mode 4.

Mode 5 functions

INLINE void m5_putc (int x, int y, int c, COLOR clr)
 Write character c to (x, y) in color clr in mode 5.
INLINE void m5_puts (int x, int y, const char *str, COLOR clr)
 Write string str to (x, y) in color clr in mode 5.
INLINE void m5_clrs (int x, int y, const char *str, COLOR clr)
 Clear the space used by string str at (x, y) in color clr in mode 5.

Mode 5 functions

void bm16_putc (u16 *dst, int c, COLOR clr, int pitch)
void bm16_puts (u16 *dst, const char *str, COLOR clr, int pitch)
void bm16_clrs (u16 *dst, const char *str, COLOR clr, int pitch)
void bm8_putc (u16 *dst, int c, u8 clrid)
void bm8_puts (u16 *dst, const char *str, u8 clrid)

Generated on Mon Aug 25 17:03:57 2008 for libtonc by  doxygen 1.5.3