13 SubWidgetBinding::SubWidgetBinding()
18 SubWidgetBinding::SubWidgetBinding(
const IntCoord& _coord, Align _aligin, std::string_view _type)
20 create(_coord, _aligin, _type);
23 void SubWidgetBinding::create(
const IntCoord& _coord, Align _aligin, std::string_view _type)
31 void SubWidgetBinding::clear()
34 mAlign = Align::Default;
38 void SubWidgetBinding::add(std::string_view _name, IStateInfo* _data, std::string_view _skin)
40 MapStateInfo::const_iterator iter = mStates.find(_name);
41 if (iter != mStates.end())
44 MYGUI_LOG(Warning,
"state with name '" << _name <<
"' already exist in skin '" << _skin <<
"'");
47 mStates.emplace(_name, _data);
#define MYGUI_LOG(level, text)
types::TCoord< int > IntCoord