X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fscene.h;h=c53c413e432f6e69154fba5a7a742eb477d79a01;hb=7cd83f52b8fd45e3c8089016b1b6b871d5b79d68;hp=cf3d71b18feed0bd48a3e912027be3100d32202d;hpb=c163578c36b4a1674b06ab7f1f3cd446b7f840f6;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/scene.h b/dali/integration-api/scene.h index cf3d71b..c53c413 100755 --- a/dali/integration-api/scene.h +++ b/dali/integration-api/scene.h @@ -61,11 +61,11 @@ public: /** * @brief Create an initialized Scene handle. * - * @param[in] size The size of the scene in pixels as a Vector + * @param[in] surface Binds this rendering surface to this scene * * @return a handle to a newly allocated Dali resource. */ - static Scene New( const Size& size ); + static Scene New( Integration::RenderSurface& surface ); /** * @brief Downcast an Object handle to Scene handle. @@ -202,6 +202,11 @@ public: void SetSurface( Integration::RenderSurface& surface ); /** + * @brief Informs the scene that the set surface has been resized. + */ + void SurfaceResized(); + + /** * @brief Gets the rendering surface bound to the scene * * @return The render surface @@ -209,6 +214,11 @@ public: Integration::RenderSurface* GetSurface() const; /** + * @brief Discards this Scene from the Core. + */ + void Discard(); + + /** * @brief Retrieve the Scene that the given actor belongs to. * @return The Scene. */