MyGUI
3.4.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 <utility>
12
13
namespace
MyGUI
14
{
15
16
// информация, об одном сабвиджете
17
struct
SubWidgetInfo
18
{
19
public
:
20
SubWidgetInfo
(std::string _type,
const
IntCoord
& _coord,
Align
_align) :
21
coord
(_coord),
22
align
(_align),
23
type
(std::move(_type))
24
{
25
}
26
27
public
:
28
IntCoord
coord
;
29
Align
align
;
30
std::string
type
;
31
};
32
33
using
VectorSubWidgetInfo
= std::vector<SubWidgetInfo>;
34
35
}
// namespace MyGUI
36
37
#endif
// MYGUI_SUB_WIDGET_INFO_H_
MyGUI_Prerequest.h
MyGUI
Definition
MyGUI_ActionController.h:15
MyGUI::VectorSubWidgetInfo
std::vector< SubWidgetInfo > VectorSubWidgetInfo
Definition
MyGUI_SubWidgetInfo.h:33
MyGUI::Align
Definition
MyGUI_Align.h:20
MyGUI::SubWidgetInfo
Definition
MyGUI_SubWidgetInfo.h:18
MyGUI::SubWidgetInfo::coord
IntCoord coord
Definition
MyGUI_SubWidgetInfo.h:28
MyGUI::SubWidgetInfo::type
std::string type
Definition
MyGUI_SubWidgetInfo.h:30
MyGUI::SubWidgetInfo::SubWidgetInfo
SubWidgetInfo(std::string _type, const IntCoord &_coord, Align _align)
Definition
MyGUI_SubWidgetInfo.h:20
MyGUI::SubWidgetInfo::align
Align align
Definition
MyGUI_SubWidgetInfo.h:29
MyGUI::types::TCoord< int >
Generated by
1.12.0