/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Window& Window::operator=(Window&& rhs) = default;
+Window Window::DownCast(BaseHandle handle)
+{
+ return Window(dynamic_cast<Dali::Internal::Adaptor::Window*>(handle.GetObjectPtr()));
+}
+
void Window::Add(Dali::Actor actor)
{
GetImplementation(*this).Add(actor);
return GetImplementation(*this).GetRootLayer();
}
+Layer Window::GetOverlayLayer()
+{
+ return GetImplementation(*this).GetOverlayLayer();
+}
+
uint32_t Window::GetLayerCount() const
{
return GetImplementation(*this).GetLayerCount();
return GetImplementation(*this).GetSize();
}
-void Window::SetPosition(Window::WindowPosition position)
+void Window::SetPosition(Dali::Window::WindowPosition position)
{
GetImplementation(*this).SetPosition(position);
}
-Window::WindowPosition Window::GetPosition() const
+Dali::Window::WindowPosition Window::GetPosition() const
{
return GetImplementation(*this).GetPosition();
}