diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-10 12:15:03 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-10 12:15:03 +0000 |
| commit | c5e4a185887911ca743d6105700d79cb3bf64ab6 (patch) | |
| tree | d55bf70268058ba197222a7d2746bac47fdd4a05 /otk | |
| parent | 1eef416eee7b4df16a5cb1b834595e0419b102d2 (diff) | |
x() and y() should return values :)
Diffstat (limited to 'otk')
| -rw-r--r-- | otk/point.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/otk/point.hh b/otk/point.hh index 425cb218..2c6d334c 100644 --- a/otk/point.hh +++ b/otk/point.hh @@ -14,7 +14,7 @@ private: //! The x value int _x; //! The y value - int _y; + int _y; public: //! Constructs a new Point with 0,0 values @@ -25,12 +25,12 @@ public: //! Changes the x value to the new value specified void setX(int x) { _x = x; } //! Returns the x value - void x() const { return _x; } + int x() const { return _x; } //! Changes the y value to the new value specified void setY(int x) { _x = x; } //! Returns the y value - void y() const { return _x; } + int y() const { return _x; } }; } |
