summaryrefslogtreecommitdiff
path: root/src/gui/rect.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-20 00:58:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-20 00:58:11 +0300
commit81bd7930164b79a841b03e4a8a1937e5aeb3ab54 (patch)
tree8985bccb7c439001cbb1402a449a45f315805421 /src/gui/rect.h
parent55829fa86de2dbf8935fcb55195f1c5dd4a8b5bb (diff)
downloadplus-81bd7930164b79a841b03e4a8a1937e5aeb3ab54.tar.gz
plus-81bd7930164b79a841b03e4a8a1937e5aeb3ab54.tar.bz2
plus-81bd7930164b79a841b03e4a8a1937e5aeb3ab54.tar.xz
plus-81bd7930164b79a841b03e4a8a1937e5aeb3ab54.zip
Improve rect.
Diffstat (limited to 'src/gui/rect.h')
-rw-r--r--src/gui/rect.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gui/rect.h b/src/gui/rect.h
index 69c0120ca..8b570a9f7 100644
--- a/src/gui/rect.h
+++ b/src/gui/rect.h
@@ -127,16 +127,7 @@ class Rect
* @return True if the point is inside the rectangle.
* @since 0.1.0
*/
- bool isPointInRect(int x, int y) const A_WARN_UNUSED;
-
- /**
- * Output operator for output.
- *
- * @param out The stream to output to.
- * @param rectangle The rectangle to output.
- */
- friend std::ostream& operator<<(std::ostream& out,
- const Rect& rectangle);
+ bool isPointInRect(const int x, const int y) const A_WARN_UNUSED;
/**
* Holds the x coordinate of the rectangle.