From 8035bc3225899800c239689c32503542f97dd19d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 17 May 2014 19:46:24 +0300 Subject: Move textchunklist into separate file. --- src/gui/fonts/font.h | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'src/gui/fonts/font.h') 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 @@ -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 search; - std::map searchWidth; -}; - /** * A wrapper around SDL_ttf for allowing the use of TrueType fonts. * -- cgit v1.2.3-70-g09d2