15 static constexpr ETypeID TypeID = ETypeID::VLayout;
16 using Ptr = std::shared_ptr<XUIVLayout>;
18 XUIVLayout(CP_SDK_PRIV_TAG_ARG(),
const std::vector<std::shared_ptr<IXUIElement>>& p_Childs)
19 :
XUIVLayout(CP_SDK_PRIV_TAG_FWD(), u
"XUIVLayout", p_Childs)
21 XUIVLayout(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<XUIVLayout>(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<XUIVLayout>(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<XUIVLayout>(CP_SDK_PRIV_TAG_VAL(), p_Name, p_Childs);