MyGUI 3.4.3
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 <cstdint>
13#include <vector>
14#include <map>
15#include <string>
16
17#include "MyGUI_Align.h"
18#include "MyGUI_TPoint.h"
19#include "MyGUI_TSize.h"
20#include "MyGUI_TRect.h"
21#include "MyGUI_TCoord.h"
22
23namespace MyGUI
24{
25
26 // определяем типы
29
32
35
39
40 using MapString = std::map<std::string, std::string, std::less<>>;
41 using VectorString = std::vector<std::string>;
42 using PairString = std::pair<std::string, std::string>;
43 using VectorStringPairs = std::vector<PairString>;
44
45 // TODO: remove this types
46 using uint8 = uint8_t;
47 using uint16 = uint16_t;
48 using uint32 = uint32_t;
49
50 using Char = unsigned int;
51
52} // namespace MyGUI
53
54#endif // MYGUI_TYPES_H_
uint32_t uint32
Definition MyGUI_Types.h:48
uint8_t uint8
Definition MyGUI_Types.h:46
std::vector< std::string > VectorString
Definition MyGUI_Types.h:41
types::TRect< int > IntRect
Definition MyGUI_Types.h:33
types::TPoint< int > IntPoint
Definition MyGUI_Types.h:27
types::TCoord< float > FloatCoord
Definition MyGUI_Types.h:37
std::pair< std::string, std::string > PairString
Definition MyGUI_Types.h:42
types::TRect< float > FloatRect
Definition MyGUI_Types.h:34
std::map< std::string, std::string, std::less<> > MapString
Definition MyGUI_Types.h:40
types::TCoord< double > DoubleCoord
Definition MyGUI_Types.h:38
std::vector< PairString > VectorStringPairs
Definition MyGUI_Types.h:43
types::TPoint< float > FloatPoint
Definition MyGUI_Types.h:28
unsigned int Char
Definition MyGUI_Types.h:50
types::TSize< float > FloatSize
Definition MyGUI_Types.h:31
types::TCoord< int > IntCoord
Definition MyGUI_Types.h:36
types::TSize< int > IntSize
Definition MyGUI_Types.h:30
uint16_t uint16
Definition MyGUI_Types.h:47