MyGUI  3.2.1
MyGUI_LayoutData.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_LAYOUT_DATA_H__
8 #define __MYGUI_LAYOUT_DATA_H__
9 
10 #include "MyGUI_Prerequest.h"
11 #include "MyGUI_Common.h"
12 
13 namespace MyGUI
14 {
15 
17  {
18  std::string type;
20  };
21 
23  {
24  public:
26  align(Align::Default),
27  style(WidgetStyle::Child),
28  positionType(None)
29  {
30  }
31 
32  public:
33  std::vector<WidgetInfo> childWidgetsInfo;
34  // not map because there might be several properties with same name (for example List items)
37  std::vector<ControllerInfo> controllers;
38  std::string type;
39  std::string skin;
42  std::string name;
43  std::string layer;
44 
45  enum PositionType { Pixels, Relative, None };
49  };
50 
51  typedef std::vector<WidgetInfo> VectorWidgetInfo;
52 
53 } // namespace MyGUI
54 
55 #endif // __MYGUI_LAYOUT_DATA_H__