X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fscene.cpp;h=8fef6dbd75f97fa1314f5ece952e43e36e9174d3;hb=0654f01e2e9611e1127d946abb0e92715f8df6d6;hp=869bbf0a09613fc731a5173a9c47f26b97d09d7c;hpb=ad9fbaaafce5fb10ea2b5aa6fc03809b1f2c58a8;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/scene.cpp b/dali/integration-api/scene.cpp index 869bbf0..8fef6db 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() ); } @@ -124,11 +124,21 @@ void Scene::SetSurface( Integration::RenderSurface& surface ) GetImplementation(*this).SetSurface( surface ); } +void Scene::SurfaceResized() +{ + GetImplementation( *this ).SurfaceResized(); +} + Integration::RenderSurface* Scene::GetSurface() const { return GetImplementation(*this).GetSurface(); } +void Scene::Discard() +{ + GetImplementation(*this).Discard(); +} + Integration::Scene Scene::Get( Actor actor ) { return Dali::Integration::Scene( &GetImplementation( actor ).GetScene() ); @@ -154,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();