~brandontschaefer/nux/xim-tests

« back to all changes in this revision

Viewing changes to NuxCore/Rect.h

  • Committer: Brandon Schaefer
  • Date: 2012-11-23 23:55:02 UTC
  • mfrom: (637.2.81 trunk)
  • Revision ID: brandon.schaefer@canonical.com-20121123235502-zzihr6cw42ajqllg
* Merged trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
      return Point (x + width / 2, y + height / 2);
69
69
    }
70
70
    //! Returns a Point at the center of the Rectangle.
71
 
    Point GetPosition()
 
71
    Point GetPosition() const
72
72
    {
73
73
      return Point (x, y);
74
74
    }