MyGUI
3.5.3
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
MyGUIEngine
include
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
#include "
MyGUI_Align.h
"
12
#include "
MyGUI_Types.h
"
13
#include <string>
14
#include <utility>
15
16
namespace
MyGUI
17
{
18
19
struct
SubWidgetInfo
20
{
21
public
:
22
SubWidgetInfo
(std::string _type,
const
IntCoord
& _coord, Align _align) :
23
coord
(_coord),
24
align
(_align),
25
type
(std::move(_type))
26
{
27
}
28
29
public
:
30
IntCoord
coord
;
31
Align
align
;
32
std::string
type
;
33
};
34
35
using
VectorSubWidgetInfo
= std::vector<SubWidgetInfo>;
36
37
}
// namespace MyGUI
38
39
#endif
// MYGUI_SUB_WIDGET_INFO_H_
MyGUI_Align.h
MyGUI_Prerequest.h
MyGUI_Types.h
MyGUI
Definition
MyGUI_ActionController.h:15
MyGUI::VectorSubWidgetInfo
std::vector< SubWidgetInfo > VectorSubWidgetInfo
Definition
MyGUI_SubWidgetInfo.h:35
MyGUI::IntCoord
types::TCoord< int > IntCoord
Definition
MyGUI_Types.h:35
MyGUI::SubWidgetInfo::coord
IntCoord coord
Definition
MyGUI_SubWidgetInfo.h:30
MyGUI::SubWidgetInfo::type
std::string type
Definition
MyGUI_SubWidgetInfo.h:32
MyGUI::SubWidgetInfo::SubWidgetInfo
SubWidgetInfo(std::string _type, const IntCoord &_coord, Align _align)
Definition
MyGUI_SubWidgetInfo.h:22
MyGUI::SubWidgetInfo::align
Align align
Definition
MyGUI_SubWidgetInfo.h:31
Generated by
1.18.0