#include <user_interface.h>
Public Member Functions | |
UISlots (MADSEngine *vm) | |
void | add (const Common::Rect &bounds) |
void | add (const AnimFrameEntry &frameEntry) |
void | fullRefresh () |
void | draw (bool updateFlag, bool delFlag) |
![]() | |
Array (size_type count) | |
Array (size_type count, const UISlot &value) | |
Array (const Array< UISlot > &array) | |
Array (Array< UISlot > &&old) | |
Array (std::initializer_list< UISlot > list) | |
Array (const T2 *array, size_type n) | |
void | emplace (const_iterator pos, TArgs &&... args) |
void | emplace_back (TArgs &&...args) |
void | push_back (const UISlot &element) |
void | push_back (UISlot &&element) |
void | push_back (const Array< UISlot > &array) |
void | pop_back () |
const UISlot * | data () const |
UISlot * | data () |
UISlot & | front () |
const UISlot & | front () const |
UISlot & | back () |
const UISlot & | back () const |
void | insert_at (size_type idx, const UISlot &element) |
void | insert_at (size_type idx, const Array< UISlot > &array) |
void | insert (iterator pos, const UISlot &element) |
UISlot | remove_at (size_type idx) |
UISlot & | operator[] (size_type idx) |
const UISlot & | operator[] (size_type idx) const |
Array< UISlot > & | operator= (const Array< UISlot > &array) |
Array & | operator= (Array< UISlot > &&old) |
size_type | size () const |
void | clear () |
iterator | erase (iterator pos) |
iterator | erase (iterator first, iterator last) |
bool | empty () const |
bool | operator== (const Array< UISlot > &other) const |
bool | operator!= (const Array< UISlot > &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 UISlot value) |
void | assign (const_iterator first, const_iterator last) |
void | swap (Array &arr) |
Additional Inherited Members | |
![]() | |
typedef UISlot * | iterator |
typedef const UISlot * | const_iterator |
typedef UISlot | value_type |
typedef uint | size_type |
![]() | |
void | allocCapacity (size_type capacity) |
void | freeStorage (UISlot *storage, const size_type elements) |
iterator | insert_aux (iterator pos, const_iterator first, const_iterator last) |
![]() | |
static size_type | roundUpCapacity (size_type capacity) |
![]() | |
size_type | _capacity |
size_type | _size |
UISlot * | _storage |
Sprite list for the user interface
|
inline |
Constructor
void MADS::UISlots::add | ( | const Common::Rect & | bounds | ) |
Add an overprint (text) entry to the list
void MADS::UISlots::add | ( | const AnimFrameEntry & | frameEntry | ) |
Loads the data from an aimation frame entry
void MADS::UISlots::fullRefresh | ( | ) |
Adds a special entry for full refresh of the user interface
void MADS::UISlots::draw | ( | bool | updateFlag, |
bool | delFlag | ||
) |
Draw all the sprites in the list on the user interface.
updateFlag | Flag drawn areas to be updated on physical screen |
delFlag | Controls how used slots are deleted after drawing |