X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fadaptor-framework%2Fwindow-devel.cpp;h=9d93348203f048a04440198b071259a4649f0f2f;hb=69a5d36b6582848c57f59625ca61330e42521a75;hp=2093d7c1c785112cbac5811ff11fdc586937aaac;hpb=92b2ba1433ebcade9079ab40c83716f55625d5cc;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/devel-api/adaptor-framework/window-devel.cpp b/dali/devel-api/adaptor-framework/window-devel.cpp index 2093d7c..9d93348 100644 --- a/dali/devel-api/adaptor-framework/window-devel.cpp +++ b/dali/devel-api/adaptor-framework/window-devel.cpp @@ -35,61 +35,55 @@ void SetPositionSize( Window window, PositionSize positionSize ) GetImplementation( window ).SetPositionSize( positionSize ); } -void Add( Window window, Dali::Actor actor ) +Dali::RenderTaskList GetRenderTaskList( Window window ) { - GetImplementation( window ).Add( actor ); + return GetImplementation( window ).GetRenderTaskList(); } -void Remove( Window window, Dali::Actor actor ) +Window Get( Actor actor ) { - GetImplementation( window ).Remove( actor ); + return Internal::Adaptor::Window::Get( actor ); } -void SetBackgroundColor( Window window, Vector4 color ) -{ - GetImplementation( window ).SetBackgroundColor( color ); -} - -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( handle.GetObjectPtr()) ); } - } // namespace DevelWindow } // namespace Dali