MyGUI
3.4.1
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 <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
using
IntPoint
=
types::TPoint<int>
;
27
using
FloatPoint
=
types::TPoint<float>
;
28
29
using
IntSize
=
types::TSize<int>
;
30
using
FloatSize
=
types::TSize<float>
;
31
32
using
IntRect
=
types::TRect<int>
;
33
using
FloatRect
=
types::TRect<float>
;
34
35
using
IntCoord
=
types::TCoord<int>
;
36
using
FloatCoord
=
types::TCoord<float>
;
37
using
DoubleCoord
=
types::TCoord<double>
;
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_
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::MapString
std::map< std::string, std::string > MapString
Definition:
MyGUI_Types.h:39
MyGUI::PairString
std::pair< std::string, std::string > PairString
Definition:
MyGUI_Types.h:41
MyGUI::VectorString
std::vector< std::string > VectorString
Definition:
MyGUI_Types.h:40
MyGUI::uint8
uint8_t uint8
Definition:
MyGUI_Types.h:45
MyGUI::VectorStringPairs
std::vector< PairString > VectorStringPairs
Definition:
MyGUI_Types.h:42
MyGUI::uint16
uint16_t uint16
Definition:
MyGUI_Types.h:46
MyGUI::Char
unsigned int Char
Definition:
MyGUI_Types.h:49
MyGUI::uint32
uint32_t uint32
Definition:
MyGUI_Types.h:47
MyGUI::types::TCoord< int >
MyGUI::types::TPoint< int >
MyGUI::types::TRect< int >
MyGUI::types::TSize< int >
Generated by
1.9.4