diff options
author | Max Horn | 2005-01-06 22:48:42 +0000 |
---|---|---|
committer | Max Horn | 2005-01-06 22:48:42 +0000 |
commit | 858c6c4d5bb40a29550009b07f8d4b583d3f03cb (patch) | |
tree | 34d59d4b04392c72a73bae02d35681abcf2a4901 /graphics/font.h | |
parent | a9d0472758f4fb43edc0ea6602f59ef7f8075ec5 (diff) | |
download | scummvm-rg350-858c6c4d5bb40a29550009b07f8d4b583d3f03cb.tar.gz scummvm-rg350-858c6c4d5bb40a29550009b07f8d4b583d3f03cb.tar.bz2 scummvm-rg350-858c6c4d5bb40a29550009b07f8d4b583d3f03cb.zip |
Switching GUI to an alternate font; using a second, bigger, font for 640x480 games like COMI. Note: we can always easily switch back to the SCUMM font or any other font, if we want to
svn-id: r16467
Diffstat (limited to 'graphics/font.h')
-rw-r--r-- | graphics/font.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/font.h b/graphics/font.h index 4bacda5dde..134ba8bb48 100644 --- a/graphics/font.h +++ b/graphics/font.h @@ -52,9 +52,9 @@ public: virtual int getMaxCharWidth() const = 0; virtual int getCharWidth(byte chr) const = 0; - virtual void drawChar(const Surface *dst, byte chr, int x, int y, uint32 color, int scaleFactor = 1) const = 0; + virtual void drawChar(const Surface *dst, byte chr, int x, int y, uint32 color) const = 0; - void drawString(const Surface *dst, const Common::String &str, int x, int y, int w, uint32 color, TextAlignment align = kTextAlignLeft, int deltax = 0, bool useEllipsis = true, int scaleFactor = 1) const; + void drawString(const Surface *dst, const Common::String &str, int x, int y, int w, uint32 color, TextAlignment align = kTextAlignLeft, int deltax = 0, bool useEllipsis = true) const; int getStringWidth(const Common::String &str) const; }; @@ -65,7 +65,7 @@ public: virtual int getMaxCharWidth() const { return 8; }; virtual int getCharWidth(byte chr) const; - virtual void drawChar(const Surface *dst, byte chr, int x, int y, uint32 color, int scaleFactor) const; + virtual void drawChar(const Surface *dst, byte chr, int x, int y, uint32 color) const; }; @@ -99,7 +99,7 @@ public: virtual int getMaxCharWidth() const { return desc.maxwidth; }; virtual int getCharWidth(byte chr) const; - virtual void drawChar(const Surface *dst, byte chr, int x, int y, uint32 color, int scaleFactor) const; + virtual void drawChar(const Surface *dst, byte chr, int x, int y, uint32 color) const; }; } // End of namespace Graphics |