projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor #include optimization
[supertux.git]
/
src
/
object
/
anchor_point.hpp
diff --git
a/src/object/anchor_point.hpp
b/src/object/anchor_point.hpp
index
256c9fe
..
5b8baee
100644
(file)
--- a/
src/object/anchor_point.hpp
+++ b/
src/object/anchor_point.hpp
@@
-33,7
+33,7
@@
enum AnchorPoint {
ANCHOR_LEFT = 0x0001,
ANCHOR_RIGHT = 0x0002,
ANCHOR_MIDDLE = 0x0000,
-
+
ANCHOR_TOP_LEFT = ANCHOR_TOP | ANCHOR_LEFT,
ANCHOR_TOP_RIGHT = ANCHOR_TOP | ANCHOR_RIGHT,
ANCHOR_BOTTOM_LEFT = ANCHOR_BOTTOM | ANCHOR_LEFT,
@@
-47,4
+47,3
@@
Vector get_anchor_pos(const Rect& destrect, float width, float height,
AnchorPoint point);
#endif
-