nim_duilib/examples/multi_browser/browser/custom_layout.h
jiajia_deng 4933d1f2bc Remove dependency on shared
Signed-off-by: jiajia_deng <2894220@gmail.com>
2019-09-20 16:27:58 +08:00

14 lines
477 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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);
};