aboutsummaryrefslogtreecommitdiff
path: root/scumm/charset.h
diff options
context:
space:
mode:
authorMax Horn2005-05-26 12:26:03 +0000
committerMax Horn2005-05-26 12:26:03 +0000
commit983d6d71b82e6e516e7103b2d6c3f462c2c8844a (patch)
tree0c7c7aba564c6faabf41e84b51ab7f0ebbb59955 /scumm/charset.h
parentc060d56cc8ef52b5ae7df43c215813d724940398 (diff)
downloadscummvm-rg350-983d6d71b82e6e516e7103b2d6c3f462c2c8844a.tar.gz
scummvm-rg350-983d6d71b82e6e516e7103b2d6c3f462c2c8844a.tar.bz2
scummvm-rg350-983d6d71b82e6e516e7103b2d6c3f462c2c8844a.zip
Added CharsetRenderer::getCharHeight()
svn-id: r18260
Diffstat (limited to 'scumm/charset.h')
-rw-r--r--scumm/charset.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/charset.h b/scumm/charset.h
index 04650ab86f..c231f0c29c 100644
--- a/scumm/charset.h
+++ b/scumm/charset.h
@@ -105,6 +105,7 @@ public:
int getCurID() { return _curId; }
virtual int getFontHeight() = 0;
+ virtual int getCharHeight(byte chr) { return getFontHeight(); }
virtual int getCharWidth(byte chr) = 0;
virtual void setColor(byte color) { _color = color; translateColor(); }
@@ -192,6 +193,7 @@ public:
void setCurID(byte id);
int getFontHeight();
+ int getCharHeight(byte chr);
int getCharWidth(byte chr);
};