MyGUI: MyGUI_Types.h Source File

MyGUI 3.2.2

MyGUI_Types.h
Go to the documentation of this file.
1 /*
2 * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3 * Distributed under the MIT License
4 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5 */
6
7 #ifndef MYGUI_TYPES_H_
8 #define MYGUI_TYPES_H_
9
10 #include "MyGUI_Prerequest.h"
11
12 #include <vector>
13 #include <map>
14 #include <string>
15
16 #include "MyGUI_Align.h"
17 #include "MyGUI_TPoint.h"
18 #include "MyGUI_TSize.h"
19 #include "MyGUI_TRect.h"
20 #include "MyGUI_TCoord.h"
21
22 namespace MyGUI
23 {
24
25 // определяем типы
26 typedef types::TPoint<int> IntPoint;
27 typedef types::TPoint<float> FloatPoint;
28
29 typedef types::TSize<int> IntSize;
30 typedef types::TSize<float> FloatSize;
31
32 typedef types::TRect<int> IntRect;
33 typedef types::TRect<float> FloatRect;
34
35 typedef types::TCoord<int> IntCoord;
36 typedef types::TCoord<float> FloatCoord;
37
38 typedef std::map<std::string, std::string> MapString;
39 typedef std::vector<std::string> VectorString;
40 typedef std::pair<std::string, std::string> PairString;
41 typedef std::vector<PairString> VectorStringPairs;
42
43 typedef char int8;
44 typedef short int16;
45 typedef int int32;
46 typedef unsigned char uint8;
47 typedef unsigned short uint16;
48 typedef unsigned int uint32;
49 typedef unsigned int uint;
50
51 typedef unsigned int Char;
52
53 } // namespace MyGUI
54
55 #endif // MYGUI_TYPES_H_
MyGUI::uint16
unsigned short uint16
Definition: MyGUI_Types.h:47
MyGUI::IntCoord
types::TCoord< int > IntCoord
Definition: MyGUI_Types.h:35
MyGUI::FloatCoord
types::TCoord< float > FloatCoord
Definition: MyGUI_Types.h:36
MyGUI::types::TRect< int >
MyGUI::int16
short int16
Definition: MyGUI_Types.h:44
MyGUI_Align.h
MyGUI::FloatRect
types::TRect< float > FloatRect
Definition: MyGUI_Types.h:33
MyGUI::types::TPoint< int >
MyGUI_TSize.h
MyGUI::IntSize
types::TSize< int > IntSize
Definition: MyGUI_Types.h:29
MyGUI::uint32
unsigned int uint32
Definition: MyGUI_Types.h:48
MyGUI::uint
unsigned int uint
Definition: MyGUI_Types.h:49
MyGUI::FloatSize
types::TSize< float > FloatSize
Definition: MyGUI_Types.h:30
MyGUI::PairString
std::pair< std::string, std::string > PairString
Definition: MyGUI_Types.h:40
MyGUI::IntPoint
types::TPoint< int > IntPoint
Definition: MyGUI_Types.h:26
MyGUI_Prerequest.h
MyGUI_TRect.h
MyGUI_TCoord.h
MyGUI::uint8
unsigned char uint8
Definition: MyGUI_Types.h:46
MyGUI::types::TSize< int >
MyGUI::VectorStringPairs
std::vector< PairString > VectorStringPairs
Definition: MyGUI_Types.h:41
MyGUI::int8
char int8
Definition: MyGUI_Types.h:43
MyGUI::Char
unsigned int Char
Definition: MyGUI_Types.h:51
MyGUI::MapString
std::map< std::string, std::string > MapString
Definition: MyGUI_Types.h:38
MyGUI::types::TCoord< int >
MyGUI::IntRect
types::TRect< int > IntRect
Definition: MyGUI_Types.h:32
MyGUI
Definition: MyGUI_ActionController.h:14
MyGUI::int32
int int32
Definition: MyGUI_Types.h:45
MyGUI_TPoint.h
MyGUI::VectorString
std::vector< std::string > VectorString
Definition: MyGUI_Types.h:39
MyGUI::FloatPoint
types::TPoint< float > FloatPoint
Definition: MyGUI_Types.h:27