[Tizen]Revert "Basic support of keyboard focus for multiple windows"
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / window-devel.h
index 90a8f7b..bbdac10 100644 (file)
@@ -26,6 +26,7 @@ namespace Dali
 class KeyEvent;
 class TouchData;
 class WheelEvent;
+class RenderTaskList;
 
 namespace DevelWindow
 {
@@ -47,68 +48,20 @@ typedef Signal< void (const WheelEvent&) > WheelEventSignalType;   ///< Touched
 DALI_ADAPTOR_API void SetPositionSize( Window window, PositionSize positionSize );
 
 /**
- * @brief Adds a child Actor to the Window.
+ * @brief Retrieves the list of render-tasks in the window.
  *
- * The child will be referenced.
  * @param[in] window The window instance
- * @param[in] actor The child
- * @pre The actor has been initialized.
- * @pre The actor does not have a parent.
+ * @return A valid handle to a RenderTaskList
  */
-DALI_ADAPTOR_API void Add( Window window, Dali::Actor actor );
+Dali::RenderTaskList GetRenderTaskList( Window window );
 
 /**
- * @brief Removes a child Actor from the Window.
+ * @brief Retrieve the window that the given actor is added to.
  *
- * The child will be unreferenced.
- * @param[in] window The window instance
- * @param[in] actor The child
- * @pre The actor has been added to the stage.
- */
-DALI_ADAPTOR_API void Remove( Window window, Dali::Actor actor );
-
-/**
- * @brief Sets the background color of the window.
- *
- * @param[in] window The window instance
- * @param[in] color The new background color
- */
-DALI_ADAPTOR_API void SetBackgroundColor( Window window, Vector4 color );
-
-/**
- * @brief Gets the background color of the surface.
- *
- * @param[in] window The window instance
- * @return The background color
- */
-DALI_ADAPTOR_API Vector4 GetBackgroundColor( Window window );
-
-/**
- * @brief Returns the Scene's Root Layer.
- *
- * @param[in] window The window instance
- * @return The root layer
- */
-DALI_ADAPTOR_API Dali::Layer GetRootLayer( Window window );
-
-/**
- * @brief Queries the number of on-stage layers.
- *
- * Note that a default layer is always provided (count >= 1).
- * @param[in] window The window instance
- * @return The number of layers
- */
-DALI_ADAPTOR_API uint32_t GetLayerCount( Window window );
-
-/**
- * @brief Retrieves the layer at a specified depth.
- *
- * @param[in] window The window instance
- * @param[in] depth The depth
- * @return The layer found at the given depth
- * @pre Depth is less than layer count; see GetLayerCount().
+ * @param[in] actor The actor
+ * @return The window the actor is added to or an empty handle if the actor is not added to any window.
  */
-DALI_ADAPTOR_API Dali::Layer GetLayer( Window window, uint32_t depth );
+DALI_ADAPTOR_API Window Get( Actor actor );
 
 /**
  * @brief This signal is emitted just after the event processing is finished.