diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-27 16:48:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-27 23:15:05 +0300 |
commit | cdc721a1c6c5cf80736101352161b66ea3f90c50 (patch) | |
tree | c32e7e25fe1ad6f23efd2dc50c4eeb5431967249 /src/guichan | |
parent | cc78907ee5b2ed84760534897f88f8c1fcce957d (diff) | |
download | mv-cdc721a1c6c5cf80736101352161b66ea3f90c50.tar.gz mv-cdc721a1c6c5cf80736101352161b66ea3f90c50.tar.bz2 mv-cdc721a1c6c5cf80736101352161b66ea3f90c50.tar.xz mv-cdc721a1c6c5cf80736101352161b66ea3f90c50.zip |
Remove set font from graphics object.
Diffstat (limited to 'src/guichan')
-rw-r--r-- | src/guichan/graphics.cpp | 3 | ||||
-rw-r--r-- | src/guichan/include/guichan/graphics.hpp | 7 |
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. |