diff options
author | Einar Johan Trøan Sømåen | 2013-09-30 11:12:25 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-09-30 11:12:25 +0200 |
commit | 5afb297e396fa3ad40559e552008741c6cd6ba66 (patch) | |
tree | f93699e55a7373dc14f7699cd5cd219881d80216 /engines/wintermute/ui/ui_object.cpp | |
parent | f7a9e921aee9371a9defe5acaf4a685ada76fcfb (diff) | |
download | scummvm-rg350-5afb297e396fa3ad40559e552008741c6cd6ba66.tar.gz scummvm-rg350-5afb297e396fa3ad40559e552008741c6cd6ba66.tar.bz2 scummvm-rg350-5afb297e396fa3ad40559e552008741c6cd6ba66.zip |
WINTERMUTE: Constify some getters in TransparentSurface, UIObject and UIWindow
Diffstat (limited to 'engines/wintermute/ui/ui_object.cpp')
-rw-r--r-- | engines/wintermute/ui/ui_object.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/wintermute/ui/ui_object.cpp b/engines/wintermute/ui/ui_object.cpp index 224e68add7..0962d83f8b 100644 --- a/engines/wintermute/ui/ui_object.cpp +++ b/engines/wintermute/ui/ui_object.cpp @@ -666,11 +666,11 @@ void UIObject::setHeight(int32 height) { _height = height; } -bool UIObject::isDisabled() { +bool UIObject::isDisabled() const { return _disable; } -bool UIObject::isVisible() { +bool UIObject::isVisible() const { return _visible; } @@ -682,7 +682,7 @@ void UIObject::setDisabled(bool disable) { _disable = disable; } -bool UIObject::hasSharedFonts() { +bool UIObject::hasSharedFonts() const { return _sharedFonts; } @@ -690,7 +690,7 @@ void UIObject::setSharedFonts(bool shared) { _sharedFonts = shared; } -bool UIObject::hasSharedImages() { +bool UIObject::hasSharedImages() const { return _sharedImages; } @@ -706,7 +706,7 @@ void UIObject::setImage(BaseSprite *image) { _image = image; } -bool UIObject::canFocus() { +bool UIObject::canFocus() const { return _canFocus; } @@ -714,7 +714,7 @@ void UIObject::setFont(BaseFont *font) { _font = font; } -BaseFont *UIObject::getFont() const { +BaseFont *UIObject::getFont() { return _font; } |