Supports some tizen window features.
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / window-devel.cpp
index de22583..886d56b 100644 (file)
@@ -48,7 +48,7 @@ Window New(Any surface, PositionSize windowPosition, const std::string& name, co
 
   if(isNewWindowAllowed)
   {
-    Internal::Adaptor::Window* window = Internal::Adaptor::Window::New(surface, windowPosition, name, className, isTransparent);
+    Internal::Adaptor::Window* window = Internal::Adaptor::Window::New(surface, windowPosition, name, className, WindowType::NORMAL, isTransparent);
 
     Integration::SceneHolder sceneHolder = Integration::SceneHolder(window);
     if(isAdaptorAvailable)
@@ -151,6 +151,26 @@ void AddFramePresentedCallback(Window window, std::unique_ptr<CallbackBase> call
   GetImplementation(window).AddFramePresentedCallback(std::move(callback), frameId);
 }
 
+void SetPositionSizeWithOrientation(Window window, PositionSize positionSize, WindowOrientation orientation)
+{
+  GetImplementation(window).SetPositionSizeWithOrientation(positionSize, orientation);
+}
+
+void RequestMoveToServer(Window window)
+{
+  GetImplementation(window).RequestMoveToServer();
+}
+
+void RequestResizeToServer(Window window, WindowResizeDirection direction)
+{
+  GetImplementation(window).RequestResizeToServer(direction);
+}
+
+void EnableFloatingMode(Window window, bool enable)
+{
+  GetImplementation(window).EnableFloatingMode(enable);
+}
+
 } // namespace DevelWindow
 
 } // namespace Dali