MyGUI 3.5.3
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
16namespace MyGUI
17{
18
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:
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_
std::vector< SubWidgetInfo > VectorSubWidgetInfo
types::TCoord< int > IntCoord
Definition MyGUI_Types.h:35
SubWidgetInfo(std::string _type, const IntCoord &_coord, Align _align)