MyGUI  3.2.1
MyGUI_SubWidgetInfo.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_SUB_WIDGET_INFO_H__
00008 #define __MYGUI_SUB_WIDGET_INFO_H__
00009 
00010 #include "MyGUI_Prerequest.h"
00011 
00012 namespace MyGUI
00013 {
00014 
00015     // информация, об одном сабвиджете
00016     struct SubWidgetInfo
00017     {
00018     public:
00019         SubWidgetInfo(const std::string& _type, const IntCoord& _coord, Align _align) :
00020             coord(_coord),
00021             align(_align),
00022             type(_type)
00023         {
00024         }
00025 
00026     public:
00027         IntCoord coord;
00028         Align align;
00029         std::string type;
00030     };
00031 
00032     typedef std::vector<SubWidgetInfo> VectorSubWidgetInfo;
00033 
00034 } // namespace MyGUI
00035 
00036 #endif // __MYGUI_SUB_WIDGET_INFO_H__