libtonc
Bitmap text

Modules

 Object text
 

Variables

u16 * tagTXT_BASE::dst0
 writing buffer starting point
 
u32 * tagTXT_BASE::font
 
u8 * tagTXT_BASE::chars
 
u8 * tagTXT_BASE::cws
 
u8 tagTXT_BASE::dx
 
u8 tagTXT_BASE::dy
 
u16 tagTXT_BASE::flags
 
u8 tagTXT_BASE::extra [12]
 

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.
 
void bm16_putc (u16 *dst, int c, COLOR clr, int pitch)
 Write character c to (x, y) in color clr in mode 5.
 
void bm16_puts (u16 *dst, const char *str, COLOR clr, int pitch)
 Write character c to (x, y) in color clr in mode 5.
 
void bm16_clrs (u16 *dst, const char *str, COLOR clr, int pitch)
 Write character c to (x, y) in color clr in mode 5.
 
void bm8_putc (u16 *dst, int c, u8 clrid)
 Write character c to (x, y) in color clr in mode 5.
 
void bm8_puts (u16 *dst, const char *str, u8 clrid)
 Write character c to (x, y) in color clr in mode 5.
 

Detailed Description