diff --git a/src/gui/Dialog.cxx b/src/gui/Dialog.cxx index 392f2b625..2ff6a4539 100644 --- a/src/gui/Dialog.cxx +++ b/src/gui/Dialog.cxx @@ -244,7 +244,7 @@ void Dialog::redraw(bool force) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void Dialog::render() { - cerr << " render " << typeid(*this).name() << endl; + //cerr << " render " << typeid(*this).name() << endl; // Update dialog surface; also render any extra surfaces // Extra surfaces must be rendered afterwards, so they are drawn on top @@ -641,8 +641,10 @@ void Dialog::handleMouseMoved(int x, int y) if (w && (w->getFlags() & Widget::FLAG_TRACK_MOUSE)) w->handleMouseMoved(x - (w->getAbsX() - _x), y - (w->getAbsY() - _y)); +#ifndef RETRON77 // Update mouse coordinates for tooltips _toolTip->update(_mouseWidget, Common::Point(x, y)); +#endif } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/gui/DialogContainer.cxx b/src/gui/DialogContainer.cxx index 0a6730773..273b713c8 100644 --- a/src/gui/DialogContainer.cxx +++ b/src/gui/DialogContainer.cxx @@ -95,11 +95,7 @@ void DialogContainer::draw(bool full) if(myDialogStack.empty()) return; - cerr << "draw " << full << " " << typeid(*this).name() << endl; - - // Make the top dialog dirty if a full redraw is requested - //if(full) - // myDialogStack.top()->setDirty(); + //cerr << "draw " << full << " " << typeid(*this).name() << endl; // Draw and render all dirty dialogs myDialogStack.applyAll([&](Dialog*& d) { @@ -123,7 +119,7 @@ void DialogContainer::render() if(myDialogStack.empty()) return; - cerr << "full re-render " << typeid(*this).name() << endl; + //cerr << "full re-render " << typeid(*this).name() << endl; // Make sure we start in a clean state (with zero'ed buffers) if(!myOSystem.eventHandler().inTIAMode()) diff --git a/src/gui/Widget.cxx b/src/gui/Widget.cxx index 1856c3f4b..e0b9a2389 100644 --- a/src/gui/Widget.cxx +++ b/src/gui/Widget.cxx @@ -75,8 +75,10 @@ void Widget::tick() { if(isEnabled()) { + #ifndef RETRON77 if(wantsToolTip()) dialog().tooltip().request(); + #endif // Recursively tick widget and all child dialogs and widgets Widget* w = _firstWidget; @@ -97,8 +99,8 @@ void Widget::draw() if(isDirty()) { - cerr << " *** draw widget " << typeid(*this).name() << " ***" << endl; - //cerr << "w"; + //cerr << " *** draw widget " << typeid(*this).name() << " ***" << endl; + cerr << "w"; FBSurface& s = _boss->dialog().surface(); int oldX = _x, oldY = _y;