summaryrefslogtreecommitdiff
path: root/src/guichan
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan')
-rw-r--r--src/guichan/graphics.cpp3
-rw-r--r--src/guichan/include/guichan/graphics.hpp7
2 files changed, 1 insertions, 9 deletions
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.