MyGUI_Types.h
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#ifndef MYGUI_TYPES_H_
#define MYGUI_TYPES_H_
#include "MyGUI_Prerequest.h"
#include <cstdint>
#include <vector>
#include <map>
#include <string>
#include "MyGUI_Align.h"
#include "MyGUI_TPoint.h"
#include "MyGUI_TSize.h"
#include "MyGUI_TRect.h"
#include "MyGUI_TCoord.h"
namespace MyGUI
{
// определяем типы
using IntPoint = types::TPoint<int>;
using FloatPoint = types::TPoint<float>;
using IntSize = types::TSize<int>;
using FloatSize = types::TSize<float>;
using IntRect = types::TRect<int>;
using FloatRect = types::TRect<float>;
using IntCoord = types::TCoord<int>;
using FloatCoord = types::TCoord<float>;
using DoubleCoord = types::TCoord<double>;
using MapString = std::map<std::string, std::string, std::less<>>;
using VectorString = std::vector<std::string>;
using PairString = std::pair<std::string, std::string>;
using VectorStringPairs = std::vector<PairString>;
// TODO: remove this types
using uint8 = uint8_t;
using uint16 = uint16_t;
using uint32 = uint32_t;
using Char = unsigned int;
} // namespace MyGUI
#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::IntRect
types::TRect< int > IntRect
Definition MyGUI_Types.h:33
MyGUI::IntPoint
types::TPoint< int > IntPoint
Definition MyGUI_Types.h:27
MyGUI::FloatCoord
types::TCoord< float > FloatCoord
Definition MyGUI_Types.h:37
MyGUI::PairString
std::pair< std::string, std::string > PairString
Definition MyGUI_Types.h:42
MyGUI::FloatRect
types::TRect< float > FloatRect
Definition MyGUI_Types.h:34
MyGUI::MapString
std::map< std::string, std::string, std::less<> > MapString
Definition MyGUI_Types.h:40
MyGUI::DoubleCoord
types::TCoord< double > DoubleCoord
Definition MyGUI_Types.h:38
MyGUI::VectorStringPairs
std::vector< PairString > VectorStringPairs
Definition MyGUI_Types.h:43
MyGUI::FloatPoint
types::TPoint< float > FloatPoint
Definition MyGUI_Types.h:28
MyGUI::Char
unsigned int Char
Definition MyGUI_Types.h:50
MyGUI::FloatSize
types::TSize< float > FloatSize
Definition MyGUI_Types.h:31
MyGUI::IntCoord
types::TCoord< int > IntCoord
Definition MyGUI_Types.h:36
MyGUI::IntSize
types::TSize< int > IntSize
Definition MyGUI_Types.h:30
MyGUI::uint16
uint16_t uint16
Definition MyGUI_Types.h:47
MyGUI::types::TCoord
Definition MyGUI_TCoord.h:19
MyGUI::types::TPoint
Definition MyGUI_TPoint.h:18
MyGUI::types::TRect
Definition MyGUI_TRect.h:18
MyGUI::types::TSize
Definition MyGUI_TSize.h:18