X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fscene.cpp;h=5126377a1bbcfcd63c55a416499e17a39d58d024;hb=59992ec9e3671f2ad00e7427bc85757dadf98674;hp=e5c7f2fa31eb38ed0abd7f591eaa671a780de0c5;hpb=9782dbc189818145d565164c78c09269348c0e77;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/scene.cpp b/dali/integration-api/scene.cpp index e5c7f2f..5126377 100644 --- a/dali/integration-api/scene.cpp +++ b/dali/integration-api/scene.cpp @@ -29,9 +29,9 @@ namespace Dali namespace Integration { -Scene Scene::New( const Size& size ) +Scene Scene::New( Integration::RenderSurface& surface ) { - Internal::ScenePtr internal = Internal::Scene::New( size ); + Internal::ScenePtr internal = Internal::Scene::New( surface ); return Scene( internal.Get() ); } @@ -89,6 +89,16 @@ Vector2 Scene::GetDpi() const return GetImplementation(*this).GetDpi(); } +void Scene::SetBackgroundColor( const Vector4& color ) +{ + GetImplementation(*this).SetBackgroundColor( color ); +} + +Vector4 Scene::GetBackgroundColor() const +{ + return GetImplementation(*this).GetBackgroundColor(); +} + RenderTaskList Scene::GetRenderTaskList() const { return RenderTaskList( &GetImplementation(*this).GetRenderTaskList() ); @@ -114,6 +124,11 @@ void Scene::SetSurface( Integration::RenderSurface& surface ) GetImplementation(*this).SetSurface( surface ); } +void Scene::SurfaceResized( bool forceUpdate ) +{ + GetImplementation( *this ).SurfaceResized( forceUpdate ); +} + Integration::RenderSurface* Scene::GetSurface() const { return GetImplementation(*this).GetSurface(); @@ -149,6 +164,11 @@ Scene::KeyEventSignalType& Scene::KeyEventSignal() return GetImplementation(*this).KeyEventSignal(); } +Scene::KeyEventGeneratedSignalType& Scene::KeyEventGeneratedSignal() +{ + return GetImplementation(*this).KeyEventGeneratedSignal(); +} + Scene::TouchSignalType& Scene::TouchSignal() { return GetImplementation(*this).TouchSignal();