From cdc721a1c6c5cf80736101352161b66ea3f90c50 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 27 Dec 2012 16:48:32 +0300 Subject: Remove set font from graphics object. --- src/guichan/graphics.cpp | 3 +-- src/guichan/include/guichan/graphics.hpp | 7 ------- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'src/guichan') diff --git a/src/guichan/graphics.cpp b/src/guichan/graphics.cpp index ce8ef5f18..94c08a77a 100644 --- a/src/guichan/graphics.cpp +++ b/src/guichan/graphics.cpp @@ -147,12 +147,11 @@ namespace gcn { } +/* void Graphics::setFont(Font* font) { - mFont = font; } -/* void Graphics::drawText(const std::string& text, int x, int y, Alignment alignment) { diff --git a/src/guichan/include/guichan/graphics.hpp b/src/guichan/include/guichan/graphics.hpp index d8d8cdf15..be01edb4c 100644 --- a/src/guichan/include/guichan/graphics.hpp +++ b/src/guichan/include/guichan/graphics.hpp @@ -260,13 +260,6 @@ namespace gcn */ virtual const Color& getColor() const = 0; - /** - * Sets the font to use when drawing text. - * - * @param font The font to use when drawing. - */ - virtual void setFont(Font* font); - protected: /** * Holds the clip area stack. -- cgit v1.2.3-60-g2f50