MyGUI: MyGUI_SubWidgetInfo.h Source File

MyGUI 3.2.2

MyGUI_SubWidgetInfo.h
Go to the documentation of this file.
1 /*
2 * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3 * Distributed under the MIT License
4 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5 */
6
7 #ifndef MYGUI_SUB_WIDGET_INFO_H_
8 #define MYGUI_SUB_WIDGET_INFO_H_
9
10 #include "MyGUI_Prerequest.h"
11
12 namespace MyGUI
13 {
14
15 // информация, об одном сабвиджете
16 struct SubWidgetInfo
17 {
18 public:
19 SubWidgetInfo(const std::string& _type, const IntCoord& _coord, Align _align) :
20 coord(_coord),
21 align(_align),
22 type(_type)
23 {
24 }
25
26 public:
27 IntCoord coord;
28 Align align;
29 std::string type;
30 };
31
32 typedef std::vector<SubWidgetInfo> VectorSubWidgetInfo;
33
34 } // namespace MyGUI
35
36 #endif // MYGUI_SUB_WIDGET_INFO_H_
MyGUI::SubWidgetInfo
Definition: MyGUI_SubWidgetInfo.h:16
MyGUI::SubWidgetInfo::SubWidgetInfo
SubWidgetInfo(const std::string &_type, const IntCoord &_coord, Align _align)
Definition: MyGUI_SubWidgetInfo.h:19
MyGUI::Align
Definition: MyGUI_Align.h:19
MyGUI_Prerequest.h
MyGUI::SubWidgetInfo::type
std::string type
Definition: MyGUI_SubWidgetInfo.h:29
MyGUI::SubWidgetInfo::align
Align align
Definition: MyGUI_SubWidgetInfo.h:28
MyGUI::types::TCoord< int >
MyGUI
Definition: MyGUI_ActionController.h:14
MyGUI::SubWidgetInfo::coord
IntCoord coord
Definition: MyGUI_SubWidgetInfo.h:27
MyGUI::VectorSubWidgetInfo
std::vector< SubWidgetInfo > VectorSubWidgetInfo
Definition: MyGUI_SubWidgetInfo.h:32