MyGUI  3.4.1
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  // определяем типы
28 
31 
34 
38 
39  typedef std::map<std::string, std::string> MapString;
40  using VectorString = std::vector<std::string>;
41  typedef std::pair<std::string, std::string> PairString;
42  using VectorStringPairs = std::vector<PairString>;
43 
44  // TODO: remove this types
45  using uint8 = uint8_t;
46  using uint16 = uint16_t;
47  using uint32 = uint32_t;
48 
49  using Char = unsigned int;
50 
51 } // namespace MyGUI
52 
53 #endif // MYGUI_TYPES_H_
std::map< std::string, std::string > MapString
Definition: MyGUI_Types.h:39
std::pair< std::string, std::string > PairString
Definition: MyGUI_Types.h:41
std::vector< std::string > VectorString
Definition: MyGUI_Types.h:40
uint8_t uint8
Definition: MyGUI_Types.h:45
std::vector< PairString > VectorStringPairs
Definition: MyGUI_Types.h:42
uint16_t uint16
Definition: MyGUI_Types.h:46
unsigned int Char
Definition: MyGUI_Types.h:49
uint32_t uint32
Definition: MyGUI_Types.h:47