MyGUI 3.4.3
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
13namespace MyGUI
14{
15
21
23 {
24 public:
26 align(Align::Default),
27 style(WidgetStyle::Child)
28 {
29 }
30
31 public:
32 std::vector<WidgetInfo> childWidgetsInfo;
33 // not map because there might be several properties with same name (for example List items)
36 std::vector<ControllerInfo> controllers;
37 std::string type;
38 std::string skin;
41 std::string name;
42 std::string layer;
43
53 };
54
55 using VectorWidgetInfo = std::vector<WidgetInfo>;
56
57} // namespace MyGUI
58
59#endif // MYGUI_LAYOUT_DATA_H_
#define MYGUI_EXPORT
types::TCoord< float > FloatCoord
Definition MyGUI_Types.h:37
std::map< std::string, std::string, std::less<> > MapString
Definition MyGUI_Types.h:40
std::vector< WidgetInfo > VectorWidgetInfo
std::vector< PairString > VectorStringPairs
Definition MyGUI_Types.h:43
types::TCoord< int > IntCoord
Definition MyGUI_Types.h:36
VectorStringPairs properties
PositionType positionType
std::vector< ControllerInfo > controllers
std::vector< WidgetInfo > childWidgetsInfo