aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction_ns.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-07-02 01:41:08 +0000
committerNicola Mettifogo2008-07-02 01:41:08 +0000
commit77a60673ef970ec32fc2e4db09aa5ac534481c8d (patch)
tree59daad1f93637db2644f75c6481c003873e6bb7b /engines/parallaction/parallaction_ns.cpp
parent6dc312b9e1ffbfc92452ebdeee8f3f703f07f7fa (diff)
downloadscummvm-rg350-77a60673ef970ec32fc2e4db09aa5ac534481c8d.tar.gz
scummvm-rg350-77a60673ef970ec32fc2e4db09aa5ac534481c8d.tar.bz2
scummvm-rg350-77a60673ef970ec32fc2e4db09aa5ac534481c8d.zip
- Changed labels to be GfxObj's, thus removing the Label object altogether.
- Changed Item's to be almost GfxObj's, since ownership and destruction of underlying resource is an issue here (got to think some more about it). svn-id: r32873
Diffstat (limited to 'engines/parallaction/parallaction_ns.cpp')
-rw-r--r--engines/parallaction/parallaction_ns.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/parallaction_ns.cpp b/engines/parallaction/parallaction_ns.cpp
index 59b9465d0a..af848aa6af 100644
--- a/engines/parallaction/parallaction_ns.cpp
+++ b/engines/parallaction/parallaction_ns.cpp
@@ -187,7 +187,7 @@ void Parallaction_ns::setArrowCursor() {
debugC(1, kDebugInput, "setting mouse cursor to arrow");
// this stuff is needed to avoid artifacts with labels and selected items when switching cursors
- _gfx->setFloatingLabel(0);
+ _gfx->hideFloatingLabel();
_input->_activeItem._id = 0;
_system->setMouseCursor(_mouseArrow, MOUSEARROW_WIDTH, MOUSEARROW_HEIGHT, 0, 0, 0);
@@ -298,7 +298,7 @@ void Parallaction_ns::changeLocation(char *location) {
_soundMan->playLocationMusic(location);
- _gfx->setFloatingLabel(0);
+ _gfx->hideFloatingLabel();
_gfx->freeLabels();
_input->stopHovering();