33 using namespace Drawing;
37 Window::
Window(const Rect& r, const shared_ptr<Image>& hImg)
40 Background = ImageBrush(hImg),
41 SetRenderer(make_unique<BufferedRenderer>());
45 Window::operator+=(IWidget& wgt)
47 MUIContainer::operator+=(wgt);
51 Window::operator+=(
Window& wnd)
58 Window::operator-=(IWidget& wgt)
64 GetView().FocusingPtr =
nullptr;
65 return MUIContainer::operator-=(wgt);
70 Window::operator-=(
Window& wnd)
76 GetView().FocusingPtr =
nullptr;
77 return MUIContainer::operator-=(wnd);
85 MUIContainer::Add(wgt, z);