ScummVM API documentation
Video::Subtitles Class Reference

Public Member Functions

void loadSRTFile (const Common::Path &fname)
 
void close ()
 
void setFont (const char *fontname, int height=18)
 
void setBBox (const Common::Rect bbox)
 
void setColor (byte r, byte g, byte b)
 
void setPadding (uint16 horizontal, uint16 vertical)
 
bool drawSubtitle (uint32 timestamp, bool force=false) const
 
bool isLoaded () const
 

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