Commit 720241de authored by shawke's avatar shawke

Make similar default typedefs for Point_, Size_ and Rect_

Currently, there are different default typedefs for Point_, Size_, and Rect_. This pull request at least makes sure that default typedefs exist for int, float and double variants of each of these types.
parent c8b97271
......@@ -282,6 +282,7 @@ public:
*/
typedef Size_<int> Size2i;
typedef Size_<float> Size2f;
typedef Size_<double> Size2d;
typedef Size2i Size;
/*!
......@@ -349,7 +350,10 @@ public:
/*!
\typedef
*/
typedef Rect_<int> Rect;
typedef Rect_<int> Rect2i;
typedef Rect_<float> Rect2f;
typedef Rect_<double> Rect2d;
typedef Rect2i Rect;
/*!
traits
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment