1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
/*
* 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 <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
{
// определяем типы
typedef types::TPoint<int> IntPoint;
typedef types::TPoint<float> FloatPoint;
typedef types::TSize<int> IntSize;
typedef types::TSize<float> FloatSize;
typedef types::TRect<int> IntRect;
typedef types::TRect<float> FloatRect;
typedef types::TCoord<int> IntCoord;
typedef types::TCoord<float> FloatCoord;
typedef std::map<std::string, std::string> MapString;
typedef std::vector<std::string> VectorString;
typedef std::pair<std::string, std::string> PairString;
typedef std::vector<PairString> VectorStringPairs;
typedef char int8;
typedef short int16;
typedef int int32;
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned int uint32;
typedef unsigned int uint;
typedef unsigned int Char;
} // namespace MyGUI
#endif // MYGUI_TYPES_H_
|