X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=blobdiff_plain;f=dali%2Fdevel-api%2Fadaptor-framework%2Fwindow-devel.cpp;h=a2a1246d48f0b880d313a784e209c4f34637b5d7;hp=f14bc8d5fcee5a7a26e2c80b25168cc5378beb69;hb=09e6892adcddf6d2bf7c88dc8442a42da2ac57f5;hpb=e0a7e95ba0d0d294630d3fe9908d04da2044f063 diff --git a/dali/devel-api/adaptor-framework/window-devel.cpp b/dali/devel-api/adaptor-framework/window-devel.cpp index f14bc8d..a2a1246 100644 --- a/dali/devel-api/adaptor-framework/window-devel.cpp +++ b/dali/devel-api/adaptor-framework/window-devel.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -30,6 +30,41 @@ void SetPositionSize( Window window, PositionSize positionSize ) GetImplementation( window ).SetPositionSize( positionSize ); } +void Add( Window window, Dali::Actor actor ) +{ + GetImplementation( window ).Add( actor ); +} + +void Remove( Window window, Dali::Actor actor ) +{ + GetImplementation( window ).Remove( actor ); +} + +void SetBackgroundColor( Window window, Vector4 color ) +{ + GetImplementation( window ).SetBackgroundColor( color ); +} + +Vector4 GetBackgroundColor( Window window ) +{ + return GetImplementation( window ).GetBackgroundColor(); +} + +Dali::Layer GetRootLayer( Window window ) +{ + return GetImplementation( window ).GetRootLayer(); +} + +uint32_t GetLayerCount( Window window ) +{ + return GetImplementation( window ).GetLayerCount(); +} + +Dali::Layer GetLayer( Window window, uint32_t depth ) +{ + return GetImplementation( window ).GetLayer( depth ); +} + } // namespace DevelWindow } // namespace Dali