X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Fcommon%2Fscene-impl.h;h=f339030045d8d19cddf38dab9101c70a6ac360c9;hb=6015fb49e97568a7c1c664d103527a61a484d58a;hp=c524d6204d5ae84ce8395b897116e9275d69b851;hpb=8f925570d28eafbb247f75f91a8616fed4e20345;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/common/scene-impl.h b/dali/internal/event/common/scene-impl.h index c524d62..f339030 100644 --- a/dali/internal/event/common/scene-impl.h +++ b/dali/internal/event/common/scene-impl.h @@ -62,7 +62,7 @@ public: /** * @copydoc Dali::Integration::Scene::New */ - static ScenePtr New( const Size& size ); + static ScenePtr New( Integration::RenderSurface& surface ); /** * virtual destructor @@ -122,7 +122,7 @@ public: /** * Notify the surface has been resized. */ - void SurfaceResized(); + void SurfaceResized( bool forceUpdate ); /** * Notify the surface has been deleted. @@ -263,12 +263,12 @@ public: private: // Constructor - Scene( const Size& size ); + Scene(); /** * Second-phase constructor. */ - void Initialize(); + void Initialize( Integration::RenderSurface& surface ); // Undefined Scene(const Scene&) = delete; @@ -279,14 +279,15 @@ private: private: Integration::RenderSurface* mSurface; - // The scene-size may be different with the surface-size Size mSize; - Size mSurfaceSize; Vector2 mDpi; Vector4 mBackgroundColor; + // The SurfaceOrientation + int mSurfaceOrientation; + LayerPtr mRootLayer; // Ordered list of currently on-stage layers