diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-18 20:26:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-18 21:45:18 +0300 |
commit | 031f32210799807411af4fb9a40793d4f26febe7 (patch) | |
tree | a9ad02433e05c3f004ce192f8e47572a3795fd48 /src/gui/fonts/textchunk.cpp | |
parent | fbbf87a36f5f27851a2e2d17b95a0f17dd82624b (diff) | |
download | manaplus-031f32210799807411af4fb9a40793d4f26febe7.tar.gz manaplus-031f32210799807411af4fb9a40793d4f26febe7.tar.bz2 manaplus-031f32210799807411af4fb9a40793d4f26febe7.tar.xz manaplus-031f32210799807411af4fb9a40793d4f26febe7.zip |
Add font field into textchunk class. For now unused.
Diffstat (limited to 'src/gui/fonts/textchunk.cpp')
-rw-r--r-- | src/gui/fonts/textchunk.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/fonts/textchunk.cpp b/src/gui/fonts/textchunk.cpp index 2cb7b2641..b0933a3e0 100644 --- a/src/gui/fonts/textchunk.cpp +++ b/src/gui/fonts/textchunk.cpp @@ -45,9 +45,12 @@ char *strBuf = nullptr; int textChunkCnt = 0; #endif -TextChunk::TextChunk(const std::string &text0, const Color &color0, - const Color &color1) : +TextChunk::TextChunk(const std::string &text0, + const Color &color0, + const Color &color1, + const Font *const font) : img(nullptr), + textFont(font), text(text0), color(color0), color2(color1), |