static ScenePtr New( Size size );
/**
+ * @copydoc Dali::Integration::Scene::New
+ */
+ static ScenePtr New( Size size, int orientation );
+
+ /**
* virtual destructor
*/
~Scene() override;
*
* @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 );
/**
* @copydoc Dali::Integration::Scene::SurfaceReplaced
* Second-phase constructor.
*
* @param[in] size The size of the set surface
+ * @param[in] orientation The orientation of the set surface for this scene
*/
- void Initialize( Size size );
+ void Initialize( Size size, int orientation );
// Undefined
Scene(const Scene&) = delete;
Vector4 mBackgroundColor;
+ // The SurfaceOrientation
+ int mSurfaceOrientation;
+
LayerPtr mRootLayer;
// Ordered list of currently on-stage layers