Renamed Rect to Rectf
[supertux.git] / src / object / anchor_point.hpp
index 99c2b9b..3030ca1 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "math/vector.hpp"
 
-class Rect;
+class Rectf;
 
 enum AnchorPoint {
   ANCHOR_H_MASK = 0x00f0,
@@ -40,8 +40,8 @@ enum AnchorPoint {
 
 std::string anchor_point_to_string(AnchorPoint point);
 AnchorPoint string_to_anchor_point(const std::string& str);
-Vector get_anchor_pos(const Rect& rect, AnchorPoint point);
-Vector get_anchor_pos(const Rect& destrect, float width, float height,
+Vector get_anchor_pos(const Rectf& rect, AnchorPoint point);
+Vector get_anchor_pos(const Rectf& destrect, float width, float height,
                       AnchorPoint point);
 
 #endif