Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7925 in orxonox.OLD for branches/gui/src/lib/math/rect2D.h


Ignore:
Timestamp:
May 28, 2006, 5:56:17 PM (18 years ago)
Author:
bensch
Message:

gui: removed the grab-event, and using Rect now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/math/rect2D.h

    r7919 r7925  
    8383  inline void setRight(float right) { _bottomRight.x = right; };
    8484  /** @param topLeft the top left corner of the Rectangle */
    85   void setTopLeft(const Vector2D& topLeft) { _topLeft = topLeft; };
     85  inline void setTopLeft(const Vector2D& topLeft) { _topLeft = topLeft; };
     86  /** @param x the left border of the Rectangle @param y the top border */
     87  inline void setTopLeft(float x, float y) { this->setTopLeft(Vector2D(x,y)); };
    8688  /** @param bottomRight the lower right corner of the Rectangle */
    87   void setBottomRight(const Vector2D& bottomRight) { _bottomRight = bottomRight; };
     89  inline void setBottomRight(const Vector2D& bottomRight) { _bottomRight = bottomRight; };
     90  /** @param x the right border of the Rectangle @param y the bottom border */
     91  inline void setBottomRight(float x, float y) { this->setBottomRight(Vector2D(x,y)); };
    8892
    8993  void setWidth(float width);
Note: See TracChangeset for help on using the changeset viewer.