From 821c0727d1b39ebd43a15fe1b0a680557d539365 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 17 May 2014 19:25:52 +0300 Subject: Move textchunk 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 551800bdb..7ed400ff4 100644 --- a/src/gui/fonts/font.h +++ b/src/gui/fonts/font.h @@ -81,33 +81,10 @@ class Color; class Graphics; class Image; +class TextChunk; const unsigned int CACHES_NUMBER = 256; -class TextChunk final -{ - public: - TextChunk(const std::string &text0, - const Color &color0, - const Color &color1); - - A_DELETE_COPY(TextChunk) - - ~TextChunk(); - - bool operator==(const TextChunk &chunk) const; - - void generate(TTF_Font *const font, const float alpha); - - Image *img; - std::string text; - Color color; - Color color2; - TextChunk *prev; - TextChunk *next; -}; - - class TextChunkList final { public: -- cgit v1.2.3-60-g2f50