From 90d3fc9f5be7bdfc789c9739db017e9e464e3943 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 21 May 2011 19:47:57 +0200 Subject: GRAPHICS: Rename some members of NewFont --- graphics/font.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'graphics/font.h') diff --git a/graphics/font.h b/graphics/font.h index f68f49175f..7a992674d2 100644 --- a/graphics/font.h +++ b/graphics/font.h @@ -157,15 +157,15 @@ struct NewFontData; class NewFont : public Font { protected: - FontDesc desc; - NewFontData *font; + FontDesc _desc; + NewFontData *_font; public: - NewFont(const FontDesc &d, NewFontData *font_ = 0) : desc(d), font(font_) {} + NewFont(const FontDesc &desc, NewFontData *font = 0) : _desc(desc), _font(font) {} ~NewFont(); - virtual int getFontHeight() const { return desc.height; } - virtual int getMaxCharWidth() const { return desc.maxwidth; } + virtual int getFontHeight() const { return _desc.height; } + virtual int getMaxCharWidth() const { return _desc.maxwidth; } virtual int getCharWidth(byte chr) const; virtual void drawChar(Surface *dst, byte chr, int x, int y, uint32 color) const; -- cgit v1.2.3