第三方框架改为仓内子集并完善构建忽略规则
完整 NIM_Duilib_Framework 仓库移至父目录,third_party 仅保留实际使用的 base、duilib、bin/resources 与许可证;.gitignore 覆盖 MSBuild 与打包产物。
This commit is contained in:
1 parent
249e8548de
commit
e1e26acc49
391 files changed
+342850
No files matched your search
@@ -0,0 +1,36 @@
|
||||
#ifndef UI_CORE_CHILDBOX_H_
|
||||
#define UI_CORE_CHILDBOX_H_
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace ui
|
||||
{
|
||||
|
||||
class UILIB_API ChildBox : public Box
|
||||
{
|
||||
public:
|
||||
ChildBox();
|
||||
|
||||
/// 重写父类方法,提供个性化功能,请参考父类声明
|
||||
virtual void Init() override;
|
||||
virtual void SetAttribute(const std::wstring& strName, const std::wstring& strValue) override;
|
||||
|
||||
/**
|
||||
* @brief 设置 ChildBox 关联的 XML 文件
|
||||
* @param[in] strXML XML 文件路径
|
||||
* @return 无
|
||||
*/
|
||||
void SetChildLayoutXML(std::wstring strXML);
|
||||
|
||||
/**
|
||||
* @brief 获取 ChildBox 关联的 XML 文件
|
||||
* @return 返回 ChildBox 关联的 XML 文件
|
||||
*/
|
||||
std::wstring GetChildLayoutXML();
|
||||
|
||||
private:
|
||||
std::wstring m_strXMLFile;
|
||||
};
|
||||
|
||||
} // namespace ui
|
||||
#endif // UI_CORE_CHILDBOX_H_
|
||||
Reference in new issue
Block a user