summaryrefslogtreecommitdiff
path: root/src/gui/rect.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-30 00:07:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-30 00:07:54 +0300
commita93d1e06f928f6e4e1c7f3c58ddb7ae3676c1c63 (patch)
tree2d85d112997176e9ab765e638b0e7f2e16677b83 /src/gui/rect.h
parent5c83a96b8ad85ad0562542b9720a0df6c5fb550c (diff)
parent8983700f6c8cc6496626ed3af235e1ec31fe5501 (diff)
downloadplus-a93d1e06f928f6e4e1c7f3c58ddb7ae3676c1c63.tar.gz
plus-a93d1e06f928f6e4e1c7f3c58ddb7ae3676c1c63.tar.bz2
plus-a93d1e06f928f6e4e1c7f3c58ddb7ae3676c1c63.tar.xz
plus-a93d1e06f928f6e4e1c7f3c58ddb7ae3676c1c63.zip
Merge branch 'master' into stable
Diffstat (limited to 'src/gui/rect.h')
-rw-r--r--src/gui/rect.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/gui/rect.h b/src/gui/rect.h
index 69c0120ca..8aee82c9f 100644
--- a/src/gui/rect.h
+++ b/src/gui/rect.h
@@ -64,8 +64,6 @@
#ifndef GUI_RECT_H
#define GUI_RECT_H
-#include <iostream>
-
#include "localconsts.h"
/**
@@ -127,16 +125,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.