aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/sprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci/sprite.h')
-rw-r--r--engines/draci/sprite.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/draci/sprite.h b/engines/draci/sprite.h
index c9591514e3..68f823512a 100644
--- a/engines/draci/sprite.h
+++ b/engines/draci/sprite.h
@@ -27,6 +27,7 @@
#define DRACI_SPRITE_H
#include "draci/surface.h"
+#include "draci/font.h"
namespace Draci {
@@ -70,7 +71,21 @@ public:
byte *_data; //!< Pointer to a buffer containing raw sprite data (row-wise)
};
+class Text : public Drawable {
+public:
+ Text(const Common::String &str, Font *font, byte fontColour, uint spacing = 0);
+ ~Text();
+
+ void draw(Surface *surface) const;
+
+ byte *_text;
+ uint _length;
+ uint8 _colour;
+ uint _spacing;
+ Font *_font;
+};
+
} // End of namespace Draci
#endif // DRACI_SPRITE_H