summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-24 14:01:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-24 21:18:57 +0300
commit0a8b5d325f2d2c326b6da27399711b198417a499 (patch)
tree9e89aa7610f3f74ef9df53f6afce6655fc95ab07 /src/gui/widgets/widget.h
parent779b65f15d3350b2d95a095e24a90526c64dcecb (diff)
downloadmv-0a8b5d325f2d2c326b6da27399711b198417a499.tar.gz
mv-0a8b5d325f2d2c326b6da27399711b198417a499.tar.bz2
mv-0a8b5d325f2d2c326b6da27399711b198417a499.tar.xz
mv-0a8b5d325f2d2c326b6da27399711b198417a499.zip
Rename Rectangle into Rect.
Rename ClipRectangle into ClipRect.
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r--src/gui/widgets/widget.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h
index 08f1456b0..e05844e4c 100644
--- a/src/gui/widgets/widget.h
+++ b/src/gui/widgets/widget.h
@@ -69,7 +69,7 @@
#include <string>
#include "gui/color.h"
-#include "gui/rectangle.h"
+#include "gui/rect.h"
#include "gui/widgets/widget2.h"
@@ -313,7 +313,7 @@ class Widget : public Widget2
* @see getDimension, setX, getX, setY, getY, setPosition
* @since 0.1.0
*/
- void setDimension(const Rectangle& dimension);
+ void setDimension(const Rect& dimension);
/**
* Gets the dimension of the widget. The dimension is
@@ -323,7 +323,7 @@ class Widget : public Widget2
* @see getDimension, setX, getX, setY, getY, setPosition
* @since 0.1.0
*/
- const Rectangle& getDimension() const A_WARN_UNUSED;
+ const Rect& getDimension() const A_WARN_UNUSED;
/**
* Sets the widget to be fosusable, or not.
@@ -888,7 +888,7 @@ class Widget : public Widget2
* @see BasicContainer::drawChildren
* @since 0.1.0
*/
- virtual Rectangle getChildrenArea() A_WARN_UNUSED;
+ virtual Rect getChildrenArea() A_WARN_UNUSED;
/**
* Gets the internal focus handler used.
@@ -960,7 +960,7 @@ class Widget : public Widget2
* @since 0.1.0
*/
virtual void showWidgetPart(Widget* widget A_UNUSED,
- Rectangle area A_UNUSED)
+ Rect area A_UNUSED)
{ }
/**
@@ -997,7 +997,7 @@ class Widget : public Widget2
* @param rectangle The rectangle to be shown.
* @since 0.8.0
*/
- virtual void showPart(Rectangle rectangle);
+ virtual void showPart(Rect rectangle);
protected:
/**
@@ -1165,7 +1165,7 @@ class Widget : public Widget2
/**
* Holds the dimension of the widget.
*/
- Rectangle mDimension;
+ Rect mDimension;
/**
* Holds the frame size of the widget.