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

Public Member Functions

bool init (const Common::Path &bmp_filename, bool dual_fontmap=false)
 
uint16 getCharWidth (uint8 c) override
 
uint16 getCharHeight () override
 
uint16 drawChar (Screen *screen, uint8 char_num, uint16 x, uint16 y, uint8 color) override
 
uint16 getStringWidth (const char *str, uint16 string_len) 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)
 
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: