projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Tizen] Add screen and client rotation itself function
[platform/core/uifw/dali-core.git]
/
dali
/
internal
/
event
/
common
/
scene-impl.h
diff --git
a/dali/internal/event/common/scene-impl.h
b/dali/internal/event/common/scene-impl.h
index
c524d62
..
f339030
100644
(file)
--- 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
*/
/**
* @copydoc Dali::Integration::Scene::New
*/
- static ScenePtr New(
const Size& siz
e );
+ static ScenePtr New(
Integration::RenderSurface& surfac
e );
/**
* virtual destructor
/**
* virtual destructor
@@
-122,7
+122,7
@@
public:
/**
* Notify the surface has been resized.
*/
/**
* Notify the surface has been resized.
*/
- void SurfaceResized();
+ void SurfaceResized(
bool forceUpdate
);
/**
* Notify the surface has been deleted.
/**
* Notify the surface has been deleted.
@@
-263,12
+263,12
@@
public:
private:
// Constructor
private:
// Constructor
- Scene(
const Size& size
);
+ Scene();
/**
* Second-phase constructor.
*/
/**
* Second-phase constructor.
*/
- void Initialize();
+ void Initialize(
Integration::RenderSurface& surface
);
// Undefined
Scene(const Scene&) = delete;
// Undefined
Scene(const Scene&) = delete;
@@
-279,14
+279,15
@@
private:
private:
Integration::RenderSurface* mSurface;
private:
Integration::RenderSurface* mSurface;
- // The scene-size may be different with the surface-size
Size mSize;
Size mSize;
- Size mSurfaceSize;
Vector2 mDpi;
Vector4 mBackgroundColor;
Vector2 mDpi;
Vector4 mBackgroundColor;
+ // The SurfaceOrientation
+ int mSurfaceOrientation;
+
LayerPtr mRootLayer;
// Ordered list of currently on-stage layers
LayerPtr mRootLayer;
// Ordered list of currently on-stage layers