MyGUI 3.4.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
13namespace 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_
#define MYGUI_EXPORT
std::map< std::string, std::string > MapString
Definition: MyGUI_Types.h:39
std::vector< WidgetInfo > VectorWidgetInfo
std::vector< PairString > VectorStringPairs
Definition: MyGUI_Types.h:42
VectorStringPairs properties
PositionType positionType
std::vector< ControllerInfo > controllers
std::vector< WidgetInfo > childWidgetsInfo