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
Revert "[Tizen] Add screen and client rotation itself function"
[platform/core/uifw/dali-core.git]
/
dali
/
integration-api
/
scene.cpp
diff --git
a/dali/integration-api/scene.cpp
b/dali/integration-api/scene.cpp
index
192ad2e
..
6d69db8
100644
(file)
--- a/
dali/integration-api/scene.cpp
+++ b/
dali/integration-api/scene.cpp
@@
-33,34
+33,29
@@
Scene Scene::New(Size size)
return Scene(internal.Get());
}
return Scene(internal.Get());
}
-Scene Scene::
DownCast(BaseHandle handle
)
+Scene Scene::
New(Size size, int orientation
)
{
{
- return Scene(dynamic_cast<Dali::Internal::Scene*>(handle.GetObjectPtr()));
+ Internal::ScenePtr internal = Internal::Scene::New(size, orientation);
+ return Scene(internal.Get());
}
}
-Scene
::Scene(
)
+Scene
Scene::DownCast(BaseHandle handle
)
{
{
+ return Scene(dynamic_cast<Dali::Internal::Scene*>(handle.GetObjectPtr()));
}
}
-Scene::~Scene()
-{
-}
+Scene::Scene() = default;
-Scene::Scene(const Scene& handle)
-: BaseHandle(handle)
-{
-}
+Scene::~Scene() = default;
+
+Scene::Scene(const Scene& handle) = default;
Scene::Scene(Internal::Scene* internal)
: BaseHandle(internal)
{
}
Scene::Scene(Internal::Scene* internal)
: BaseHandle(internal)
{
}
-Scene& Scene::operator=(const Scene& rhs)
-{
- BaseHandle::operator=(rhs);
- return *this;
-}
+Scene& Scene::operator=(const Scene& rhs) = default;
void Scene::Add(Actor actor)
{
void Scene::Add(Actor actor)
{
@@
-117,9
+112,9
@@
Layer Scene::GetLayer(uint32_t depth) const
return GetImplementation(*this).GetLayer(depth);
}
return GetImplementation(*this).GetLayer(depth);
}
-void Scene::SurfaceResized(float width, float height
, int orientation, bool forceUpdate
)
+void Scene::SurfaceResized(float width, float height)
{
{
- GetImplementation(*this).SurfaceResized(width, height
, orientation, forceUpdate
);
+ GetImplementation(*this).SurfaceResized(width, height);
}
void Scene::SurfaceReplaced()
}
void Scene::SurfaceReplaced()