ScummVM API documentation
Ultima::Nuvie::ConvFont Class Reference
Inheritance diagram for Ultima::Nuvie::ConvFont:
Ultima::Nuvie::Font

Public Member Functions

bool init (unsigned char *data, uint8 *width_data, uint16 num_chars, uint16 char_offset)
 
uint16 getCharWidth (uint8 c) override
 
uint16 getCharHeight () override
 
uint16 drawChar (Screen *screen, uint8 char_num, uint16 x, uint16 y, uint8 color) override
 
- Public Member Functions inherited from Ultima::Nuvie::Font
uint8 getDefaultColor ()
 
void setDefaultColor (uint8 color)
 
void setDefaultHighlightColor (uint8 color)
 
uint16 drawString (Screen *screen, const char *str, uint16 x, uint16 y)
 
uint16 drawString (Screen *screen, const char *str, uint16 x, uint16 y, uint8 color, uint8 highlight_color)
 
uint16 drawString (Screen *screen, const char *str, uint16 string_len, uint16 x, uint16 y, uint8 color, uint8 highlight_color)
 
uint16 drawChar (Screen *screen, uint8 char_num, uint16 x, uint16 y)
 
uint16 drawStringToShape (U6Shape *shp, const char *str, uint16 x, uint16 y, uint8 color)
 
uint8 drawCharToShape (U6Shape *shp, uint8 char_num, uint16 x, uint16 y, uint8 color)
 
uint16 getStringWidth (const char *str)
 
virtual uint16 getStringWidth (const char *str, uint16 string_len)
 
void setOffset (uint16 off)
 

Additional Inherited Members

- Protected Member Functions inherited from Ultima::Nuvie::Font
uint8 get_char_num (uint8 c)
 
- Protected Attributes inherited from Ultima::Nuvie::Font
uint16 num_chars
 
uint16 offset
 
uint8 default_color
 
uint8 default_highlight_color
 

The documentation for this class was generated from the following file: