summaryrefslogtreecommitdiff
path: root/src/gui/fonts/font.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-17 19:25:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-17 19:25:52 +0300
commit821c0727d1b39ebd43a15fe1b0a680557d539365 (patch)
treec97175e5db65967c69e5cf68adffcc6f58c71a43 /src/gui/fonts/font.h
parenta3eae284bfdb06ea5501230705f19e75e6a0173d (diff)
downloadplus-821c0727d1b39ebd43a15fe1b0a680557d539365.tar.gz
plus-821c0727d1b39ebd43a15fe1b0a680557d539365.tar.bz2
plus-821c0727d1b39ebd43a15fe1b0a680557d539365.tar.xz
plus-821c0727d1b39ebd43a15fe1b0a680557d539365.zip
Move textchunk into separate file.
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 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: