genesis-3d_engine/Engine/addons/myguiengine/include/MyGUI_Types.h
zhongdaohuan 6e8fbca745 genesis-3d engine version 1.3.
match the genesis editor version 1.3.0.653.
2014-05-05 14:50:33 +08:00

72 lines
1.8 KiB
C++

/*!
@file
@author Albert Semenov
@date 11/2007
*/
/*
This file is part of MyGUI.
MyGUI is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
MyGUI is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with MyGUI. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __MYGUI_TYPES_H__
#define __MYGUI_TYPES_H__
#include "MyGUI_Prerequest.h"
#include "MyGUI_Align.h"
#include "MyGUI_TPoint.h"
#include "MyGUI_TSize.h"
#include "MyGUI_TRect.h"
#include "MyGUI_TCoord.h"
#include <vector>
#include <map>
#include <string>
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__