]> git.lizzy.rs Git - irrlicht.git/blob - include/position2d.h
Fix IGUIElements not getting a tab order because of invisible or disabled parents.
[irrlicht.git] / include / position2d.h
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt\r
2 // This file is part of the "Irrlicht Engine".\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
4 \r
5 //! As of Irrlicht 1.6, position2d is a synonym for vector2d.\r
6 /** You should consider position2d to be deprecated, and use vector2d by preference. */\r
7 \r
8 #ifndef __IRR_POSITION_H_INCLUDED__\r
9 #define __IRR_POSITION_H_INCLUDED__\r
10 \r
11 #include "vector2d.h"\r
12 \r
13 namespace irr\r
14 {\r
15 namespace core\r
16 {\r
17 \r
18 // Use typedefs where possible as they are more explicit...\r
19 \r
20 //! \deprecated position2d is now a synonym for vector2d, but vector2d should be used directly.\r
21 typedef vector2d<f32> position2df;\r
22 \r
23 //! \deprecated position2d is now a synonym for vector2d, but vector2d should be used directly.\r
24 typedef vector2d<s32> position2di;\r
25 } // namespace core\r
26 } // namespace irr\r
27 \r
28 // ...and use a #define to catch the rest, for (e.g.) position2d<f64>\r
29 #define position2d vector2d\r
30 \r
31 #endif // __IRR_POSITION_H_INCLUDED__\r
32 \r