15 static constexpr ETypeID TypeID = ETypeID::HLayout;
16 using Ptr = std::shared_ptr<XUIHLayout>;
18 XUIHLayout(CP_SDK_PRIV_TAG_ARG(),
const std::vector<std::shared_ptr<IXUIElement>>& p_Childs)
19 :
XUIHLayout(CP_SDK_PRIV_TAG_FWD(), u
"XUIHLayout", p_Childs)
21 XUIHLayout(CP_SDK_PRIV_TAG_ARG(), std::u16string_view p_Name,
const std::vector<std::shared_ptr<IXUIElement>>& p_Childs)
29 static std::vector<std::shared_ptr<IXUIElement>> s_Empty(0);
30 return std::make_shared<XUIHLayout>(CP_SDK_PRIV_TAG_VAL(), s_Empty);
34 static Ptr
Make(
const std::vector<std::shared_ptr<IXUIElement>>& p_Childs)
36 return std::make_shared<XUIHLayout>(CP_SDK_PRIV_TAG_VAL(), p_Childs);
41 static Ptr
Make(std::u16string_view p_Name,
const std::vector<std::shared_ptr<IXUIElement>>& p_Childs)
43 return std::make_shared<XUIHLayout>(CP_SDK_PRIV_TAG_VAL(), p_Name, p_Childs);