29 #include YFM_YSLib_UI_YDesktop
30 #include YFM_YSLib_UI_YBrush
35 using namespace Drawing;
44 SetRenderer(std::move(p_renderer));
50 MUIContainer::operator+=(wgt);
51 SetContainerPtrOf(wgt,
this);
57 SetContainerPtrOf(wnd,
this);
63 if(FetchContainerPtr(wgt) ==
this)
65 SetContainerPtrOf(wgt);
68 return MUIContainer::operator-=(wgt);
75 if(FetchContainerPtr(wnd) ==
this)
77 SetContainerPtrOf(wnd);
80 return MUIContainer::operator-=(wnd);
88 MUIContainer::Add(wgt, z);
89 SetContainerPtrOf(wgt,
this);
Window(const Rect &={}, unique_ptr< Renderer >=make_unique< BufferedRenderer >())
构造:使用指定边界并设置渲染器。
void Add(IWidget &, ZOrderType=DefaultZOrder) override
virtual void operator+=(Window &)
bool operator-=(IWidget &) override
AController *controller_ptr Renderer *renderer_ptr View *view_ptr GetView()) DefGetterMem(const ynothrow
const ZOrderType DefaultWindowZOrder(128)
默认窗口 Z 顺序值。