xoreos  0.0.5
types.h
Go to the documentation of this file.
1 /* xoreos - A reimplementation of BioWare's Aurora engine
2  *
3  * xoreos is the legal property of its developers, whose names
4  * can be found in the AUTHORS file distributed with this source
5  * distribution.
6  *
7  * xoreos is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 3
10  * of the License, or (at your option) any later version.
11  *
12  * xoreos is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with xoreos. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
25 #ifndef GRAPHICS_AURORA_TYPES_H
26 #define GRAPHICS_AURORA_TYPES_H
27 
28 #include <map>
29 
30 #include "src/common/ptrmap.h"
31 #include "src/common/ustring.h"
32 
33 #include "src/graphics/types.h"
34 
35 namespace Graphics {
36 
37 namespace Aurora {
38 
40 extern const char *kSystemFontMono;
41 
42 const float kHAlignLeft = 0.0f;
43 const float kHAlignCenter = 0.5f;
44 const float kHAlignRight = 1.0f;
45 
46 const float kVAlignTop = 1.0f;
47 const float kVAlignMiddle = 0.5f;
48 const float kVAlignBottom = 0.0f;
49 
51 enum ModelType {
54 };
55 
56 class Model;
57 class ModelNode;
58 class Text;
59 class GUIQuad;
60 
62 
63 } // End of namespace Aurora
64 
65 } // End of namespace Graphics
66 
67 #endif // GRAPHICS_AURORA_TYPES_H
An element of the front GUI.
Definition: types.h:53
A map storing pointer to objects, with automatic deletion.
const float kVAlignTop
Definition: types.h:46
A real object in the game world.
Definition: types.h:52
Basic graphics types.
ModelType
The display type of a model.
Definition: types.h:51
const float kHAlignLeft
Definition: types.h:42
const char * kSystemFontMono
Identifier used for the monospaced system font.
Definition: fontman.cpp:41
const float kVAlignBottom
Definition: types.h:48
const float kHAlignRight
Definition: types.h:44
const float kHAlignCenter
Definition: types.h:43
Unicode string handling.
const float kVAlignMiddle
Definition: types.h:47
Common::PtrMap< Common::UString, class Model, Common::UString::iless > ModelCache
Definition: types.h:59