diff options
author | Nicola Mettifogo | 2008-07-02 01:41:08 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-07-02 01:41:08 +0000 |
commit | 77a60673ef970ec32fc2e4db09aa5ac534481c8d (patch) | |
tree | 59daad1f93637db2644f75c6481c003873e6bb7b /engines/parallaction/parallaction.cpp | |
parent | 6dc312b9e1ffbfc92452ebdeee8f3f703f07f7fa (diff) | |
download | scummvm-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.cpp')
-rw-r--r-- | engines/parallaction/parallaction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp index 4f586961a6..5f5cfdb820 100644 --- a/engines/parallaction/parallaction.cpp +++ b/engines/parallaction/parallaction.cpp @@ -290,12 +290,12 @@ void Parallaction::processInput(InputData *data) { switch (data->_event) { case kEvEnterZone: debugC(2, kDebugInput, "processInput: kEvEnterZone"); - _gfx->setFloatingLabel(data->_label); + _gfx->showFloatingLabel(data->_label); break; case kEvExitZone: debugC(2, kDebugInput, "processInput: kEvExitZone"); - _gfx->setFloatingLabel(0); + _gfx->hideFloatingLabel(); break; case kEvAction: @@ -308,7 +308,7 @@ void Parallaction::processInput(InputData *data) { case kEvOpenInventory: _input->stopHovering(); - _gfx->setFloatingLabel(0); + _gfx->hideFloatingLabel(); if (hitZone(kZoneYou, data->_mousePos.x, data->_mousePos.y) == 0) { setArrowCursor(); } |