diff options
-rw-r--r-- | engines/draci/sprite.cpp | 4 | ||||
-rw-r--r-- | engines/draci/sprite.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/engines/draci/sprite.cpp b/engines/draci/sprite.cpp index afabdf96ce..7456e28159 100644 --- a/engines/draci/sprite.cpp +++ b/engines/draci/sprite.cpp @@ -171,6 +171,10 @@ void Text::setColour(byte fontColour) { _colour = fontColour; } +void Text::setSpacing(uint spacing) { + _spacing = spacing; +} + void Text::draw(Surface *surface) const { _font->setColour(_colour); _font->drawString(surface, _text, _length, _x, _y, _spacing); diff --git a/engines/draci/sprite.h b/engines/draci/sprite.h index d92cf7848f..490bf39211 100644 --- a/engines/draci/sprite.h +++ b/engines/draci/sprite.h @@ -100,6 +100,7 @@ public: void setText(const Common::String &str); void setColour(byte fontColour); + void setSpacing(uint spacing); void draw(Surface *surface) const; |