ScummVM API documentation
MADS::TextDisplayList Class Reference
Inheritance diagram for MADS::TextDisplayList:
Common::Array< TextDisplay >

Public Member Functions

 TextDisplayList (MADSEngine *vm)
 
void expire (int idx)
 
int add (int xp, int yp, uint fontColor, int charSpacing, const Common::String &, Font *font)
 
void reset ()
 
void draw (BaseSurface *s)
 
void setDirtyAreas ()
 
void setDirtyAreas2 ()
 
void cleanUp ()
 
- Public Member Functions inherited from Common::Array< TextDisplay >
 Array (size_type count)
 
 Array (size_type count, const TextDisplay &value)
 
 Array (const Array< TextDisplay > &array)
 
 Array (Array< TextDisplay > &&old)
 
 Array (std::initializer_list< TextDisplay > list)
 
 Array (const T2 *array, size_type n)
 
void emplace (const_iterator pos, TArgs &&... args)
 
void emplace_back (TArgs &&...args)
 
void push_back (const TextDisplay &element)
 
void push_back (TextDisplay &&element)
 
void push_back (const Array< TextDisplay > &array)
 
void pop_back ()
 
const TextDisplay * data () const
 
TextDisplay * data ()
 
TextDisplay & front ()
 
const TextDisplay & front () const
 
TextDisplay & back ()
 
const TextDisplay & back () const
 
void insert_at (size_type idx, const TextDisplay &element)
 
void insert_at (size_type idx, const Array< TextDisplay > &array)
 
void insert (iterator pos, const TextDisplay &element)
 
TextDisplay remove_at (size_type idx)
 
TextDisplay & operator[] (size_type idx)
 
const TextDisplay & operator[] (size_type idx) const
 
Array< TextDisplay > & operator= (const Array< TextDisplay > &array)
 
Arrayoperator= (Array< TextDisplay > &&old)
 
size_type size () const
 
void clear ()
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
bool empty () const
 
bool operator== (const Array< TextDisplay > &other) const
 
bool operator!= (const Array< TextDisplay > &other) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void reserve (size_type newCapacity)
 
void resize (size_type newSize)
 
void resize (size_type newSize, const TextDisplay value)
 
void assign (const_iterator first, const_iterator last)
 
void swap (Array &arr)
 

Additional Inherited Members

- Public Types inherited from Common::Array< TextDisplay >
typedef TextDisplay * iterator
 
typedef const TextDisplay * const_iterator
 
typedef TextDisplay value_type
 
typedef uint size_type
 
- Protected Member Functions inherited from Common::Array< TextDisplay >
void allocCapacity (size_type capacity)
 
void freeStorage (TextDisplay *storage, const size_type elements)
 
iterator insert_aux (iterator pos, const_iterator first, const_iterator last)
 
- Static Protected Member Functions inherited from Common::Array< TextDisplay >
static size_type roundUpCapacity (size_type capacity)
 
- Protected Attributes inherited from Common::Array< TextDisplay >
size_type _capacity
 
size_type _size
 
TextDisplay * _storage
 

Member Function Documentation

◆ expire()

void MADS::TextDisplayList::expire ( int  idx)

Expire a given text display entry

◆ reset()

void MADS::TextDisplayList::reset ( )

Reset all of the text display entries in the list to inactive

◆ draw()

void MADS::TextDisplayList::draw ( BaseSurface s)

Draw any text in the list to the specified surface

Parameters
surfaceSurface

◆ setDirtyAreas()

void MADS::TextDisplayList::setDirtyAreas ( )

Determine dirty areas for active text areas

◆ setDirtyAreas2()

void MADS::TextDisplayList::setDirtyAreas2 ( )

Secondary setup dirty areas for the text areas

◆ cleanUp()

void MADS::TextDisplayList::cleanUp ( )

Deactivates any text display entries that are finished


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