aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/font.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-04-17 15:16:40 +0000
committerMartin Kiewitz2010-04-17 15:16:40 +0000
commitda2027da361109b953c0105ab9700aad3bb5e60e (patch)
treece7d12d16899e30addd592be0a43e3fedfd9eb56 /engines/sci/graphics/font.h
parent09c0e553060fd3f5a84931a9ead0610026f9d3a4 (diff)
downloadscummvm-rg350-da2027da361109b953c0105ab9700aad3bb5e60e.tar.gz
scummvm-rg350-da2027da361109b953c0105ab9700aad3bb5e60e.tar.bz2
scummvm-rg350-da2027da361109b953c0105ab9700aad3bb5e60e.zip
SCI: change textedit control to cast to unsigned char to fix cursor position when multilingual chars are used. Also make getFontHeight() private inside GfxFontFromResource class, remove it in all the other classes
svn-id: r48689
Diffstat (limited to 'engines/sci/graphics/font.h')
-rw-r--r--engines/sci/graphics/font.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/graphics/font.h b/engines/sci/graphics/font.h
index c405f5a0a0..90f18e426d 100644
--- a/engines/sci/graphics/font.h
+++ b/engines/sci/graphics/font.h
@@ -39,7 +39,6 @@ public:
virtual byte getHeight() { return 0; };
virtual bool isDoubleByte(uint16 chr) { return false; };
virtual byte getCharWidth(uint16 chr) { return 0; };
- virtual byte getCharHeight(uint16 chr) { return 0; };
virtual void draw(uint16 chr, int16 top, int16 left, byte color, bool greyedOutput) {};
};
@@ -56,10 +55,10 @@ public:
GuiResourceId getResourceId();
byte getHeight();
byte getCharWidth(uint16 chr);
- byte getCharHeight(uint16 chr);
void draw(uint16 chr, int16 top, int16 left, byte color, bool greyedOutput);
private:
+ byte getCharHeight(uint16 chr);
byte *getCharData(uint16 chr);
ResourceManager *_resMan;