summaryrefslogtreecommitdiff
path: root/src/gui/rect.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-03 18:32:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-03 19:35:08 +0300
commit6e09393c9d4a2f36c582ff97c0f5d5263757cbcc (patch)
tree4a183d5255462594bca9888f4f598800f6125805 /src/gui/rect.h
parent829c8fb2476f763f0d0a1f4ca792073eb953814e (diff)
downloadmanaverse-6e09393c9d4a2f36c582ff97c0f5d5263757cbcc.tar.gz
manaverse-6e09393c9d4a2f36c582ff97c0f5d5263757cbcc.tar.bz2
manaverse-6e09393c9d4a2f36c582ff97c0f5d5263757cbcc.tar.xz
manaverse-6e09393c9d4a2f36c582ff97c0f5d5263757cbcc.zip
Fix some doxygen issues.
Diffstat (limited to 'src/gui/rect.h')
-rw-r--r--src/gui/rect.h26
1 files changed, 10 insertions, 16 deletions
diff --git a/src/gui/rect.h b/src/gui/rect.h
index 75f6fffc6..994886e92 100644
--- a/src/gui/rect.h
+++ b/src/gui/rect.h
@@ -68,8 +68,6 @@
/**
* Represents a rectangle.
- *
- * @since 0.1.0
*/
class Rect notfinal
{
@@ -89,11 +87,10 @@ class Rect notfinal
/**
* Constructor.
*
- * @param x The x coordinate of the rectangle.
- * @param y The y coordinate of the rectangle.
- * @param width The width of the rectangle.
- * @param height The height of the rectangle.
- * @since 0.1.0
+ * @param x_ The x coordinate of the rectangle.
+ * @param y_ The y coordinate of the rectangle.
+ * @param width_ The width of the rectangle.
+ * @param height_ The height of the rectangle.
*/
constexpr Rect(const int x_,
const int y_,
@@ -129,11 +126,10 @@ class Rect notfinal
/**
* Sets the dimension of a rectangle.
*
- * @param x The x coordinate of the rectangle.
- * @param y The y coordinate of the rectangle.
- * @param width The width of the rectangle.
- * @param height The height of the rectangle.
- * @since 0.1.0
+ * @param x0 The x coordinate of the rectangle.
+ * @param y0 The y coordinate of the rectangle.
+ * @param width0 The width of the rectangle.
+ * @param height0 The height of the rectangle.
*/
void setAll(const int x0,
const int y0,
@@ -151,7 +147,6 @@ class Rect notfinal
*
* @param rectangle Another rectangle to check for intersection.
* @return True if the rectangles intersect, false otherwise.
- * @since 0.1.0
*/
bool isIntersecting(const Rect& rectangle) const A_WARN_UNUSED
{
@@ -192,10 +187,9 @@ class Rect notfinal
/**
* Checks if a point is inside the rectangle
*
- * @param x The x coordinate of the point.
- * @param y The y coordinate of the point.
+ * @param x_ The x coordinate of the point.
+ * @param y_ The y coordinate of the point.
* @return True if the point is inside the rectangle.
- * @since 0.1.0
*/
bool isPointInRect(const int x_,
const int y_) const A_WARN_UNUSED