mirror of
https://github.com/netease-im/NIM_Duilib_Framework.git
synced 2026-10-26 03:59:39 +08:00
14 lines
519 B
C++
14 lines
519 B
C++
#pragma once
|
|
|
|
/** @class CustomLayout
|
|
* @brief 用于会话窗口中容纳SessionBox的自定义TabBox,为了在任务栏显示缩略图和预览图,重写了对子控件的布局逻辑
|
|
* @copyright (c) 2016, NetEase Inc. All rights reserved
|
|
* @author Redrain
|
|
* @date 2019/3/20
|
|
*/
|
|
class CustomLayout : public ui::Layout
|
|
{
|
|
public:
|
|
virtual ui::CSize ArrangeChild(const std::vector<ui::Control*>& m_items, ui::UiRect rc) override;
|
|
ui::CSize SetCustomPos(ui::Control* pControl, ui::UiRect containerRect);
|
|
}; |