MyGUI: MyGUI_ChildSkinInfo.h Source File

MyGUI 3.4.3

MyGUI_ChildSkinInfo.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_CHILD_SKIN_INFO_H_
8#define MYGUI_CHILD_SKIN_INFO_H_
9
10#include "MyGUI_Prerequest.h"
11#include "MyGUI_WidgetStyle.h"
12#include "MyGUI_Types.h"
13
14namespace MyGUI
15{
16
17 struct MYGUI_EXPORT ChildSkinInfo
18 {
19 public:
20 ChildSkinInfo();
21 ChildSkinInfo(
22 std::string_view _type,
23 const WidgetStyle& _style,
24 std::string_view _skin,
25 const IntCoord& _coord,
26 const Align& _align,
27 std::string_view _layer,
28 std::string_view _name);
29
30 void addParam(std::string_view _key, std::string_view _value);
31
32 public:
33 std::string type, skin, name, layer;
34 WidgetStyle style;
35 IntCoord coord;
36 Align align;
37 MapString params;
38 };
39
40 using VectorChildSkinInfo = std::vector<ChildSkinInfo>;
41
42} // namespace MyGUI
43
44
45#endif // MYGUI_CHILD_SKIN_INFO_H_
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MyGUI_Types.h
MyGUI_WidgetStyle.h
MyGUI
Definition MyGUI_ActionController.h:15
MyGUI::MapString
std::map< std::string, std::string, std::less<> > MapString
Definition MyGUI_Types.h:40
MyGUI::IntCoord
types::TCoord< int > IntCoord
Definition MyGUI_Types.h:36
MyGUI::VectorChildSkinInfo
std::vector< ChildSkinInfo > VectorChildSkinInfo
Definition MyGUI_ChildSkinInfo.h:40
MyGUI::Align
Definition MyGUI_Align.h:20
MyGUI::ChildSkinInfo::params
MapString params
Definition MyGUI_ChildSkinInfo.h:37
MyGUI::ChildSkinInfo::ChildSkinInfo
ChildSkinInfo()
Definition MyGUI_ChildSkinInfo.cpp:13
MyGUI::ChildSkinInfo::addParam
void addParam(std::string_view _key, std::string_view _value)
Definition MyGUI_ChildSkinInfo.cpp:40
MyGUI::ChildSkinInfo::layer
std::string layer
Definition MyGUI_ChildSkinInfo.h:33
MyGUI::ChildSkinInfo::coord
IntCoord coord
Definition MyGUI_ChildSkinInfo.h:35
MyGUI::ChildSkinInfo::style
WidgetStyle style
Definition MyGUI_ChildSkinInfo.h:34
MyGUI::ChildSkinInfo::skin
std::string skin
Definition MyGUI_ChildSkinInfo.h:33
MyGUI::ChildSkinInfo::type
std::string type
Definition MyGUI_ChildSkinInfo.h:33
MyGUI::ChildSkinInfo::name
std::string name
Definition MyGUI_ChildSkinInfo.h:33
MyGUI::ChildSkinInfo::align
Align align
Definition MyGUI_ChildSkinInfo.h:36
MyGUI::WidgetStyle
Definition MyGUI_WidgetStyle.h:19