]> git.lizzy.rs Git - irrlicht.git/blob - include/EGUIAlignment.h
Bump revision
[irrlicht.git] / include / EGUIAlignment.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 #ifndef __E_GUI_ALIGNMENT_H_INCLUDED__\r
6 #define __E_GUI_ALIGNMENT_H_INCLUDED__\r
7 \r
8 #include "irrTypes.h"\r
9 \r
10 namespace irr\r
11 {\r
12 namespace gui\r
13 {\r
14 enum EGUI_ALIGNMENT\r
15 {\r
16         //! Aligned to parent's top or left side (default)\r
17         EGUIA_UPPERLEFT=0,\r
18         //! Aligned to parent's bottom or right side\r
19         EGUIA_LOWERRIGHT,\r
20         //! Aligned to the center of parent\r
21         EGUIA_CENTER,\r
22         //! Stretched to fit parent\r
23         EGUIA_SCALE\r
24 };\r
25 \r
26 //! Names for alignments\r
27 const c8* const GUIAlignmentNames[] =\r
28 {\r
29         "upperLeft",\r
30         "lowerRight",\r
31         "center",\r
32         "scale",\r
33         0\r
34 };\r
35 \r
36 } // namespace gui\r
37 } // namespace irr\r
38 \r
39 #endif // __E_GUI_ALIGNMENT_H_INCLUDED__\r