完整 NIM_Duilib_Framework 仓库移至父目录,third_party 仅保留实际使用的 base、duilib、bin/resources 与许可证;.gitignore 覆盖 MSBuild 与打包产物。
27 lines
463 B
C++
27 lines
463 B
C++
#ifndef UI_CORE_HBOX_H_
|
|
#define UI_CORE_HBOX_H_
|
|
|
|
#pragma once
|
|
|
|
namespace ui
|
|
{
|
|
|
|
class UILIB_API HLayout : public Layout
|
|
{
|
|
public:
|
|
HLayout();
|
|
|
|
/// 重写父类方法,提供个性化功能,请参考父类声明
|
|
virtual CSize ArrangeChild(const std::vector<Control*>& items, UiRect rc) override;
|
|
virtual CSize AjustSizeByChild(const std::vector<Control*>& items, CSize szAvailable) override;
|
|
};
|
|
|
|
class UILIB_API HBox : public Box
|
|
{
|
|
public:
|
|
HBox();
|
|
};
|
|
|
|
}
|
|
#endif // UI_CORE_HBOX_H_
|