From 858c6c4d5bb40a29550009b07f8d4b583d3f03cb Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 6 Jan 2005 22:48:42 +0000 Subject: 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 --- graphics/font.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'graphics/font.h') 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 -- cgit v1.2.3