MyGUI
3.2.1
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
mygui
MyGUIEngine
include
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
16
struct
MYGUI_EXPORT
ControllerInfo
17
{
18
std::string
type
;
19
MapString
properties
;
20
};
21
22
struct
MYGUI_EXPORT
WidgetInfo
23
{
24
public
:
25
WidgetInfo
() :
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)
35
VectorStringPairs
properties
;
36
MapString
userStrings
;
37
std::vector<ControllerInfo>
controllers
;
38
std::string
type
;
39
std::string
skin
;
40
Align
align
;
41
WidgetStyle
style
;
42
std::string
name
;
43
std::string
layer
;
44
45
enum
PositionType
{ Pixels,
Relative
, None };
46
PositionType
positionType
;
47
IntCoord
intCoord
;
48
FloatCoord
floatCoord
;
49
};
50
51
typedef
std::vector<WidgetInfo>
VectorWidgetInfo
;
52
53
}
// namespace MyGUI
54
55
#endif // __MYGUI_LAYOUT_DATA_H__
Generated on Wed Aug 20 2014 00:03:32 for MyGUI by
1.8.3.1