*
*/
+// EXTERNAL INCLUDES
+#include <dali/public-api/events/key-event.h>
+#include <dali/public-api/events/touch-event.h>
+#include <dali/public-api/events/wheel-event.h>
+
// INTERNAL INCLUDES
#include <dali/devel-api/adaptor-framework/window-devel.h>
#include <dali/internal/window-system/common/window-impl.h>
GetImplementation( window ).SetPositionSize( positionSize );
}
-void Add( Window window, Dali::Actor actor )
+Dali::RenderTaskList GetRenderTaskList( Window window )
+{
+ return GetImplementation( window ).GetRenderTaskList();
+}
+
+Window Get( Actor actor )
{
- GetImplementation( window ).Add( actor );
+ return Internal::Adaptor::Window::Get( actor );
}
-void Remove( Window window, Dali::Actor actor )
+EventProcessingFinishedSignalType& EventProcessingFinishedSignal( Window window )
{
- GetImplementation( window ).Remove( actor );
+ return GetImplementation( window ).EventProcessingFinishedSignal();
}
-void SetBackgroundColor( Window window, Vector4 color )
+KeyEventSignalType& KeyEventSignal( Window window )
{
- GetImplementation( window ).SetBackgroundColor( color );
+ return GetImplementation( window ).KeyEventSignal();
}
-Vector4 GetBackgroundColor( Window window )
+TouchSignalType& TouchSignal( Window window )
{
- return GetImplementation( window ).GetBackgroundColor();
+ return GetImplementation( window ).TouchSignal();
}
-Dali::Layer GetRootLayer( Window window )
+WheelEventSignalType& WheelEventSignal( Window window )
{
- return GetImplementation( window ).GetRootLayer();
+ return GetImplementation( window ).WheelEventSignal();
}
-uint32_t GetLayerCount( Window window )
+VisibilityChangedSignalType& VisibilityChangedSignal( Window window )
{
- return GetImplementation( window ).GetLayerCount();
+ return GetImplementation( window ).VisibilityChangedSignal();
}
-Dali::Layer GetLayer( Window window, uint32_t depth )
+TransitionEffectEventSignalType& TransitionEffectEventSignal( Window window )
{
- return GetImplementation( window ).GetLayer( depth );
+ return GetImplementation( window ).TransitionEffectEventSignal();
}
+void SetParent( Window window, Window parent )
+{
+ GetImplementation( window ).SetParent( parent );
+}
+
+void Unparent( Window window )
+{
+ GetImplementation( window ).Unparent();
+}
+
+Window GetParent( Window window )
+{
+ return GetImplementation( window ).GetParent();
+}
+
+Window DownCast( BaseHandle handle )
+{
+ return Window( dynamic_cast<Dali::Internal::Adaptor::Window*>( handle.GetObjectPtr()) );
+}
} // namespace DevelWindow
} // namespace Dali