[Tizen] Add screen and client rotation itself function
[platform/core/uifw/dali-core.git] / dali / integration-api / scene.h
index 7d97dd3..1f6a60a 100644 (file)
@@ -72,6 +72,16 @@ public:
   static Scene New(Size size);
 
   /**
+   * @brief Create an initialized Scene handle.
+   *
+   * @param[in] size The size of the set surface for this scene
+   * @param[in] orientation The orientation of the set surface for this scene
+   *
+   * @return a handle to a newly allocated Dali resource.
+   */
+  static Scene New( Size size, int orientation );
+
+  /**
    * @brief Downcast an Object handle to Scene handle.
    *
    * If handle points to a Scene object the downcast produces
@@ -203,8 +213,10 @@ public:
    *
    * @param[in] width The new width of the set surface
    * @param[in] height The new height of the set surface
+   * @param[in] orientation The orientation of the surface
+   * @param[in] forceUpdate The flag to update force
    */
-  void SurfaceResized(float width, float height);
+  void SurfaceResized(float width, float height, int orientation, bool forceUpdate);
 
   /**
    * @brief Informs the scene that the surface has been replaced.