MyGUI  3.2.1
MyGUI_Types.h
Go to the documentation of this file.
00001 /*
00002  * This source file is part of MyGUI. For the latest info, see http://mygui.info/
00003  * Distributed under the MIT License
00004  * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
00005  */
00006 
00007 #ifndef __MYGUI_TYPES_H__
00008 #define __MYGUI_TYPES_H__
00009 
00010 #include "MyGUI_Prerequest.h"
00011 
00012 #include <vector>
00013 #include <map>
00014 #include <string>
00015 
00016 #include "MyGUI_Align.h"
00017 #include "MyGUI_TPoint.h"
00018 #include "MyGUI_TSize.h"
00019 #include "MyGUI_TRect.h"
00020 #include "MyGUI_TCoord.h"
00021 
00022 namespace MyGUI
00023 {
00024 
00025     // определяем типы
00026     typedef types::TPoint<int> IntPoint;
00027     typedef types::TPoint<float> FloatPoint;
00028 
00029     typedef types::TSize<int> IntSize;
00030     typedef types::TSize<float> FloatSize;
00031 
00032     typedef types::TRect<int> IntRect;
00033     typedef types::TRect<float> FloatRect;
00034 
00035     typedef types::TCoord<int> IntCoord;
00036     typedef types::TCoord<float> FloatCoord;
00037 
00038     typedef std::map<std::string, std::string> MapString;
00039     typedef std::vector<std::string> VectorString;
00040     typedef std::pair<std::string, std::string> PairString;
00041     typedef std::vector<PairString> VectorStringPairs;
00042 
00043     typedef char int8;
00044     typedef short int16;
00045     typedef int int32;
00046     typedef unsigned char uint8;
00047     typedef unsigned short uint16;
00048     typedef unsigned int uint32;
00049     typedef unsigned int uint;
00050 
00051     typedef unsigned int Char;
00052 
00053 } // namespace MyGUI
00054 
00055 #endif // __MYGUI_TYPES_H__