Made getWidth and getHeight const.

This commit is contained in:
Robert Osfield
2003-11-07 09:00:22 +00:00
parent d3251dc9d8
commit 8bbbd1fc70
2 changed files with 4 additions and 4 deletions

View File

@@ -122,12 +122,12 @@ void Font::setSize(unsigned int width, unsigned int height)
if (_implementation.valid()) _implementation->setSize(width, height);
}
unsigned int Font::getWidth()
unsigned int Font::getWidth() const
{
return _width;
}
unsigned int Font::getHeight()
unsigned int Font::getHeight() const
{
return _height;
}