Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9240 in orxonox.OLD for trunk/src/lib/gui/gl/glgui_handler.cc


Ignore:
Timestamp:
Jul 6, 2006, 12:25:44 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: better signal handler.
patched by chrigi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl/glgui_handler.cc

    r9235 r9240  
    268268
    269269
    270   Vector2D GLGuiHandler::cursorPositionOverFocusedWidget() const
    271   {
    272     return (this->_cursor != NULL) ? this->_cursor->getAbsCoor2D() : Vector2D(0,0);
     270  const Vector2D& GLGuiHandler::cursorPositionOverFocusedWidget() const
     271  {
     272    return (this->_cursor != NULL) ? this->_cursor->getAbsCoor2D() : Vector2D::nullVector();
    273273  }
    274274
Note: See TracChangeset for help on using the changeset viewer.