diff options
Diffstat (limited to 'engines/draci/sprite.h')
-rw-r--r-- | engines/draci/sprite.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/draci/sprite.h b/engines/draci/sprite.h index e59149de42..0488043c7e 100644 --- a/engines/draci/sprite.h +++ b/engines/draci/sprite.h @@ -121,14 +121,14 @@ private: class Text : public Drawable { public: - Text(const Common::String &str, Font *font, byte fontColour, + Text(const Common::String &str, const Font *font, byte fontColour, int x, int y, uint spacing = 0); ~Text() {}; void setText(const Common::String &str); void setColour(byte fontColour); void setSpacing(uint spacing); - void setFont(Font *font); + void setFont(const Font *font); uint getLength() const; @@ -147,7 +147,7 @@ private: uint _length; uint8 _colour; uint _spacing; - Font *_font; + const Font *_font; }; } // End of namespace Draci |