ScummVM API documentation
Gob::TXTFile Class Reference
Inheritance diagram for Gob::TXTFile:
Gob::BackBuffer

Classes

struct  Line
 

Public Types

enum  Format { kFormatString, kFormatStringPosition, kFormatStringPositionColor, kFormatStringPositionColorFont }
 
typedef Common::Array< LineLineArray
 

Public Member Functions

 TXTFile (Common::SeekableReadStream &txt, Format format)
 
LineArraygetLines ()
 
bool draw (Surface &surface, const Font *const *fonts, uint fontCount, int color=-1)
 
bool draw (uint line, Surface &surface, const Font *const *fonts, uint fontCount, int color=-1)
 
bool draw (Surface &surface, int16 &left, int16 &top, int16 &right, int16 &bottom, const Font *const *fonts, uint fontCount, int color=-1)
 
bool draw (uint line, Surface &surface, int16 &left, int16 &top, int16 &right, int16 &bottom, const Font *const *fonts, uint fontCount, int color=-1)
 
bool clear (Surface &surface, int16 &left, int16 &top, int16 &right, int16 &bottom)
 

Additional Inherited Members

- Protected Member Functions inherited from Gob::BackBuffer
void trashBuffer ()
 
void resizeBuffer (uint16 width, uint16 height)
 
bool saveScreen (const Surface &dest, int16 &left, int16 &top, int16 &right, int16 &bottom)
 
bool restoreScreen (Surface &dest, int16 &left, int16 &top, int16 &right, int16 &bottom)
 
bool hasBuffer () const
 
bool hasSavedBackground () const
 

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