Revert "[Tizen] Add Effect Start/End signal"
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / window-devel.cpp
index 0857885..9d93348 100644 (file)
@@ -35,66 +35,55 @@ void SetPositionSize( Window window, PositionSize positionSize )
   GetImplementation( window ).SetPositionSize( positionSize );
 }
 
-Window Get( Actor actor )
-{
-  return Internal::Adaptor::Window::Get( actor );
-}
-
-void Add( Window window, Dali::Actor actor )
-{
-  GetImplementation( window ).Add( actor );
-}
-
-void Remove( Window window, Dali::Actor actor )
+Dali::RenderTaskList GetRenderTaskList( Window window )
 {
-  GetImplementation( window ).Remove( actor );
+  return GetImplementation( window ).GetRenderTaskList();
 }
 
-void SetBackgroundColor( Window window, Vector4 color )
+Window Get( Actor actor )
 {
-  GetImplementation( window ).SetBackgroundColor( color );
+  return Internal::Adaptor::Window::Get( actor );
 }
 
-Vector4 GetBackgroundColor( Window window )
+EventProcessingFinishedSignalType& EventProcessingFinishedSignal( Window window )
 {
-  return GetImplementation( window ).GetBackgroundColor();
+  return GetImplementation( window ).EventProcessingFinishedSignal();
 }
 
-Dali::Layer GetRootLayer( Window window )
+KeyEventSignalType& KeyEventSignal( Window window )
 {
-  return GetImplementation( window ).GetRootLayer();
+  return GetImplementation( window ).KeyEventSignal();
 }
 
-uint32_t GetLayerCount( Window window )
+TouchSignalType& TouchSignal( Window window )
 {
-  return GetImplementation( window ).GetLayerCount();
+  return GetImplementation( window ).TouchSignal();
 }
 
-Dali::Layer GetLayer( Window window, uint32_t depth )
+WheelEventSignalType& WheelEventSignal( Window window )
 {
-  return GetImplementation( window ).GetLayer( depth );
+  return GetImplementation( window ).WheelEventSignal();
 }
 
-EventProcessingFinishedSignalType& EventProcessingFinishedSignal( Window window )
+void SetParent( Window window, Window parent )
 {
-  return GetImplementation( window ).EventProcessingFinishedSignal();
+  GetImplementation( window ).SetParent( parent );
 }
 
-KeyEventSignalType& KeyEventSignal( Window window )
+void Unparent( Window window )
 {
-  return GetImplementation( window ).KeyEventSignal();
+  GetImplementation( window ).Unparent();
 }
 
-TouchSignalType& TouchSignal( Window window )
+Window GetParent( Window window )
 {
-  return GetImplementation( window ).TouchSignal();
+  return GetImplementation( window ).GetParent();
 }
 
-WheelEventSignalType& WheelEventSignal( Window window )
+Window DownCast( BaseHandle handle )
 {
-  return GetImplementation( window ).WheelEventSignal();
+  return Window( dynamic_cast<Dali::Internal::Adaptor::Window*>( handle.GetObjectPtr()) );
 }
-
 } // namespace DevelWindow
 
 } // namespace Dali