aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/Popup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/controls/Popup.cpp')
-rw-r--r--src/ui/controls/Popup.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/ui/controls/Popup.cpp b/src/ui/controls/Popup.cpp
deleted file mode 100644
index 238ddbd4..00000000
--- a/src/ui/controls/Popup.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-#include "cru/ui/controls/Popup.h"
-
-#include "cru/platform/gui/UiApplication.h"
-#include "cru/ui/controls/RootControl.h"
-#include "cru/ui/host/WindowHost.h"
-#include "cru/ui/render/StackLayoutRenderObject.h"
-
-#include <memory>
-
-namespace cru::ui::controls {
-Popup::Popup(Control* attached_control) : RootControl(attached_control) {
- GetWindowHost()->GetNativeWindow()->SetStyleFlag(
- cru::platform::gui::WindowStyleFlags::NoCaptionAndBorder);
- SetGainFocusOnCreateAndDestroyWhenLoseFocus(true);
-}
-
-Popup::~Popup() = default;
-} // namespace cru::ui::controls