aboutsummaryrefslogtreecommitdiff
path: root/engines/made/resource.h
diff options
context:
space:
mode:
authorBenjamin Haisch2008-04-28 10:56:21 +0000
committerBenjamin Haisch2008-04-28 10:56:21 +0000
commitfc6fe46951f999d7fc14bf4bedcce7bfe728a77d (patch)
tree3d373e2c69567fd77dc61702857711ecea98bbff /engines/made/resource.h
parent6d3a7e4f6b90b4e24119af735b976031a6c9c7e7 (diff)
downloadscummvm-rg350-fc6fe46951f999d7fc14bf4bedcce7bfe728a77d.tar.gz
scummvm-rg350-fc6fe46951f999d7fc14bf4bedcce7bfe728a77d.tar.bz2
scummvm-rg350-fc6fe46951f999d7fc14bf4bedcce7bfe728a77d.zip
Implemented text drawing and cleanup.
svn-id: r31756
Diffstat (limited to 'engines/made/resource.h')
-rw-r--r--engines/made/resource.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/made/resource.h b/engines/made/resource.h
index 93c57818bd..e2ddd228e5 100644
--- a/engines/made/resource.h
+++ b/engines/made/resource.h
@@ -118,12 +118,13 @@ public:
~FontResource();
void load(byte *source, int size);
int getHeight() const;
- int getCharWidth(char c) const;
- byte *getChar(char c) const;
+ int getCharWidth(uint c) const;
+ int getTextWidth(const char *text);
+ byte *getChar(uint c) const;
protected:
byte *_data;
int _size;
- byte *getCharData(char c) const;
+ byte *getCharData(uint c) const;
};
class XmidiResource : public Resource {