diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-17 19:46:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-17 19:46:24 +0300 |
commit | 8035bc3225899800c239689c32503542f97dd19d (patch) | |
tree | 0723d957c6eff434a4bb23ffdbc1cfbfce9e43ee /src/gui/fonts/font.h | |
parent | 821c0727d1b39ebd43a15fe1b0a680557d539365 (diff) | |
download | manaplus-8035bc3225899800c239689c32503542f97dd19d.tar.gz manaplus-8035bc3225899800c239689c32503542f97dd19d.tar.bz2 manaplus-8035bc3225899800c239689c32503542f97dd19d.tar.xz manaplus-8035bc3225899800c239689c32503542f97dd19d.zip |
Move textchunklist into separate file.
Diffstat (limited to 'src/gui/fonts/font.h')
-rw-r--r-- | src/gui/fonts/font.h | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/src/gui/fonts/font.h b/src/gui/fonts/font.h index 7ed400ff4..6e933f7e1 100644 --- a/src/gui/fonts/font.h +++ b/src/gui/fonts/font.h @@ -69,6 +69,7 @@ #include "gui/color.h" +#include "gui/fonts/textchunklist.h" #include "gui/fonts/textchunksmall.h" #include <SDL_ttf.h> @@ -85,30 +86,6 @@ class TextChunk; const unsigned int CACHES_NUMBER = 256; -class TextChunkList final -{ - public: - TextChunkList(); - - A_DELETE_COPY(TextChunkList) - - void insertFirst(TextChunk *const item); - - void moveToFirst(TextChunk *const item); - - void removeBack(); - - void removeBack(int n); - - void clear(); - - TextChunk *start; - TextChunk *end; - uint32_t size; - std::map<TextChunkSmall, TextChunk*> search; - std::map<std::string, TextChunk*> searchWidth; -}; - /** * A wrapper around SDL_ttf for allowing the use of TrueType fonts. * |