MyGUI_ChildSkinInfo.h
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#ifndef MYGUI_CHILD_SKIN_INFO_H_
#define MYGUI_CHILD_SKIN_INFO_H_
#include "MyGUI_Prerequest.h"
#include "MyGUI_WidgetStyle.h"
#include "MyGUI_Types.h"
namespace MyGUI
{
struct MYGUI_EXPORT ChildSkinInfo
{
public:
ChildSkinInfo();
ChildSkinInfo(
std::string_view _type,
const WidgetStyle& _style,
std::string_view _skin,
const IntCoord& _coord,
const Align& _align,
std::string_view _layer,
std::string_view _name);
void addParam(std::string_view _key, std::string_view _value);
public:
std::string type, skin, name, layer;
WidgetStyle style;
IntCoord coord;
Align align;
MapString params;
};
using VectorChildSkinInfo = std::vector<ChildSkinInfo>;
} // namespace MyGUI
#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