Changeset 9240 in orxonox.OLD for trunk/src/lib/gui
- Timestamp:
- Jul 6, 2006, 12:25:44 PM (18 years ago)
- Location:
- trunk/src/lib/gui/gl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl/glgui_handler.cc
r9235 r9240 268 268 269 269 270 Vector2DGLGuiHandler::cursorPositionOverFocusedWidget() const271 { 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(); 273 273 } 274 274 -
trunk/src/lib/gui/gl/glgui_handler.h
r8717 r9240 30 30 GLGuiCursor* cursor() const { return this->_cursor; } 31 31 32 Vector2DcursorPositionOverFocusedWidget() const;32 const Vector2D& cursorPositionOverFocusedWidget() const; 33 33 const Vector2D& cursorPositionAbs() const; 34 34 Vector2D cursorPositionRel(const GLGuiWidget* const widget) const;
Note: See TracChangeset
for help on using the changeset viewer.