ManaPlus
|
#include <textchunklist.h>
Public Member Functions | |
TextChunkList () | |
void | insertFirst (TextChunk *const item) |
void | moveToFirst (TextChunk *const item) |
void | remove (const TextChunk *const item) |
void | removeBack () |
void | removeBack (int n) |
void | clear () |
Data Fields | |
TextChunk * | start |
TextChunk * | end |
uint32_t | size |
std::map< TextChunkSmall, TextChunk * > | search |
std::map< std::string, TextChunk * > | searchWidth |
Definition at line 33 of file textchunklist.h.
TextChunkList::TextChunkList | ( | ) |
Definition at line 28 of file textchunklist.cpp.
void TextChunkList::clear | ( | ) |
Definition at line 140 of file textchunklist.cpp.
References end, restrict, search, searchWidth, size, and start.
void TextChunkList::insertFirst | ( | TextChunk *const | item | ) |
Definition at line 37 of file textchunklist.cpp.
References end, TextChunk::next, TextChunk::prev, restrict, search, searchWidth, size, and start.
Referenced by Font::drawString(), and Font::insertChunk().
void TextChunkList::moveToFirst | ( | TextChunk *const | item | ) |
Definition at line 53 of file textchunklist.cpp.
References end, TextChunk::next, TextChunk::prev, restrict, and start.
Referenced by Font::drawString(), Font::generate(), and Font::getWidth().
void TextChunkList::remove | ( | const TextChunk *const | item | ) |
Definition at line 74 of file textchunklist.cpp.
References end, TextChunk::prev, restrict, search, searchWidth, size, and start.
Referenced by Font::generate().
void TextChunkList::removeBack | ( | ) |
Definition at line 96 of file textchunklist.cpp.
References end, TextChunk::next, TextChunk::prev, restrict, search, searchWidth, size, and start.
Referenced by Font::doClean(), Font::drawString(), and Font::generate().
void TextChunkList::removeBack | ( | int | n | ) |
Definition at line 114 of file textchunklist.cpp.
References TextChunk::color, TextChunk::color2, end, TextChunk::prev, restrict, search, searchWidth, size, start, and TextChunk::text.
TextChunk* TextChunkList::end |
Definition at line 55 of file textchunklist.h.
Referenced by clear(), insertFirst(), moveToFirst(), remove(), and removeBack().
std::map<TextChunkSmall, TextChunk*> TextChunkList::search |
Definition at line 57 of file textchunklist.h.
Referenced by clear(), Font::drawString(), Font::generate(), Font::insertChunk(), insertFirst(), remove(), and removeBack().
std::map<std::string, TextChunk*> TextChunkList::searchWidth |
Definition at line 58 of file textchunklist.h.
Referenced by clear(), Font::getWidth(), insertFirst(), remove(), and removeBack().
uint32_t TextChunkList::size |
Definition at line 56 of file textchunklist.h.
Referenced by clear(), Font::doClean(), Font::drawString(), Font::generate(), insertFirst(), remove(), and removeBack().
TextChunk* TextChunkList::start |
Definition at line 54 of file textchunklist.h.
Referenced by clear(), insertFirst(), moveToFirst(), remove(), and removeBack().