summaryrefslogtreecommitdiff
path: root/src/gui/fonts/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/fonts/font.h')
-rw-r--r--src/gui/fonts/font.h25
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.
*