MyGUI
3.4.2
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
MyGUIEngine
include
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
23
namespace
MyGUI
24
{
25
26
// определяем типы
27
using
IntPoint
=
types::TPoint<int>
;
28
using
FloatPoint
=
types::TPoint<float>
;
29
30
using
IntSize
=
types::TSize<int>
;
31
using
FloatSize
=
types::TSize<float>
;
32
33
using
IntRect
=
types::TRect<int>
;
34
using
FloatRect
=
types::TRect<float>
;
35
36
using
IntCoord
=
types::TCoord<int>
;
37
using
FloatCoord
=
types::TCoord<float>
;
38
using
DoubleCoord
=
types::TCoord<double>
;
39
40
typedef
std::map<std::string, std::string>
MapString
;
41
using
VectorString
= std::vector<std::string>;
42
typedef
std::pair<std::string, std::string>
PairString
;
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_
MyGUI_Align.h
MyGUI_Prerequest.h
MyGUI_TCoord.h
MyGUI_TPoint.h
MyGUI_TRect.h
MyGUI_TSize.h
MyGUI
Definition
MyGUI_ActionController.h:15
MyGUI::uint32
uint32_t uint32
Definition
MyGUI_Types.h:48
MyGUI::uint8
uint8_t uint8
Definition
MyGUI_Types.h:46
MyGUI::VectorString
std::vector< std::string > VectorString
Definition
MyGUI_Types.h:41
MyGUI::MapString
std::map< std::string, std::string > MapString
Definition
MyGUI_Types.h:40
MyGUI::VectorStringPairs
std::vector< PairString > VectorStringPairs
Definition
MyGUI_Types.h:43
MyGUI::PairString
std::pair< std::string, std::string > PairString
Definition
MyGUI_Types.h:42
MyGUI::Char
unsigned int Char
Definition
MyGUI_Types.h:50
MyGUI::uint16
uint16_t uint16
Definition
MyGUI_Types.h:47
MyGUI::types::TCoord< int >
MyGUI::types::TPoint< int >
MyGUI::types::TRect< int >
MyGUI::types::TSize< int >
Generated by
1.12.0