aboutsummaryrefslogtreecommitdiff
path: root/graphics/font.h
diff options
context:
space:
mode:
authorThierry Crozat2011-05-22 15:15:15 +0100
committerThierry Crozat2011-06-06 23:20:08 +0100
commit592cca5402f9162fc70b48f40b95faec44341bd0 (patch)
tree3c4f654a16552f74faabb3de8466250ca1ed1170 /graphics/font.h
parent72080d8972169879416f64a432f4b666207af3f9 (diff)
downloadscummvm-rg350-592cca5402f9162fc70b48f40b95faec44341bd0.tar.gz
scummvm-rg350-592cca5402f9162fc70b48f40b95faec44341bd0.tar.bz2
scummvm-rg350-592cca5402f9162fc70b48f40b95faec44341bd0.zip
GRAPHICS: Get rid of kSODFont (ScummFont)
OSD is now using the kGUIFont instead. The main advantage is that the kGUIFont can be used for translated text while only ASCII characters were present in ScummFont.
Diffstat (limited to 'graphics/font.h')
-rw-r--r--graphics/font.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/graphics/font.h b/graphics/font.h
index 7a992674d2..dc75f86e1f 100644
--- a/graphics/font.h
+++ b/graphics/font.h
@@ -114,18 +114,6 @@ public:
int wordWrapText(const Common::String &str, int maxWidth, Common::Array<Common::String> &lines) const;
};
-/**
- * A SCUMM style font.
- */
-class ScummFont : public Font {
-public:
- virtual int getFontHeight() const { return 8; }
- virtual int getMaxCharWidth() const { return 8; }
-
- virtual int getCharWidth(byte chr) const;
- virtual void drawChar(Surface *dst, byte chr, int x, int y, uint32 color) const;
-};
-
typedef uint16 bitmap_t; /* bitmap image unit size*/
struct BBX {