#include "cru/ui/controls/Popup.hpp" #include "cru/platform/gui/UiApplication.hpp" #include "cru/ui/controls/RootControl.hpp" #include "cru/ui/host/WindowHost.hpp" #include "cru/ui/render/StackLayoutRenderObject.hpp" #include namespace cru::ui::controls { Popup::Popup(Control* attached_control) : RootControl(attached_control) {} Popup::~Popup() = default; gsl::not_null Popup::CreateNativeWindow( gsl::not_null host, platform::gui::INativeWindow* parent) { return host->CreateNativeWindow( {parent, platform::gui::CreateWindowFlags::NoCaptionAndBorder}); } } // namespace cru::ui::controls