diff options
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 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: |